CanadaVoidStarKat/half-rs
Half-precision floating point types f16 and bf16 for Rust.
Thành tựu nổi bật
Những danh hiệu mới nhất của dự án
#1 Repository Của Tháng
#1 Repository Của Tháng
#1 Repository Của Tháng
📦 f16 và bf16 — Số thực bán độ chính xác cho Rust
Crate
halfmang đến kiểuf16(binary16) vàbf16(bfloat16) chuẩn IEEE 754-2008, tối ưu dùng trong môi trường nhúng và tính toán nhẹ.
Dự án half-rs cài đặt hai kiểu số thực bán độ chính xác f16 và bf16 cho Rust, tuân thủ chuẩn IEEE 754-2008. Hỗ trợ chuyển đổi với f32/f64, phép tính cơ bản, và khai thác phần cứng qua intrinsics hoặc assembly tùng nền tảng. Yêu cầu Rust ≥ 1.81.
✨ Điểm nổi bật
- IEEE 754-2008: Hỗ trợ
f16(binary16) vàbf16(bfloat16). - no_std: Dùng trong môi trường nhúng.
- Chuyển đổi: To/from
f32,f64. - Phần cứng: Dùng intrinsics/SIMD khi khả dụng.
- Tính năng tùy chọn:
alloc,std,serde,num-traits,bytemuck,rand_distr,rkyv,arbitrary,nightly. - CPU phát hiện thời gian chạy: Khi bật
std.
💡 Vì sao đáng chú ý
Crate hỗ trợ đa nền tảng (x86, aarch64, loongarch64) với tối ưu phần cứng. Phù hợp cho mô hình AI nhẹ, tính toán nhúng, và hệ thống yêu cầu tiết kiệm bộ nhớ.
#Rust #FloatingPoint #f16 #bfloat16 #IEEE754 #no_std #TiniX
Dự án tương tự
Khám phá các dự án và mô hình AI khác có sự tương đồng.
float16 provides IEEE 754 half-precision format (binary16) with correct conversions to/from float32
ES2025 float16 (IEEE 754 half-precision floating-point) ponyfill/proposal since 2017
all-MiniLM-L6-v2 This is a sentence-transformers(https://www.SBERT.net) model: It maps sentences & paragraphs to a 384 dimensional dense vector space and can be used for tasks like clustering or semantic search. Usage (Sentence-Transformers) Using t...
A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Grok Build & Hermes Agent. Only official website: ccswitch.io
Free domain registration and practical DNS learning resources for everyone.
Spacedrive is an open source cross-platform file explorer, powered by a virtual distributed filesystem written in Rust.
The AI that really does things. Any OS. Any Platform. The lobster way. 🦞
Interactive roadmaps, guides and other educational content to help developers grow in their careers.