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

Behaviour Mismatch between ggml_opt in Native Program and WASM #807

Open
saraalrawi opened this issue Apr 29, 2024 · 0 comments
Open

Behaviour Mismatch between ggml_opt in Native Program and WASM #807

saraalrawi opened this issue Apr 29, 2024 · 0 comments

Comments

@saraalrawi
Copy link

saraalrawi commented Apr 29, 2024

In my implementation, I try to optimize a model using Adam optimizer. Namely, GGML_OPT_TYPE_ADAM when the grads differ when the code runs as a native program than the code compiled to WASM using Emscripten.

The forward pass is similar, but the grads are not equal.

Could you please look at this issue? I would appreciate it if any contributor has a similar issue and can share his experience.

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

1 participant