Skip to content

Commit

Permalink
fix(models): fix model build (#5653)
Browse files Browse the repository at this point in the history
  • Loading branch information
RafalSkolasinski authored and gsunner committed Jun 3, 2024
1 parent dff70bd commit a3d4359
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion servers/mlflowserver/models/elasticnet_wine/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ collect:
find ./mlruns -name "MLmodel" -type f -exec cp {} ./output \;
find ./mlruns -name "conda.yaml" -type f -exec cp {} ./output \;
find ./mlruns -name "model.pkl" -type f -exec cp {} ./output \;
conda env create --force -p ./.inference-env -f ./output/conda.yaml
rm -rf ./.inference-env && mkdir -p ./.inference-env
conda env create -p ./.inference-env -f ./output/conda.yaml
./.inference-env/bin/pip install mlserver[all] mlserver-mlflow
./.env/bin/conda-pack -p ./.inference-env -f -o output/environment.tar.gz

Expand Down

0 comments on commit a3d4359

Please sign in to comment.