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

gelu example wgpu segfault #77

Open
wbrickner opened this issue Aug 19, 2024 · 1 comment
Open

gelu example wgpu segfault #77

wbrickner opened this issue Aug 19, 2024 · 1 comment

Comments

@wbrickner
Copy link

The gelu example segfaults with the wgpu backend, but only some of the time (about 20%).

The result always prints, then the segfault occurs:

Executed gelu with runtime "wgpu" => [-0.15865529, 0.0, 0.8413447, 4.9999986]
Segmentation fault (core dumped)

The segfault occurs in the [vkps] Update thread. That's all I know.

I can't view the call stack of this thread and the other threads are in boilerplate rust symbols or some futex/pthread lock symbols.

@nathanielsimard
Copy link
Member

I can't reproduce it. I think we would need a bit more info to spot the potential bug 😅

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

2 participants