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

ggml_init: Illegal instruction at address 0x<address> #44

Closed
maihd opened this issue Mar 21, 2023 · 2 comments · Fixed by #46
Closed

ggml_init: Illegal instruction at address 0x<address> #44

maihd opened this issue Mar 21, 2023 · 2 comments · Fixed by #46

Comments

@maihd
Copy link
Contributor

maihd commented Mar 21, 2023

When build tests/test0.c program, it's crashed when run on Windows compile with zig cc. Because in ggml_time_us() timer_freq are not inialized. I fixed by adding ggml_time_init().
Src: https://github.com/maihd/fun-with-zig/blob/main/ggml_bindings/src/main.zig

@ggerganov
Copy link
Owner

Would you like to open a PR with this change?

@maihd
Copy link
Contributor Author

maihd commented Mar 23, 2023

OK!

CCLDArjun pushed a commit to CCLDArjun/ggml that referenced this issue Dec 18, 2023
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

Successfully merging a pull request may close this issue.

2 participants