Yulong Wang

Results 218 comments of Yulong Wang

Could you please try this branch: https://github.com/fs-eire/transformers.js-examples/tree/investigate-issue-1242 It works on both of my windows and mac but I didn't reproduce the memory issue on both.

> That indeed fixes the issue [@fs-eire](https://github.com/fs-eire) . Thanks! Thank you for the test. Which option fixes the issue, A or B?

> I confirm that case A works fine on ipadOs 18.3.2. I applied the fix using ort zip files, following these instructions: > > import { env } from "@huggingface/transformers";...

> Since Ipados v18.4, the bug is fixed at leat for now [See bug webkit report](https://bugs.webkit.org/show_bug.cgi?id=284752), using transformers.js v3.5.1 Thank you for the information! It’s still unknown whether the original...

thank you for the confirmation. so it looks like the root cause is fixed in iOS 18.4 Before Safari released with Webgpu support by default, we can keep the workaround.

I believe that [this PR](https://github.com/huggingface/transformers.js/pull/1161) should fix the issue. If you can do a local build, please help to check if the fix works to you. The change is planned...

could you share me a repo so that I can try to debug

I checked the repo and I can reproduce the issue. Here are some results of my investigations: - The dependency chain is kokorojs-extension > kokorojs > transformerjs > onnxruntime-web -...

> [@fs-eire](https://github.com/fs-eire) [@xenova](https://github.com/xenova) Going back to the working example you mentioned, I guessed it's this [extension example](https://github.com/huggingface/transformers.js/tree/main/examples/extension). > > This example is outdated, and does not work correctly with new...

@grolox69 @xenova I created #1213 to fix the [extension example](https://github.com/huggingface/transformers.js/tree/main/examples/extension)