Skip to content

Commit

Permalink
Force pyfunc server to use mlflow 1.6.0 (#172)
Browse files Browse the repository at this point in the history
  • Loading branch information
aria authored Aug 27, 2021
1 parent bbbcf02 commit d4f9531
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions python/pyfunc-server/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ RUN conda env create -f ./environment.yaml && \

RUN gsutil cp -r ${MODEL_URL} .
RUN /bin/bash -c ". activate merlin-model && \
sed -i 's/mlflow$/mlflow==1.6.0/' /model/conda.yaml && \
conda env update --name merlin-model --file /model/conda.yaml && \
python -m pyfuncserver --model_dir /model --dry_run"

Expand Down
1 change: 1 addition & 0 deletions python/pyfunc-server/local.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ RUN conda env create -f ./environment.yaml && \
rm -rf /root/.cache

RUN /bin/bash -c ". activate merlin-model && \
sed -i 's/mlflow$/mlflow==1.6.0/' /model/conda.yaml && \
conda env update --name merlin-model --file /model/conda.yaml && \
python -m pyfuncserver --model_dir /model --dry_run"

Expand Down

0 comments on commit d4f9531

Please sign in to comment.