Spaces:
Running
on
L40S
Running
on
L40S
RunTimeError with latest diffusers==0.31.0
#5
by
Clement
- opened
thanks for this space
too bad the dependencies are not pinned though, as I'm getting:
File "/root/.pyenv/versions/3.12.6/lib/python3.12/site-packages/diffusers/models/embeddings.py", line 680, in apply_rotary_emb
out = (x.float() * cos + x_rotated.float() * sin).to(x.dtype)
RuntimeError: The size of tensor a (128) must match the size of tensor b (2) at non-singleton dimension 6
This error happens with diffusers==0.31.0, while this space uses diffusers==0.30.3
Any idea how make it work under diffusers==0.31.0 ?
thks
Clement
changed discussion title from
RunTimeError
to RunTimeError with latest diffusers==0.31.0
This comment has been hidden
How do you view the dependent version of this space