-
-
Notifications
You must be signed in to change notification settings - Fork 620
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: improve how device switch is handled between the metric device and the input tensors device #3043
Commits on Aug 23, 2023
-
refactor: remove outdated code and issue a warning if two tensors are…
… on separate devices.
Configuration menu - View commit details
-
Copy full SHA for 750a6ca - Browse repository at this point
Copy the full SHA 750a6caView commit details
Commits on Aug 24, 2023
-
feat: prioritize computation on GPU devices over CPUs
If either one of the metric device or the update input device is a GPU, this commit will put the other one on GPU.
Configuration menu - View commit details
-
Copy full SHA for 78a4c78 - Browse repository at this point
Copy the full SHA 78a4c78View commit details -
fix: use a temp var that will be moved with y_pred
The comparison with self._device was not possible because it can be created with `torch.device("cuda")` which is not equal to `torch.device("cuda:0")` which is the device of a tensor created with `torch.device("cuda")`. This change will have a bigger performance hit when self._kernel is not on the same device as y_pred as it will need to be moved onto y_pred's device every time update() is called.
Configuration menu - View commit details
-
Copy full SHA for 85eebd5 - Browse repository at this point
Copy the full SHA 85eebd5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9125e60 - Browse repository at this point
Copy the full SHA 9125e60View commit details -
feat: move self._kernel directly and issue a warning only when not al…
…l y_pred tensors are on the same device
Configuration menu - View commit details
-
Copy full SHA for a4c2f7c - Browse repository at this point
Copy the full SHA a4c2f7cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1908fff - Browse repository at this point
Copy the full SHA 1908fffView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2547e70 - Browse repository at this point
Copy the full SHA 2547e70View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3269955 - Browse repository at this point
Copy the full SHA 3269955View commit details -
Configuration menu - View commit details
-
Copy full SHA for 04af090 - Browse repository at this point
Copy the full SHA 04af090View commit details
Commits on Aug 25, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 7922ec9 - Browse repository at this point
Copy the full SHA 7922ec9View commit details -
Configuration menu - View commit details
-
Copy full SHA for b0625e4 - Browse repository at this point
Copy the full SHA b0625e4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6817316 - Browse repository at this point
Copy the full SHA 6817316View commit details -
Configuration menu - View commit details
-
Copy full SHA for d2aa8c8 - Browse repository at this point
Copy the full SHA d2aa8c8View commit details -
Configuration menu - View commit details
-
Copy full SHA for c6bf8f8 - Browse repository at this point
Copy the full SHA c6bf8f8View commit details -
Configuration menu - View commit details
-
Copy full SHA for f6f82fe - Browse repository at this point
Copy the full SHA f6f82feView commit details -
Configuration menu - View commit details
-
Copy full SHA for 99c3469 - Browse repository at this point
Copy the full SHA 99c3469View commit details -
refactor: elif comparison and replace RuntimeWarning by UserWarning
Co-authored-by: vfdev <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for eba6f68 - Browse repository at this point
Copy the full SHA eba6f68View commit details -
Configuration menu - View commit details
-
Copy full SHA for 91ae235 - Browse repository at this point
Copy the full SHA 91ae235View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7284b01 - Browse repository at this point
Copy the full SHA 7284b01View commit details -
Configuration menu - View commit details
-
Copy full SHA for d96255c - Browse repository at this point
Copy the full SHA d96255cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2807f28 - Browse repository at this point
Copy the full SHA 2807f28View commit details -
Configuration menu - View commit details
-
Copy full SHA for 526234c - Browse repository at this point
Copy the full SHA 526234cView commit details -
Configuration menu - View commit details
-
Copy full SHA for b6f1a21 - Browse repository at this point
Copy the full SHA b6f1a21View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0a38aa5 - Browse repository at this point
Copy the full SHA 0a38aa5View commit details