এআই সারাংশ
জাইফ্রার ওপেন-সোর্স ZYFA কার্নেল AMD MI355X-এর প্রিফিল গতি সর্বোচ্চ ১.৭৬ গুণ বাড়ায় এবং AMD-এর ডিফল্ট লাইব্রেরির তুলনায় FP8 এরর উল্লেখযোগ্যভাবে কমায়।
এআই দিয়ে তৈরি সারাংশ। প্রেক্ষাপট ও নির্ভুলতার জন্য মূল প্রতিবেদন দেখুন।
জাইফ্রার ওপেন-সোর্স ZYFA কার্নেল AMD MI355X-এর প্রিফিল গতি সর্বোচ্চ ১.৭৬ গুণ বাড়ায় এবং AMD-এর ডিফল্ট লাইব্রেরির তুলনায় FP8 এরর উল্লেখযোগ্যভাবে কমায়।
এআই দিয়ে তৈরি সারাংশ। প্রেক্ষাপট ও নির্ভুলতার জন্য মূল প্রতিবেদন দেখুন।
এটি ফিডে পাওয়া অংশবিশেষ। এটি সংক্ষিপ্ত বা প্রকাশকের মূল ভাষায় হতে পারে।
Zyphra has released ZYFA (Zyphra FlashAttention on AMD), a set of FP8 and BF16 prefill attention kernels for AMD Instinct MI355X GPUs. ZYFA is Zyphra’s FP8 attention engine for long-context prefill, and the code is open source under Apache 2.0. On real model activations, its FP8 kernels run 1.16-1.76x faster than AITER, AMD’s default kernel library. At head dimension 128, ZYFA’s FP8 error is 62-78% lower than AITER’s. TL;DR Framework: It is a kernel library. Causal forward (prefill) attention in FP8 e4m3 and BF16, head dim 128 and MLA shape (192/128). Runs on: AMD Instinct MI355X only (CDNA4, gfx950), ROCm 7.2.3, PyTorch 2.12. Drop-in flash_attn_func interface. Performance: 1.16-1.76x AITER’s FP8 throughput on real activations; BF16 roughly ties (1.01-1.02x). Best: 2,672 TFLOP/s FP8 at 32K tokens, 53% of the FP8 datasheet peak (AITER: 39%). Worst: Only 1.16x on Mistral-7B activations; FP8 clock drops to 1,628 MHz vs AITER’s 2,108 MHz. What is ZYFA? ZYFA is shipped in the form of a technical paper along with code from Zyphra. It powers the attention engine of the Zyphra Optimization Engine (ZOE), which runs Zyphra Cloud. The BF16 kernels are written in HIP. The FP8 kernels are hand-scheduled assembly emitted by a Python generator. Why does FP8 attention underperform on MI355X? FP8 matrix instructions run at 2x the BF16 peak. But FP8 only speeds up the 2 matrix products, QKᵀ and PV. The softmax between them runs on the vector unit at the same speed in both precisions. For 32 queries against 128 keys, FP8 matrix work takes 1,024 cycles. The exact FP8 softmax takes 896 vector cycles. So the kernel needs near-perfect overlap to keep matrix units busy. Zyphra’s thread traces show AITER’s matrix pipe idle for 31.7% of cycles. The MI355X does not track matrix instruction completion in hardware, so instruction order must create that overlap. How does ZYFA work? ZYFA uses 3 techniques: Lean P: one multiply-add instead of an exponential An e4m3 bit pattern, rea
উৎসের বিশ্বাসযোগ্যতা, শব্দ ও সত্তার ভিত্তিতে ১–১২ স্কেলে স্বয়ংক্রিয়ভাবে সাজানোর সহায়ক। উচ্চ: ৯–১২; মাঝারি: ৬–৮; নিম্ন: ১–৫। এটি জরুরিতা বা খবরের সত্যতা নির্ধারণ করে না এবং সম্পাদকীয় অনুমোদন নয়।
Kinference Kubernetes-এ AI মডেল সার্ভিং পরিচালনা সহজ করে, কারণ এটি vLLM ওয়ারকারদের কাছে অনুরোধগুলিকে বুদ্ধিমানভাবে রাউটিং করে, যা একাধিক মডেল ডিপ্লয় করা দলের জন্য পারফরম্যান্স এবং রিসোর্স ব্যবহার অপ্টিমাইজ করে।
সীমিত তথ্য থেকে অণুর আচরণ পূর্বাভাস দেওয়া ওষুধ ও উপকরণ আবিষ্কারের গতি বাড়ায়, যা ধীর পরীক্ষা-নিরীক্ষা পদ্ধতির পরিবর্তে শিল্পে দক্ষ ও তথ্য-নির্ভর উদ্ভাবন নিশ্চিত করে।
ToyBlocks রোবট লার্নিং অ্যালগরিদম প্রশিক্ষণ ও মূল্যায়নের জন্য একটি মানক, নিয়ন্ত্রিত পরিবেশ প্রদান করে, যা ধারাবাহিক ও পুনরুত্পাদনযোগ্য পারফরম্যান্স তুলনা সম্ভব করে।