-
Notifications
You must be signed in to change notification settings - Fork 5.3k
Closed
Labels
questionFurther information is requestedFurther information is requested
Description
If there is not GPU,
MODEL_CONFIG = {
"loss": "mse",
'input_dim': 158,
'output_dim': 1,
'lr': 0.002,
'lr_decay': 0.96,
'lr_decay_steps': 100,
'optimizer': 'adam',
'max_steps': 8000,
'batch_size': 4096,
# 'GPU': '0',
}
73 def _check_driver():
74 if not hasattr(torch._C, '_cuda_isDriverSufficient'):
---> 75 raise AssertionError("Torch not compiled with CUDA enabled")
76 if not torch._C._cuda_isDriverSufficient():
77 if torch._C._cuda_getDriverVersion() == 0:
AssertionError: Torch not compiled with CUDA enabled
MODEL_CONFIG = {
"loss": "mse",
'input_dim': 158,
'output_dim': 1,
'lr': 0.002,
'lr_decay': 0.96,
'lr_decay_steps': 100,
'optimizer': 'adam',
'max_steps': 8000,
'batch_size': 4096,
'GPU': '0',
}
73 def _check_driver():
74 if not hasattr(torch._C, '_cuda_isDriverSufficient'):
---> 75 raise AssertionError("Torch not compiled with CUDA enabled")
76 if not torch._C._cuda_isDriverSufficient():
77 if torch._C._cuda_getDriverVersion() == 0:
AssertionError: Torch not compiled with CUDA enabled
Metadata
Metadata
Assignees
Labels
questionFurther information is requestedFurther information is requested