@huggingface/transformers 3.0.0-alpha.2 → 3.0.0-alpha.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3912,10 +3912,7 @@ if (ONNX_ENV?.wasm) {
3912
3912
  // https://onnxruntime.ai/docs/api/js/interfaces/Env.WebAssemblyFlags.html#wasmPaths
3913
3913
  // We use remote wasm files by default to make it easier for newer users.
3914
3914
  // In practice, users should probably self-host the necessary .wasm files.
3915
- // ONNX_ENV.wasm.wasmPaths = 'https://cdn.jsdelivr.net/npm/onnxruntime-web@1.19.0-dev.20240804-ee2fe87e2d/dist/';
3916
- // console.log(apis.IS_FS_AVAILABLE);
3917
- console.log(_env_js__WEBPACK_IMPORTED_MODULE_0__.apis);
3918
- console.log(import.meta.env);
3915
+ ONNX_ENV.wasm.wasmPaths = `https://cdn.jsdelivr.net/npm/@huggingface/transformers@${_env_js__WEBPACK_IMPORTED_MODULE_0__.env.version}/dist/`;
3919
3916
 
3920
3917
  // TODO: Add support for loading WASM files from cached buffer when we upgrade to onnxruntime-web@1.19.0
3921
3918
  // https://github.com/microsoft/onnxruntime/pull/21534
@@ -4377,7 +4374,7 @@ __webpack_require__.r(__webpack_exports__);
4377
4374
 
4378
4375
 
4379
4376
 
4380
- const VERSION = '3.0.0-alpha.0';
4377
+ const VERSION = '3.0.0-alpha.4';
4381
4378
 
4382
4379
  // Check if various APIs are available (depends on environment)
4383
4380
  const IS_BROWSER_ENV = typeof self !== 'undefined';