File tree 1 file changed +20
-3
lines changed
1 file changed +20
-3
lines changed Original file line number Diff line number Diff line change 37
37
cfg .IntOpt ('workers' ,
38
38
short = 'p' ,
39
39
default = 1 ,
40
+ deprecated_for_removal = True ,
40
41
help = """
41
- Specify the number of workers to spawn. If using a CPU you probably want to
42
- increase this number, if using a GPU probably you want to leave it to 1.
43
- (defaults to 1)
42
+ Specify the number of workers to spawn for prediction tasks. If using a CPU you
43
+ probably want to increase this number, if using a GPU probably you want to
44
+ leave it to 1. (defaults to 1)
45
+
46
+ This option is deprecated for removal, as DEEPaaS has switched to Dask to
47
+ manage the execution of background tasks. Please check the documentation
48
+ for the 'dask-config' option for more details.
49
+ """ ),
50
+ cfg .IntOpt ('train-workers' ,
51
+ default = 1 ,
52
+ deprecated_for_removal = True ,
53
+ help = """
54
+ Specify the number of workers to spawn for training tasks. Unless you know what
55
+ you are doing you should leave this number to 1. (defaults to 1)
56
+
57
+ This option is deprecated for removal, as DEEPaaS has switched to Dask to
58
+ manage the execution of background tasks. Please check the documentation
59
+ for the 'dask-config' option for more details.
60
+ >>>>>>> 68dcd2d (dask: deprecate old worker options)
44
61
""" ),
45
62
cfg .StrOpt ('dask-config' ,
46
63
default = None ,
You can’t perform that action at this time.
0 commit comments