Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
freem
Search
Search
Appearance
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
Openai/69191dd5-6360-800d-b47b-7ebcc8b69dc8
(section)
Add languages
Page
Discussion
English
Read
Edit
Edit source
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
Edit source
View history
General
What links here
Related changes
Special pages
Page information
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== gpt-5-1 == === User: What are zebra llama post trained models === What are zebra llama post trained models === Assistant: The term Zebra‑Llama refers to a family of large language model LLM variants built via a post-training / hybrid adaptat… === The term Zebra‑Llama refers to a family of large language model (LLM) variants built via a post-training / hybrid adaptation approach (i.e., not trained entirely from scratch) rather than simply a single “finetuned model”. Here’s a breakdown of what it is, how it works and why it matters — given your interest in large AI/factory-scale modelling, the technical details should align well. ==== - Zebra-Llama is proposed by AMD (and collaborators) as a set of hybrid models (1 B, 3 B, and 8 B parameter scale) that compose components of efficient architectures (State Space Models, SSMs, and Multi-head Latent Attention, MLA) into an existing pre-trained Transformer backbone. Hugging Face<ref>{{cite web|title=Hugging Face|url=https://arxiv.org/abs/2505.17272|publisher=Hugging Face|access-date=2025-11-16}}</ref> ==== * They are built after a base model has been fully pre-trained — i.e., a post-training adaptation approach. From the paper: “Our work focuses on the post-training setting … we insert efficient modules into pre-trained Transformers …” arXiv<ref>{{cite web|title=arXiv|url=https://arxiv.org/html/2505.17272v1|publisher=arxiv.org|access-date=2025-11-16}}</ref> * The name “Zebra-Llama” appears in this context: in the hybrid architecture case (which is often cited) and not to be confused with other models using the same “Zebra-Llama” label (see below). * The goal: maintain the accuracy (comparable to full‐Transformer models) while dramatically improving efficiency (both memory usage and inference throughput) — especially aiming for reduced key‐value (KV) cache size and faster throughput for long context lengths. OpenReview<ref>{{cite web|title=OpenReview|url=https://openreview.net/pdf/ba9ef0b7769e0db15d03dbd4788db3287b2d18a4.pdf|publisher=openreview.net|access-date=2025-11-16}}</ref> ==== ### ==== * They combine two types of modules: - Multi-head Latent Attention (MLA) layers — designed to compress the KV cache and reduce memory/compute overhead of full self-attention. arXiv<ref>{{cite web|title=arXiv|url=https://arxiv.org/html/2505.17272v1|publisher=arxiv.org|access-date=2025-11-16}}</ref> - Mamba2 (a state‐space model (SSM) layer) — which can in some cases eliminate the need for KV caching entirely in certain components. arXiv<ref>{{cite web|title=arXiv|url=https://arxiv.org/abs/2505.17272|publisher=arxiv.org|access-date=2025-11-16}}</ref> * The hybrid model replaces many of the original Transformer blocks (or modifies them) in the pre‐trained base architecture, selecting where to use each component via a “SMART” layer selection algorithm (Sensitivity Measure-Aware Replacement of Transformer layers) that determines which blocks to convert based on impact. arXiv<ref>{{cite web|title=arXiv|url=https://arxiv.org/html/2505.17272v1|publisher=arxiv.org|access-date=2025-11-16}}</ref> * Because the model starts from a pre-trained base (e.g., a standard Transformer model), the hybridization focuses on efficient adaptation rather than a full re-training from scratch. ===== - The pipeline comprises: 1. Structured Weight Initialization: Map the base Transformer weights into the new MLA and Mamba2 modules (via e.g., SVD or reinterpretation) so you’re not starting randomly. arXiv<ref>{{cite web|title=arXiv|url=https://arxiv.org/html/2505.17272v1|publisher=arxiv.org|access-date=2025-11-16}}</ref> 2. Intermediate Layer Distillation (ILD): On a smaller dataset, align internal representations of the new hybrid model to match the base model’s internal layers (hidden states etc) to preserve knowledge. OpenReview<ref>{{cite web|title=OpenReview|url=https://openreview.net/pdf/ba9ef0b7769e0db15d03dbd4788db3287b2d18a4.pdf|publisher=openreview.net|access-date=2025-11-16}}</ref> 3. SMART Layer Selection & Composition: Decide which layers get converted to MLA or SSM based on sensitivity analysis, to balance efficiency vs performance. OpenReview<ref>{{cite web|title=OpenReview|url=https://openreview.net/pdf/ba9ef0b7769e0db15d03dbd4788db3287b2d18a4.pdf|publisher=openreview.net|access-date=2025-11-16}}</ref> 4. Fine-tuning (SFT) & Distillation: Possibly supervised fine-tuning and knowledge distillation from teacher model(s) to the hybrid student model. Hugging Face<ref>{{cite web|title=Hugging Face|url=https://huggingface.co/amd/Zebra-Llama-8B-8MLA-24Mamba-SFT|publisher=Hugging Face|access-date=2025-11-16}}</ref> ===== ===== - For example, the paper reports that the 8B variant (“Zebra-Llama-8B”) reduces the KV cache size to ~2.73 % of the original model’s cache while preserving >97 % of average zero-shot performance on the LM Harness benchmark (for 8B variant). Hugging Face<ref>{{cite web|title=Hugging Face|url=https://huggingface.co/amd/Zebra-Llama-8B-8MLA-24Mamba-SFT|publisher=Hugging Face|access-date=2025-11-16}}</ref> ===== * Throughput improvements: up to ~2.6-3.8× higher tokens/sec for up to 32k context length compared to e.g., MambaInLLaMA baseline. arXiv<ref>{{cite web|title=arXiv|url=https://arxiv.org/html/2505.17272v1|publisher=arxiv.org|access-date=2025-11-16}}</ref> * Training token efficiency: The hybrid models trained on only ~7-11 billion tokens (vs trillions in full pre-training). arXiv<ref>{{cite web|title=arXiv|url=https://arxiv.org/abs/2505.17272|publisher=arxiv.org|access-date=2025-11-16}}</ref> ==== Given your focus on large-scale deployments (datacenters, GPU/ASIC hardware, memory bottlenecks, throughput, cost per token, etc.), Zebra-Llama offers several relevant touchpoints: ==== * Memory/Cache Efficiency: In large context length scenarios (e.g., multi-document, long‐form generation, retrieval-augmented generation), key-value cache size becomes a hardware bottleneck (e.g., GPU VRAM, SRAM/DRAM bandwidth). The hybrid architecture addresses that directly by compressing the KV cache or eliminating parts of it. * Throughput Gains: For large-scale inference deployments (say 72-GPU racks, large token throughput), getting 2-3× improvement in tokens/sec (for long context) is significant — meaning less hardware / lower latency. * Cost/Training Efficiency: Because it’s post-training adaptation rather than full pre-training, you save on the massive compute cost (and associated $$$/MW) of retraining from scratch. This aligns with your “tokens-per‐dollar / tokens-per‐watt / time‐to‐train” metrics. * Modular Architecture: You could imagine taking a base model you already have (or invest in) and adapt it via the hybrid approach to meet specific deployment constraints (memory, latency, context length) — which fits your scenario of designing custom AI factories and network/datalink bottlenecks. * Scalability and Hardware-Aware Design: Because the architecture explicitly reduces bottlenecks (e.g., quadratic self-attention, large KV caches) and is optimized for large context lengths, it touches on the kinds of system-level constraints you care about (NVLink vs PCIe, memory hierarchy, HBM stacks, etc.). ==== - Although promising, the Zebra-Llama work is still relatively recent; you’ll want to carefully check model licensing, availability of weights, hardware support (especially for the SSM / MLA modules) and how well the empirical claims translate to your specific deployment workload (for example, extremely large parameter sizes, very long context lengths beyond the tested 32 k, or specialized domains). ==== * The “post-training” setting means you’re constrained by the base model’s weights and architecture to some extent. If your use-case demands radical changes (new modalities, very different data distributions), additional adaptation may be required. * Efficiency gains often depend on the hardware stack (e.g., how well SSM layers are implemented, memory access patterns, parallelism, etc.). So you’ll want to test how these hybrid modules map to your GPU / DPU / memory infrastructure. * The architecture complexity (hybridization, layer selection, distillation) introduces engineering overhead. It’s not just “finetune a base model” — it’s a more elaborate pipeline. * Because the work is focused on 1B/3B/8B scales, if you’re targeting 100B+ parameters (given your datacenter-scale interest) you’ll need to check how well the approach scales. ==== In short: Zebra-Llama is a family of efficient hybrid LLMs created via post-training adaptation of existing Transformer pre-trained models, combining SSM and MLA components to reduce memory and improve throughput, while retaining most of the accuracy of the base model. It’s an interesting approach especially if you are designing large‐scale deployment systems and care about memory/latency/thoroughput trade-offs. ==== If you like, I can pull together a full technical breakdown of the architecture and provide benchmark numbers across different sizes (1B/3B/8B) plus hardware implications (cache size, throughput improvements, trade-offs) for your modelling exercise. Would that be helpful? === User: Is zebra llama related to French acquisition by amd === Is zebra llama related to French acquisition by amd === Assistant: Good question — short answer: no, not directly. === Good question — short answer: no, not directly. But yes, there is a connection via branding/terminology and the acquisitions of Mipsology and AMD that’s worth clarifying. Here’s the breakdown: ===== ✅ What we know ===== # AMD acquired Mipsology (a French AI‐software company based in Palaiseau) in August 2023. Investopedia<ref>{{cite web|title=Investopedia|url=https://www.investopedia.com/amd-acquires-french-ai-software-company-mipsology-7852209|publisher=investopedia.com|access-date=2025-11-16}}</ref> - Mipsology’s flagship software is called Zebra AI (for inference/optimization). Investopedia<ref>{{cite web|title=Investopedia|url=https://www.investopedia.com/amd-acquires-french-ai-software-company-mipsology-7852209|publisher=investopedia.com|access-date=2025-11-16}}</ref> - The blog from AMD states: “Mipsology’s highly skilled software team … will join the AMD AI Group … help develop our full AI software stack … and enable streamlined deployment of AI models running on AMD hardware.” AMD<ref>{{cite web|title=AMD|url=https://www.amd.com/en/blogs/2023/amd-acquires-mipsology-to-deepen-ai-inference-soft.html|publisher=amd.com|access-date=2025-11-16}}</ref> # Independently, AMD also published a research paper “Zebra‑Llama: Towards Extremely Efficient Hybrid Models” where the first authors list is from “Advanced Micro Devices, Inc. (AMD)”. arXiv<ref>{{cite web|title=arXiv|url=https://arxiv.org/html/2505.17272v1|publisher=arxiv.org|access-date=2025-11-16}}</ref> - The Zebra-Llama work is about hybrid language models (1B/3B/8B) combining SSM + MLA layers, reducing KV‐cache, etc. OpenReview<ref>{{cite web|title=OpenReview|url=https://openreview.net/pdf/ba9ef0b7769e0db15d03dbd4788db3287b2d18a4.pdf|publisher=openreview.net|access-date=2025-11-16}}</ref> - So in that sense, AMD owns/controls Zebra-Llama as a research initiative. ===== ⚠️ But: they are not the same “Zebra” ===== * The “Zebra AI” from Mipsology is a software inference/optimization product, primarily for image/video networks and inference on FPGAs/adaptive chips (“Zebra” is the product name). Phoronix<ref>{{cite web|title=Phoronix|url=https://www.phoronix.com/news/AMD-Acquires-Mipsology|publisher=phoronix.com|access-date=2025-11-16}}</ref> * The “Zebra-Llama” is a specific hybrid LLM family created by AMD’s AI research group; it uses “Zebra” in the naming (likely referencing “stripe pattern / hybrid / efficient”) but it’s unrelated in concept to Mipsology’s “Zebra AI” product. * There’s no public statement linking the Mipsology “Zebra AI” product directly to the “Zebra-Llama” LLM research (i.e., the same team, codebase, or product lineage). * The Mipsology acquisition is about inference/optimization software stack; Zebra-Llama is about model architecture/training efficiency. Different layers of the stack. ===== 🔍 My conclusion ===== Yes, there is a branding overlap: “Zebra” shows up both in Mipsology’s “Zebra AI” and AMD’s “Zebra-Llama”. But the acquisition of the French company is not directly the reason why* the Zebra-Llama model family exists (based on the available public info). The Zebra-Llama model appears to be a purely AMD research invention/initiative. In short: * The acquisition boosted AMD’s software/inference stack for AI, which indirectly supports everything (models + hardware + software) in the AMD AI ecosystem. * But the Zebra-Llama research is separate from that specific acquisition. * The French acquisition gave AMD extra software talent for inference optimisation, which could help deployment of models like Zebra-Llama, but it’s not “Zebra-Llama = Mipsology’s Zebra AI model”. If you like, I can check internal patent filings / acquisition disclosures to see if Mipsology’s tech or team were explicitly credited in the Zebra-Llama research paper (to see if there is deeper connection). Would you like me to dig into that?
Summary:
Please note that all contributions to freem are considered to be released under the Creative Commons Attribution-ShareAlike 4.0 (see
Freem:Copyrights
for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource.
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)