We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Transformers.js V3 Alpha 19
Mac OS Brave browser
The creation of a translation pipeline in a worker never resolves under Alpha 19.
Reverting to an earlier version solves the issue.
import { pipeline, env } from './tjs/transformers.min.js'; env.allowLocalModels = false; env.allowRemoteModels = true; env.useBrowserCache = true; env.backends.onnx.wasm.simd = true; pipeline( 'translation', 'Xenova/opus-mt-en-nl', { progress_callback: progressCallback, device: 'webgpu', } ) .then((pipe) => { console.log("TRANSLATION WORKER: MADE PIPE"); // this never happens under the latest version }) .catch((err) => { console.error("TRANSLATION WORKER: caught pipeline_construction error. err: ", err); })
The text was updated successfully, but these errors were encountered:
No branches or pull requests
System Info
Transformers.js V3 Alpha 19
Mac OS
Brave browser
Environment/Platform
Description
The creation of a translation pipeline in a worker never resolves under Alpha 19.
Reverting to an earlier version solves the issue.
Reproduction
The text was updated successfully, but these errors were encountered: