Skip to content

Conversation

@maximpavliv
Copy link
Contributor

In Pull Request #2764, I accidentaly introduced a bug:
gpus key may not be present in run_config, and it crashed when trying to get the corresponding value like this.
Using .get() instead of [] synthax returns Null when the key is not defined, instead of crashing.

@maximpavliv maximpavliv requested a review from n-poulsen October 31, 2024 17:52
@n-poulsen n-poulsen merged commit 17d7205 into pytorch_dlc Nov 1, 2024
@n-poulsen n-poulsen deleted the maxim/bugfix branch November 1, 2024 08:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants