Custom Conda environments in MLServer
Define our environment
%%writefile environment.yml
name: old-sklearn
channels:
- conda-forge
dependencies:
- python == 3.8
- scikit-learn == 0.24.2
- joblib == 0.17.0
- requests
- pip
- pip:
- mlserver == 1.1.0
- mlserver-sklearn == 1.1.0Train model in our custom environment
Serialise our custom environment
Serving
Send test inference request
Last updated
Was this helpful?
