WhoBuilt

Llama 3 at 1,000 tok/s on the SambaNova AI Platform

Feb 7, 2025· 1 h 1 min· 848 views·Watch on YouTube

Speakers

Rochelle Maturin, director of solutions engineering at SambaNova, introduces the company’s AI platform and its Llama 3 performance; principal AI engineer Petro Milan leads the workshop with senior principal AI solutions engineer Varun Krishna.

Workshop setup and SambaNova overview

Maturin outlines the workshop, introduces Milan and Krishna, and covers the laptop, internet, Python, and Discord prerequisites. She describes SambaNova as a full-stack AI platform founded in 2017 by a team that includes Stanford professors, and says its fourth-generation chip supports model training and inference.

Enterprise models and orchestration

Maturin contrasts broad monolithic models with smaller expert models, describing enterprise concerns such as data privacy, model ownership, cost, and the work of coordinating many models. Samba-1 combines expert models behind one endpoint, with prompt routing, scheduled fine-tuning, and model-level access controls. Its preconfigured composition contains 92 experts across seven model architectures.

RDU memory and inference demonstration

Maturin describes SambaNova’s SN40L reconfigurable dataflow unit and its three memory tiers: 4 GB of on-chip SRAM, 512 GB of high-bandwidth memory, and up to 6 TB of DDR. Milan demonstrates Llama 3 8B and reports 1,000 tokens per second, 0.19 seconds to first token, and 0.65 seconds end to end. The demo also shows a real-time interface that updates responses as a prompt changes.

Python endpoint and prompt basics

Milan walks through a basic Python exercise using a SambaStudio API key, LangChain, and the Llama 3 8B Instruct endpoint. The example covers model settings such as sampling, temperature, and maximum output tokens, and shows how Llama 3 prompt tags can help produce a more focused answer. The workshop materials also guide attendees through configuring their environment and making an inference call.

Build a retrieval augmented Q&A system

The second exercise builds a document Q&A system using retrieval augmented generation, LangChain, E5-large-v2 embeddings, ChromaDB, and the Llama 3 endpoint. The workflow loads and splits documents, embeds and stores chunks, retrieves relevant passages, and gives them to the LLM as context. In the demo, a 15-page SN40L paper yields 89 chunks; the presenter notes that Unstructured may handle complex PDF tables better than PyPDF.

Takeaways

  • A single endpoint can simplify access to specialized models when routing directs prompts to the appropriate expert.
  • The demonstrated SN40L memory tiers are intended to keep many models available within one system.
  • The Llama 3 8B demo reports 1,000 tokens per second, 0.19 seconds to first token, and 0.65 seconds end to end.
  • For Llama 3, prompt formatting can affect whether an answer stays focused on the request.
  • In a RAG pipeline, chunk size, overlap, and document loader choices shape retrieval; the workshop used chunks of 1,200 characters with 240-character overlap.

Mentioned in this talk

Search inside this talk

What was claimed 12

  • built
    “That means we build our own chip.”
    YouTube
    Verified2 sources· Talk, Web· archived
  • role at
    Varun Krishna is senior principal AI solutions engineer at SambaNova
    “I also have Varun Krishna, a senior principal AI solutions engineer, joining me.”
    YouTube
    Verified2 sources· Talk
  • role at
    Petro Milan is principal AI engineer at SambaNova
    “Joining me today is Petro Milan, a principal AI engineer.”
    YouTube
    Unverified2 sources· Talk
  • role at
    Rochelle Maturin is director of solutions engineering at SambaNova
    “I’m Rochelle Maturin, director of solutions engineering. I serve our global customer base at SambaNova.”
    YouTube
    Unverified1 source· Talk
  • feature
    SambaNova: secure single endpoint, model routing, dynamic fine-tuning, and model-level RBAC
    secure single endpoint, model routing, dynamic fine-tuning, and model-level RBAC
    “we put them behind a secure, single endpoint.”
    YouTube
    Unverified1 source· Talk
  • metric
    Samba-1: Pre-composed version has 92 underlying experts
    “Our pre-configured, pre-composed version has 92 underlying experts.”
    YouTube
    Unverified1 source· Talk
  • metric
    SN40L: Supports up to 5 trillion parameters on DDR
    “we can store up to 5 trillion parameters on DDR.”
    YouTube
    Unverified1 source· Talk
  • metric
    SN40L: 4 GB on-chip SRAM, 512 GB high-bandwidth memory, and up to 6 TB DDR
    “our on-chip SRAM has 4 GB, our high-bandwidth memory has 512 GB, and our DDR has up to 6 TB.”
    YouTube
    Unverified1 source· Talk
Show all 12 facts

Related talks