Skip to content

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
@leejet
Copy link
Owner

leejet commented Jul 23, 2025

Thank you for your contribution. But I think it would be better to convert f64 to f32 and i64 to i32 directly when loading from file. You can check out my latest commit.

@leejet leejet closed this Sep 1, 2025
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.

2 participants