Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
B
Base Worker
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Workers
Base Worker
Merge requests
!471
Update model_usage to an enum
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Update model_usage to an enum
enum-for-model_usage
into
master
Overview
2
Commits
2
Pipelines
3
Changes
2
All threads resolved!
Hide all comments
Merged
Manon Blanco
requested to merge
enum-for-model_usage
into
master
1 year ago
Overview
2
Commits
2
Pipelines
3
Changes
2
All threads resolved!
Hide all comments
Expand
Closes
#260 (closed)
0
0
Merge request reports
Viewing commit
eb065229
Prev
Next
Show latest version
2 files
+
12
−
3
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
2
Search (e.g. *.vue) (Ctrl+P)
eb065229
Update model_usage to an enum
· eb065229
Manon Blanco
authored
1 year ago
docs/contents/workers/yaml.md
+
10
−
1
Options
@@ -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