We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Randomly noticed that ggml_set_f32's signature is
ggml_set_f32
struct ggml_tensor * ggml_set_f32(struct ggml_tensor * tensor, float value);
and it forwards the value without explicit conversion to
value
inline static void ggml_vec_set_f16(const int n, ggml_fp16_t * x, const int32_t v);
This doesn't feel right given the existence of GGML_FP32_TO_FP16?
The text was updated successfully, but these errors were encountered:
Good catch - it's a bug
Sorry, something went wrong.
Fix for ggerganov#329
5be7e56
`ggml_set_i32`/`ggml_set_f32` are in line with `ggml_set_i32_1d`/`ggml_set_f32_1d` then.
No branches or pull requests
Randomly noticed that
ggml_set_f32
's signature isand it forwards the
value
without explicit conversion toThis doesn't feel right given the existence of GGML_FP32_TO_FP16?
The text was updated successfully, but these errors were encountered: