Open gabrielemidulla opened 6 months ago
Hi. It's because with node.js it runs on CPU and it does not support these operations. There's a version with cpu-only ops, const pipe = DiffusionPipeline.fromPretrained('aislamov/stable-diffusion-2-1-base-onnx', { revision: 'cpu' });
I'm waiting for ONNX team to publish my changes where you can use DirectML or CUDA with node.js