Skip to content

Fix/issue 1198 value error invalid type torch.mps.float tensor #1199

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

Conversation

Farbdrucker
Copy link
Contributor

@Farbdrucker Farbdrucker commented Jul 22, 2025

Merge request related the the issue 1198

Fixes #1198

Copy link
Collaborator

@qubvel qubvel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the fix!

Copy link

codecov bot commented Jul 22, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Files with missing lines Coverage Δ
segmentation_models_pytorch/__version__.py 100.00% <100.00%> (ø)
segmentation_models_pytorch/losses/_functional.py 60.33% <100.00%> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@qubvel qubvel merged commit c8f4a72 into qubvel-org:main Jul 22, 2025
17 checks passed
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.

ValueError: invalid type: 'torch.mps.FloatTensor'
2 participants