Skip to content
Snippets Groups Projects

Update model_usage to an enum

Merged Manon Blanco requested to merge enum-for-model_usage into master
All threads resolved!
2 files
+ 12
3
Compare changes
  • Side-by-side
  • Inline
Files
2
@@ -80,7 +80,16 @@ include:
: This worker does not support GPUs. It may run on a host that has a GPU, but it will ignore it.
`model_usage`
: Boolean. Whether or not this worker requires a model version to run. Defaults to `false`.
: Whether or not this worker requires a model version to run. Defaults to `disabled`. May take one of the following values:
`required`
: This worker requires a model version, and will only be run on processes whose model is defined.
`supported`
: This worker supports a model version, but may run on any processes, including those without model.
`disabled`
: This worker does not support model version. It may run on processe that has a model, but it will ignore it.
`docker`
: Regroups Docker-related configuration attributes:
Loading