Skip to content

Commit

Permalink
Remove references to --extra-index-url in MII repo (#421)
Browse files Browse the repository at this point in the history
  • Loading branch information
loadams authored Feb 26, 2024
1 parent 8036370 commit 6062c89
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion mii/aml_related/templates.py
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,8 @@
CONDA_DEFAULT_ENV=amlenv \
PATH=$PATH:/usr/local/cuda/bin
RUN /opt/miniconda/envs/amlenv/bin/pip install -r "$BUILD_DIR/requirements.txt" --extra-index-url https://download.pytorch.org/whl/cu113 && \
RUN /opt/miniconda/envs/amlenv/bin/pip install torch torchvision --index-url https://download.pytorch.org/whl/cu113 && \
/opt/miniconda/envs/amlenv/bin/pip install -r "$BUILD_DIR/requirements.txt" && \
/opt/miniconda/envs/amlenv/bin/pip install azureml-inference-server-http && \
/opt/miniconda/envs/amlenv/bin/pip install git+https://github.com/microsoft/DeepSpeed.git && \
/opt/miniconda/envs/amlenv/bin/pip install git+https://github.com/microsoft/DeepSpeed-MII.git && \
Expand Down
3 changes: 2 additions & 1 deletion mii/legacy/aml_related/templates.py
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,8 @@
CONDA_DEFAULT_ENV=amlenv \
PATH=$PATH:/usr/local/cuda/bin
RUN /opt/miniconda/envs/amlenv/bin/pip install -r "$BUILD_DIR/requirements.txt" --extra-index-url https://download.pytorch.org/whl/cu113 && \
RUN /opt/miniconda/envs/amlenv/bin/pip install torch torchvision --index-url https://download.pytorch.org/whl/cu113 && \
/opt/miniconda/envs/amlenv/bin/pip install -r "$BUILD_DIR/requirements.txt" && \
/opt/miniconda/envs/amlenv/bin/pip install azureml-inference-server-http && \
/opt/miniconda/envs/amlenv/bin/pip install git+https://github.com/microsoft/DeepSpeed.git && \
/opt/miniconda/envs/amlenv/bin/pip install git+https://github.com/microsoft/DeepSpeed-MII.git && \
Expand Down

0 comments on commit 6062c89

Please sign in to comment.