You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using the example for re-ranking, almost verbatim, as seen #632 (comment)
Weirdly, when device=webgpu, I see the same output for every inputted document (screenshot below).
Not setting device seems to work, but CPU performance makes it unusable even with the smallest quantized models (can't have the computer freeze for 10+ seconds for every ranking).
It might be notable that I'm successfully using webgpu in a feature-extraction pipeline in the same environment.
I'm a big fan of the transformers.js project and I'm looking forward to getting this working. I see a lot of opportunity for implementing the ranking models for various features. Thanks for your work on this valuable open-source contribution! 🌴
Reproduction
Using device=webgpu
When device is unset
The text was updated successfully, but these errors were encountered:
System Info
Windows
Electron/Chromium
Environment/Platform
Description
I'm using the example for re-ranking, almost verbatim, as seen #632 (comment)
Weirdly, when
device=webgpu
, I see the same output for every inputted document (screenshot below).Not setting
device
seems to work, but CPU performance makes it unusable even with the smallest quantized models (can't have the computer freeze for 10+ seconds for every ranking).It might be notable that I'm successfully using webgpu in a feature-extraction pipeline in the same environment.
I'm a big fan of the transformers.js project and I'm looking forward to getting this working. I see a lot of opportunity for implementing the ranking models for various features. Thanks for your work on this valuable open-source contribution! 🌴
Reproduction
Using
device=webgpu
When
device
is unsetThe text was updated successfully, but these errors were encountered: