WhoBuilt

Making Open Models 10x faster and better for Modern Application Innovation

Oct 9, 2024· 19 min· 1.9K views·Watch on YouTube

Speaker

Dmytro (Dima) Dzhulgakov, Fireworks AI co-founder and former PyTorch core maintainer, speaks at AI Engineer about making open models faster and production-ready.

Why use open models

Dzhulgakov says proprietary frontier models can be costly and slower than needed for narrow tasks. Smaller models such as Llama or Gemma can match or exceed quality in specialized domains while running up to 10 times faster. He estimates a high-volume GPT-4o workload could cost about $10,000 per day, or $7 million per year.

The work behind production performance

Running open models requires finding GPUs, choosing frameworks, downloading models, and repeating setup and optimization as models change. Fireworks built a serving stack that includes custom CUDA kernels and service orchestration. Dzhulgakov says settings can be tuned for workload, latency, and throughput, including long-prompt RAG use cases.

Customization and compound AI systems

Fireworks supports open models, fine-tuning, and LoRA adapters, with thousands of LoRA variants potentially served on one GPU through serverless inference. Dzhulgakov describes applications as compound systems that combine models with RAG, external tools, and actions. He sees function-calling agents coordinating specialized models and tools as a core part of this architecture.

FireFunction and the Fireworks platform

Dzhulgakov presents FireFunction V, a model for combining chat with function calls. In a demo, it identifies AWS, Google Cloud, and Azure as cloud providers, queries stock prices, and sends the results to a charting API; it can also update the chart when asked to add Oracle. He describes Fireworks options from serverless, pay-per-token inference through dedicated hardware and enterprise-scale contracts.

Takeaways

  • For narrow tasks, compare a smaller domain-tuned model with a frontier model on both quality and latency.
  • Estimate inference costs using expected prompt length, user volume, and calls per user before choosing a model.
  • Tune serving settings to the workload, especially for long prompts and strict response-time targets.
  • Treat the model as one part of the application: combine it with retrieval, tools, and context management.
  • LoRA adapters can support many specialized model variants without dedicating a GPU to each one.

Mentioned in this talk

Search inside this talk

What was claimed 12

Show all 12 facts

Related talks