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

Strange behavior #4

Open
sanchezcarlosjr opened this issue Apr 21, 2023 · 11 comments
Open

Strange behavior #4

sanchezcarlosjr opened this issue Apr 21, 2023 · 11 comments

Comments

@sanchezcarlosjr
Copy link

Hello @0hq,
I think the below results are not the expected behavior.

Shakespeare Model.


GPT2 Model.

Environment

Arch Linux
Chrome Canary Version 114.0.5720.4 (Official Build) dev (64-bit)
Vulkan
google-chrome-unstable --enable-features=Vulkan

@Heath123
Copy link

I get that too

@0hq
Copy link
Owner

0hq commented Apr 21, 2023

Strange, I'll investigate.

Any chance you can retry on the latest version + note any errors that occur in the console?

@felladrin
Copy link
Contributor

I get that too

@Heath123, please also share your OS and Chrome Version used.
The problem may be only on Chrome for Linux.

@sanchezcarlosjr
Copy link
Author

The error that I got is not related to your model.

image
The Chrome log was
image

I tried to use the local version but it doesn't work either with the last version.
image

@felladrin
Copy link
Contributor

I tried to use the local version but it doesn't work either with the last version.

About running locally, this is a different issue, related to Git LFS. To get it running, please check this answer on #7.

After you get it running locally and start tweaking the values in index.html, it will for sure help finding the issue.

@Heath123
Copy link

Heath123 commented Apr 22, 2023

I get that too

@Heath123, please also share your OS and Chrome Version used. The problem may be only on Chrome for Linux.

Arch Linux and Chromium 112.0.5615.121

@sanchezcarlosjr
Copy link
Author

sanchezcarlosjr commented Apr 22, 2023

I got the same locally.
image
image

I've tested them with the last commit (50d5487).

@0hq
Copy link
Owner

0hq commented May 1, 2023

I think this might be a problem with the Linux version of Chrome Canary. Do you mind testing on the newest version just for confirmation?

@sanchezcarlosjr
Copy link
Author

Different behavior, but it keeps strange. I've updated the Chrome Canary before.

image

image

*I've run the models on Windows and they work.

@0hq
Copy link
Owner

0hq commented May 3, 2023

Oh interesting seems like a Linux implementation bug.

@dcerisano
Copy link

dcerisano commented Jul 5, 2023

Same problem. I run the following command line and then open the index.html file.

$ google-chrome --allow-file-access-from-files --enable-features=Vulkan,UseSkiaRenderer --enable-unsafe-webgpu &

The following errors are reported to the shell when I select a model:
Warning: remove_all_non_valid_override_layers: Failed to get executable path and name
Warning: loader_get_json: Failed to open JSON file lvp_icd.x86_64.json
Error: VK_SUCCESS
Error: eglChooseConfig returned zero configs at Create (../../third_party/dawn/src/dawn/native/opengl/ContextEGL.cpp:53)

In the javascript console, there is one warning:

Warning: Buffer size calc result exceeds GPU limit, are you using this value for a tensor size? 50257 768 1 154389504

Looks like an error in Dawn. Is it possible that Chrome on Linux needs a custom config?

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

5 participants