Skip to content

Fix MPS RoPE float64 conversions#2013

Open
SimoneMariaRomeo wants to merge 1 commit into
kijai:mainfrom
SimoneMariaRomeo:fix/mps-rope-float32
Open

Fix MPS RoPE float64 conversions#2013
SimoneMariaRomeo wants to merge 1 commit into
kijai:mainfrom
SimoneMariaRomeo:fix/mps-rope-float32

Conversation

@SimoneMariaRomeo

Copy link
Copy Markdown

Summary

  • avoid converting RoPE tensors to float64 on MPS, using float32/complex64 there instead
  • keep the existing float64/complex128 path on non-MPS devices
  • apply the same MPS-safe dtype matching to EchoShot RoPE helpers used by WanVideo paths

Validation

  • python -m py_compile wanvideo/modules/model.py echoshot/echoshot.py
  • git diff --check

I do not have local Apple MPS hardware in this environment, so this is a targeted fix for the exact MPS float64 conversion error reported in #563 rather than a full Mac runtime validation.

Addresses #563

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.

1 participant