Skip to content

Fix conversion between F64 and F32 #726

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

stduhpf
Copy link
Contributor

@stduhpf stduhpf commented Jul 8, 2025

Partially adresses #681 (comment)

Quantization/dequantization between F64 and F32 wasn't being handled properly, this was causing some issues.

F64 support in most GGML backends isn't really complete right now, so models using F64 weights can still make the program crash during inference. At least it's possible to convert F64 models to F32 with these changes.

@stduhpf stduhpf marked this pull request as draft July 8, 2025 20:01
@stduhpf stduhpf marked this pull request as ready for review July 8, 2025 21:56
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 this pull request may close these issues.

1 participant