Skip to content
New issue

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

v3 fails on Cloudflare Workers due to Webpack publicPath missing #926

Open
2 of 5 tasks
vtempest opened this issue Sep 10, 2024 · 0 comments
Open
2 of 5 tasks

v3 fails on Cloudflare Workers due to Webpack publicPath missing #926

vtempest opened this issue Sep 10, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@vtempest
Copy link

vtempest commented Sep 10, 2024

System Info

Automatic publicPath is not supported in this browser

https://stackoverflow.com/questions/68115467/error-automatic-publicpath-is-not-supported-in-this-browser-when-i-am-running-m
Just add: output: {
publicPath: '',
...
},

"@huggingface/transformers": "^3.0.0-alpha.14",

Environment/Platform

  • Website/web-app
  • Browser extension
  • Server-side (e.g., Node.js, Deno, Bun)
  • Desktop app (e.g., Electron)
  • Other (e.g., VSCode extension)

Description

Automatic publicPath is not supported in this browser

Reproduction

import { pipeline } from "@huggingface/transformers/" in cfw

https://developers.cloudflare.com/workers/wrangler/migration/v1-to-v2/wrangler-legacy/webpack/#example-with-webpack-plugin

@vtempest vtempest added the bug Something isn't working label Sep 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant