Skip to content

Commit

Permalink
Merge pull request #192 from rapidsai/migrate_rapids_hpo_azureml
Browse files Browse the repository at this point in the history
Migrate azure/notebooks/HPO-RAPIDS.ipynb to deployment
  • Loading branch information
skirui-source authored Jul 17, 2023
2 parents d62ad7d + 3983602 commit 4062b76
Show file tree
Hide file tree
Showing 6 changed files with 1,299 additions and 1 deletion.
2 changes: 1 addition & 1 deletion extensions/rapids_notebook_files.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def walk_files(app, dir, outdir):
with open(str(outdir / page.name), "w") as writer:
writer.write(
re.sub(
r"\{\{.*?\}\}",
r"(?<!\$)\{\{.*?\}\}",
partial(template_func, app),
notebook,
)
Expand Down
1 change: 1 addition & 0 deletions source/examples/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,5 @@ rapids-sagemaker-hpo/notebook
rapids-ec2-mnmg/notebook
rapids-autoscaling-multi-tenant-kubernetes/notebook
xgboost-randomforest-gpu-hpo-dask/notebook
rapids-azureml-hpo/notebook
```
10 changes: 10 additions & 0 deletions source/examples/rapids-azureml-hpo/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# Use rapids base image v23.02 with the necessary dependencies
FROM rapidsai/rapidsai:23.02-cuda11.8-runtime-ubuntu22.04-py3.10

# Update package information and install required packages
RUN apt-get update && \
apt-get install -y --no-install-recommends build-essential fuse && \
rm -rf /var/lib/apt/lists/*

# Activate rapids conda environment
RUN /bin/bash -c "source activate rapids && pip install azureml-mlflow azureml-dataprep"
Loading

0 comments on commit 4062b76

Please sign in to comment.