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

Error on MacOS #7

Closed
rpruizc opened this issue Apr 21, 2023 · 2 comments
Closed

Error on MacOS #7

rpruizc opened this issue Apr 21, 2023 · 2 comments

Comments

@rpruizc
Copy link

rpruizc commented Apr 21, 2023

After cloning the repo and enabling WebGPU in my canary chrome 114, when I tried to load either of the models, I get a console error:

Loading model from folder: gpt2

VM16:1 Uncaught (in promise) SyntaxError: Unexpected token 'v', "version ht"... is not valid JSON

await (async)
onclick @ (index):18`

This, when run in an M1 MacOS 13.3 MacBook pro

Any ideas? Thanks!

@felladrin
Copy link
Contributor

You need to install Git LFS (brew install git-lfs) and then run git lfs install && git lfs pull in the folder where you cloned this repository. This will start the download of the files from models folder.

After it finishes downloading them, it should work fine through a local server:
image

@rpruizc
Copy link
Author

rpruizc commented Apr 22, 2023

Thank you! That solved it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants