-
Notifications
You must be signed in to change notification settings - Fork 1k
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
I think I'm doing something silly here, but setting env.backends.onnx.wasm.proxy = true makes this produce NaNs:
let { pipeline, env } = await import('https://cdn.jsdelivr.net/npm/@xenova/[email protected]');
env.allowLocalModels = false;
// env.backends.onnx.wasm.proxy = true; // uncomment this line to produce NaNs
let extractor = await pipeline('feature-extraction', 'Xenova/bge-base-en-v1.5');
let result = await extractor("test 123", { pooling: 'mean', normalize: true });
console.log(result.data);I thought maybe it was a 2.8.0 regression, but I tried all versions back to 2.5.4 and it's didn't work in any of them, so that makes me lean toward assuming that I'm doing something wrong. If that's the case, then an informative error message would be helpful :)
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working