الملخص

تمت ترجمة أجزاء من هذه الصفحة آلياً وقد تحتوي على أخطاء.

Production machine learning (ML) stacks often split graph compilation and kernel execution across different layers and languages, making backend behavior, deployment guarantees, and performance fallbacks hard to reason about end-to-end. RLX addresses this gap with a single Rust codebase that combines compiler and runtime roles around one primitive-level, three-level intermediate representation (IR), plus a transparent dispatch contract that resolves each operator to native, common-IR, or rewritten lowering and fails compilation when legalization is not possible. The same IR targets fourteen runtime devices (cpu, metal, mlx, ane, cuda, rocm, oneapi, tpu, hexagon, gpu, vulkan, opengl, directx, webgpu) and two specialty codegen paths (Cortex-M INT8 and FPGA), ingests safetensors, GGUF, ONNX, and rten formats, supports F16/BF16/F64/C64 and quantized INT4/INT8 flows with AMP/PTQ/QAT, and scales via tensor-/pipeline-parallel collectives over TCP and RDMA transports. Beyond neural workloads, RLX also extends to scientific/physics-style domains through sparse and dense linear algebra extensions (e.g., CSR LU/CG/matvec and LAPACK- backed factorizations) and 3D Gaussian splatting operators. We evaluate RLX against PyTorch, TensorFlow, JAX, candle, burn, tch, rten, MLX, CoreML, IREE, Glow, TensorRT, and tinygrad under identical input generation and p50 measurement methodology on one host. On all-MiniLM-L6-v2, RLX-Metal is fastest at every batch (e.g., 16.6 ms at batch 32 vs. PyTorch-MPS 26.7 ms). In the MNIST training table, RLX also has the top-throughput entry (graph-fused MLP: 946,487 img/s), above NumPy+BLAS (787,349 img/s), while retaining 100% top-1 parity on reference checks (e.g., Qwen3).

الكلمات المفتاحية

الموضوع

بيانات النشر

المجلة
غير متاح
وصول مفتوح
وصول مفتوح أخضر

اقتبس هذه المقالة

APA 7

Hauptmann, E., & Kosmyna, N. (2026). RLX: مترجم موتّرات موحّد متعدد الخلفيات وبيئة تشغيل موزعة بلغة Rust. https://omanscience.com/ar/articles/rlx-a-unified-multi-backend-tensor-compiler-and-distributed-runtime-in-rust

MLA 9

Hauptmann, Eugene, and Nataliya Kosmyna. "RLX: مترجم موتّرات موحّد متعدد الخلفيات وبيئة تشغيل موزعة بلغة Rust." https://omanscience.com/ar/articles/rlx-a-unified-multi-backend-tensor-compiler-and-distributed-runtime-in-rust.

شيكاغو (المؤلف–التاريخ)

Hauptmann, Eugene, and Nataliya Kosmyna. 2026. "RLX: مترجم موتّرات موحّد متعدد الخلفيات وبيئة تشغيل موزعة بلغة Rust." https://omanscience.com/ar/articles/rlx-a-unified-multi-backend-tensor-compiler-and-distributed-runtime-in-rust.

هارفارد

Hauptmann, E. and Kosmyna, N. (2026) 'RLX: مترجم موتّرات موحّد متعدد الخلفيات وبيئة تشغيل موزعة بلغة Rust', Available at: https://omanscience.com/ar/articles/rlx-a-unified-multi-backend-tensor-compiler-and-distributed-runtime-in-rust.

فانكوفر

Hauptmann E, Kosmyna N. RLX: مترجم موتّرات موحّد متعدد الخلفيات وبيئة تشغيل موزعة بلغة Rust. https://omanscience.com/ar/articles/rlx-a-unified-multi-backend-tensor-compiler-and-distributed-runtime-in-rust

IEEE

E. Hauptmann, and N. Kosmyna, "RLX: مترجم موتّرات موحّد متعدد الخلفيات وبيئة تشغيل موزعة بلغة Rust," https://omanscience.com/ar/articles/rlx-a-unified-multi-backend-tensor-compiler-and-distributed-runtime-in-rust.