automl / automl/ConfigurableOptimizer
Raise Error when user opts for DDP on a system without CUDA
Open
- Dominant language
- Python
- Stars
- 12
- Forks
- 2
- PR merge metrics
- No merged PRs in 30d
Description
Currently, if the user sets `use_data_parallel=True` in `ConfigurableTrainer` on a machine without a GPU, the code simply crashes (as is expected). But the error message is misleading. Handle this with an assertion with a clear message.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by locating ConfigurableTrainer and the handling of use_data_parallel=True. Reproduce the current behavior on a machine without CUDA, then verify that the assertion reports clearly why DDP cannot be used; done means the misleading crash is replaced by that assertion.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- machine-learning
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 50/100