Skip to content

Commit

Permalink
fix(models): fix model build
Browse files Browse the repository at this point in the history
  • Loading branch information
RafalSkolasinski committed May 30, 2024
1 parent b96c1de commit 41d23ef
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 41d23ef

Please sign in to comment.