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

'compute index ranges weights" not implemented for "Half #114

Open
thefirstLeonliao opened this issue Sep 21, 2024 · 4 comments
Open

'compute index ranges weights" not implemented for "Half #114

thefirstLeonliao opened this issue Sep 21, 2024 · 4 comments

Comments

@thefirstLeonliao
Copy link

No description provided.

@thefirstLeonliao thefirstLeonliao changed the title "compute_index_ranges_ weights" not imple! 显示报告 nted for "Half 'compute index ranges weights" not implemented for "Half Sep 21, 2024
@elsung
Copy link

elsung commented Oct 19, 2024

I have the same issue with my mac m2 ultra! basically this wrapper doesnt work at all with MacOS / MPS. i've tried the solution that some others have posted saying to run it in fp32, that also breaks. PC users can sorta make this work with 1 24GB GPU, but Mac users could really use some guidance here given the much higher upperlimit for the ram on macs.

details:

when running at fp16
it wont even render any frames, and we get the error listed in this issue:
"compute_index_ranges_weights" not implemented for 'Half'

If running at fp32
it will render all of the frames in the toonCrafter Interpolation node, but we get an error as it finishes and it says:
Assertion failed: (0 <= mpsAxis && mpsAxis < 4 && "Runtime canonicalization must simplify reduction axes to minor 4 dimensions."), function getKernelAxes, file GPUReductionOps.mm, line 31.

Note: i tested on python 3.12.2 and also 3.12.0, neither works. also am running the nightly-cpu build of torch
pip install --pre torch torchvision torchaudio --index-url https://download.pytorch.org/whl/nightly/cpu

also had tried to roll back for torch like some people have said to do, but got the same results as above.

@jdavid82
Copy link

same problem :( M4 Pro chip with 24GB unified memory

@rohitsainier
Copy link

same here

@dangarfield
Copy link

Any solutions for this? M4 mac here

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

No branches or pull requests

5 participants