Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add llama acs notebook #2430

Merged
merged 26 commits into from
Jul 11, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
FROM mcr.microsoft.com/azureml/openmpi4.1.0-ubuntu20.04:20230620.v1

ENV CONDA_ENVIRONMENT_PATH /azureml-envs/llama

# Prepend path to AzureML conda environment
ENV PATH $CONDA_ENVIRONMENT_PATH/bin:$PATH

# Create conda environment
COPY conda_dependencies.yaml .
RUN conda env create -p $CONDA_ENVIRONMENT_PATH -f conda_dependencies.yaml -q && \
rm conda_dependencies.yaml && \
conda run -p $CONDA_ENVIRONMENT_PATH pip cache purge && \
conda clean -a -y

RUN pip freeze

# This is needed for mpi to locate libpython
ENV LD_LIBRARY_PATH $CONDA_ENVIRONMENT_PATH/lib:$LD_LIBRARY_PATH
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
channels:
- conda-forge
dependencies:
- python=3.8.16
- pip<=23.1.2
- pip:
- mlflow<3,>=2.3
- azureml-evaluate-mlflow==0.0.18.post1
- cloudpickle==2.2.1
- torch==2.0.1
- transformers==4.30.1
- azure-ai-contentsafety==1.0.0b1
- azureml-inference-server-http~=0.8.0
- xformers==0.0.20
- aiolimiter==1.1.0
- azure-ai-mlmonitoring==0.1.0a3
name: mlflow-env
Loading