Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
tomotools
Nabu
Commits
e3e599cc
Commit
e3e599cc
authored
May 11, 2021
by
Pierre Paleo
Browse files
nabu_config: Set 'gpus' and 'gpu_id' as supported params
parent
78c82e25
Changes
1
Hide whitespace changes
Inline
Side-by-side
nabu/resources/nabu_config.py
View file @
e3e599cc
...
...
@@ -406,13 +406,13 @@ nabu_config = {
"default"
:
"1"
,
"help"
:
"Number of GPUs to use."
,
"validator"
:
nonnegative_integer_validator
,
"type"
:
"
unsupport
ed"
,
"type"
:
"
advanc
ed"
,
},
"gpu_id"
:
{
"default"
:
""
,
"help"
:
"For method = local only. List of GPU IDs to use. This parameter overwrites 'gpus'.
\n
If left blank, exactly one GPU will be used, and the best one will be picked."
,
"validator"
:
list_of_int_validator
,
"type"
:
"
unsupport
ed"
,
"type"
:
"
advanc
ed"
,
},
"cpu_workers"
:
{
"default"
:
"0"
,
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment