Skip to content

Commit

Permalink
Disable auto-loading of models in MLServer at start-up via env vars (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
agrski authored Mar 18, 2022
1 parent 5be716e commit f786420
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions operator/config/serverconfigs/mlserver.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,8 @@ spec:
value: "/mnt/agent/models"
- name: MLSERVER_MODEL_PARALLEL_WORKERS
value: "1"
- name: MLSERVER_LOAD_MODELS_AT_STARTUP
value: "false"
resources:
requests:
cpu: '0.1'
Expand Down
2 changes: 2 additions & 0 deletions scheduler/k8s/mlserver/mlserver.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,8 @@ spec:
value: "/mnt/agent/models"
- name: MLSERVER_MODEL_PARALLEL_WORKERS
value: "1"
- name: MLSERVER_LOAD_MODELS_AT_STARTUP
value: "false"
resources:
requests:
cpu: '0.1'
Expand Down

0 comments on commit f786420

Please sign in to comment.