Skip to content
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

Update metrics_device to use cpu when running on mps #691

Merged
merged 1 commit into from
Oct 18, 2024

Conversation

nkaenzig
Copy link
Collaborator

We found compatibility issues, particularly when calculating the segmentation metrics (e.g. GeneralizedDice) on mps (yields invalid / out of range or even negative numbers). This issue doesn't occur when running on cuda or cpu.

@nkaenzig nkaenzig self-assigned this Oct 18, 2024
@nkaenzig nkaenzig marked this pull request as ready for review October 18, 2024 12:44
@nkaenzig nkaenzig enabled auto-merge (squash) October 18, 2024 12:47
@nkaenzig nkaenzig merged commit fb4f788 into main Oct 18, 2024
6 checks passed
@nkaenzig nkaenzig deleted the update-metrics-device branch October 18, 2024 13:08
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.

2 participants