transformers.js icon indicating copy to clipboard operation
transformers.js copied to clipboard

Can GPU acceleration be used when using this library in a node.js environment?

Open SchneeHertz opened this issue 1 year ago • 2 comments

Question

Hello, I have looked into the GPU support related issue, but all mentioned content is related to webGPU. May I ask if GPU acceleration in the node.js environment is already supported? Refer: https://github.com/microsoft/onnxruntime/tree/main/js/node

SchneeHertz avatar Feb 07 '24 03:02 SchneeHertz

Adding another vote for this! I use transformers.js in an Electron app which does depth estimation and would love to have GPU acceleration in it.

jparismorgan avatar Mar 05 '24 22:03 jparismorgan

+1 error: Unsupported device: "gpu". Should be one of: cpu.

fax1ty avatar Apr 16 '24 17:04 fax1ty