half-rs icon indicating copy to clipboard operation
half-rs copied to clipboard

Half-precision floating point types f16 and bf16 for Rust.

Results 22 half-rs issues
Sort by recently updated
recently updated
newest added

F16C hardware intrinsics still not stabilized, just needs stabilization PR https://github.com/rust-lang/stdarch/issues/1234 Probably the biggest priority for crate now that `const` conversions are done.

enhancement
awaiting stabilization

Current implementation uses `mem::transmute` which is not ideal. Awaiting stabilization of https://github.com/rust-lang/rust/issues/57241 which is blocked by general Rust float soundess discussions.

enhancement
awaiting stabilization

Hi. I'm trying to serialize f16, but I'm stuck on it. I'm using `serde` feature, but when I use `f16_var.serialize(serializer)` I'm getting unexpected results. Example: Value: 1.0 Serialization result: "15360"`...

bug

Hello, im working on an issue in the Android/Termux CI from [uutils](https://github.com/uutils/coreutils/issues/5941) project. The issue: It's currently only reproducable in our CI. On my private PC I can't reproduce the...

We're running the `half` crate's tests during our package builds in Fedora Linux and our CI has detected that since the update to Rust 1.75.0, some tests have started to...

bug

Adds `AsPrimitive` for bf16 and `AsPrimitive` for f16.

I'm using [rkyv](https://docs.rs/rkyv/latest/rkyv/index.html) for a project and it's quite helpful. I'd like to add optional support for it here as I'd like to have the space savings of half in...

enhancement

Hi here. I am attempting to port basically ggml matrix multiplication into a standalone crate: https://github.com/Narsil/ggblas For most of the operations, I was able to leverage intrinsics: https://doc.rust-lang.org/core/arch/arm/index.html However for...

Github Actions CI now runs i686 and aarch64 builds like it used to, but no tests are being run for i686. Use CircleCI to do this like is being done...

ARM provides intrinsics to convert from f32 to f16 since ARMv8, see e.g. [VCVT-F16-F32](https://developer.arm.com/documentation/den0018/a/NEON-Intrinsics-Reference/Floating-point/VCVT-F16-F32) Unfortunately the Rust standard library [does not implement this intrinsic yet,](https://doc.rust-lang.org/stable/std/?search=VCVT_F16_F32) even though it does implement...

enhancement