# Keeping PyTorch in production avoided costly rewrites

Markdown copy of https://realalpha.app/s/keeping-pytorch-in-production-avoided-costly-rewrites/ on Real Alpha, the best minutes from long interviews with the people building AI. Cite and link the page, not this copy.

- Speaker: [Lin Qiao](https://realalpha.app/builders/lin-qiao/) · Lin Qiao is cofounder and CEO of Fireworks AI.
- Host: [Matt Turck](https://realalpha.app/people/matt-turck/) · Managing Director, FirstMark · Publishes the annual MAD landscape of data and AI; sold TripleHop to Oracle.
- Show: The MAD Podcast
- Episode: [Why This Ex-Meta Leader is Rethinking AI Infrastructure | Lin Qiao, CEO, Fireworks AI](https://realalpha.app/v/wbhGAc_itMg/), Mar 27, 2025
- Moment: 16:17 to 19:15 of the episode (3 min), playing on https://realalpha.app/s/keeping-pytorch-in-production-avoided-costly-rewrites/; the episode from there: https://realalpha.app/v/wbhGAc_itMg/?t=977

## Quote

> “it's much easier to just **use pytorch into production** and let's optimize pytorch”
> — [Lin Qiao](https://realalpha.app/builders/lin-qiao/) at [18:06](https://realalpha.app/v/wbhGAc_itMg/?t=1086) · The MAD Podcast

## Takeaways

1. PyTorch's research adoption fed industry experiments.
2. Users found rewriting models for production too much hassle.
3. Optimizing PyTorch reduced friction in the production handoff.

## About this segment

Lin Qiao says researchers fed models into industry experiments, but rewriting them for production was too much hassle. Keeping PyTorch in production let the team optimize the framework instead.

From “Why This Ex-Meta Leader is Rethinking AI Infrastructure | Lin Qiao, CEO, Fireworks AI”, Mar 27, 2025. [Watch the full episode](https://realalpha.app/v/wbhGAc_itMg/)

## Transcript

Transcribed by machine (Whisper) from the episode’s audio, so a word may be off here and there.

[16:20](https://realalpha.app/v/wbhGAc_itMg/?t=980) influence the idea for Fireworks in the first place? I think one of the biggest success we saw from the PyTorch experience is simplicity scales. And this simplicity is user experience simplicity. Because we have a very strong engineering team, we can solve any infrastructure challenges and complexities. but when it comes to adoption people don't want to spend time figuring out how to make things work they just want it to work and that's kind of where PyTorch shine and that's why in the heavy competition or very noisy market of every company is building their awards building their own AI framework I think there are like tens of those AI frameworks at that time but none of those were focusing on the simplicity part and we'll focus on production um and all the nitty-gritty details to get into production but to the point it is very hard for researchers to adopt

[17:30](https://realalpha.app/v/wbhGAc_itMg/?t=1050) um and a kind of interesting funnel we saw from the Python journey is the researcher adoption is the top of the funnel because they create new model architecture which get open source and get adopted by industry practitioners for experimentation maybe one or ten of those experiments will be successful and then it goes down to the next phase of funnel for production and once go to production people start to transition from pytorch into other production more production focus to optimize the framework but that transition is too hectic they're going to rewrite the whole model in a complete different mass and then you lose position is too much hassle and it's much easier to just use pytorch into production and let's optimize pytorch so we saw this journey now it's kind of retrospectively we saw this how is this evolved

[18:19](https://realalpha.app/v/wbhGAc_itMg/?t=1099) um and at time it was not clear who is going to win and how it's going to win but now it's very clear is to um to leverage simplicity to get to adoption because that's what end user cares about and then we have you know we focus on optimize behind the scene and that's a way to to drive impact so we carry the same mindset when we think about fireworks is we want to keep the fireworks user interaction really really really simple and we take the heavy lifting of production optimization and production optimization is so complicated and i would like to elaborate on that um and so that's kind of our the funding principle of designing fireworks product
