Skip to content

Commit

Permalink
fix: nvidia arg (#234)
Browse files Browse the repository at this point in the history
Signed-off-by: Amadeusz Szymko <[email protected]>
  • Loading branch information
amadeuszsz authored May 15, 2023
1 parent f6d8918 commit 2b8d5ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rocker/nvidia_extension.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ def register_arguments(parser, defaults={}):
choices=['auto', 'runtime', 'gpus'],
nargs='?',
const='auto',
default=defaults.get(Nvidia.get_name(), 'auto'),
default=defaults.get(Nvidia.get_name(), None),
help="Enable nvidia. Default behavior is to pick flag based on docker version.")

class Cuda(RockerExtension):
Expand Down

0 comments on commit 2b8d5ab

Please sign in to comment.