Keshi Dai (@daikeshi) header
Keshi Dai (@daikeshi) profile picture

Building ML Tools @ Spotify, 🏔️✈️☕⚽🏃⛷️🦙

Joined May 2009
Photo by Keshi Dai (@daikeshi)Photo by Keshi Dai (@daikeshi)Photo by Keshi Dai (@daikeshi)Photo by Keshi Dai (@daikeshi)Photo by Keshi Dai (@daikeshi)Photo by Keshi Dai (@daikeshi)Photo by Keshi Dai (@daikeshi)Photo by Keshi Dai (@daikeshi)Photo by Keshi Dai (@daikeshi)Photo by Keshi Dai (@daikeshi)
Keshi Dai retweeted
I probably have some credibility as a person who has worked on @TensorFlow and @PyTorch both (also, caffe / @onnxai / distbelief / a few others that never saw the light), so here are my two cents: (1) Speed doesn't really matter today as long as it is not particularly bad. Under the hood, many are just calling optimized CUDA code anyway. (2) For ultimate speed, especially in the LLM field, many are writing their own runtime engines, and not vanilla framework. For example vLLM, by @zhuohan123 @woosuk_k et al, is a great open source solution. (Lepton builds its own too, and is probably the fastest not-a-framework llm engine right now) (3) TensorFlow and PyTorch are successful in their own terms. For me, TF taught me how to think like a system architect, and PyTorch taught me how to prioritize users' needs over optimization. (4) Simply listing a table showing performance is relatively useless, because every use case come with their own needs. (4.1) For example, if you are running ads and feed recommendation systems, then 1% performance matters, and you pretty much need to write even your own FusedGemmAndReluAndMyWeirdOpsAfterThatOp to make things fast. (4.2) For research though, the flexibility was of ultimate importance, and losing 20-30%, sometimes even 100% speed, is fine - you gain from reducing people hours. (4.3) I want to express thanks to @soumithchintala and the FAIR team, because we had long-lasting arguments back at Meta: I was serving all ads/feed needs so 4.1 was my only priority, and those arguments were a window into the 4.2 land. In retrospect, those was some of the most rewarding experiences in my career. (5) People hours are important for a simple reason: salaries are increasing every year, and NVidia is reducing the dollar cost per TFlops very quickly. (6) A side note... Keras PyTorch wrapper exhibits a universal 2x overhead over native PyTorch. This is... not good. A wrapper abstraction shouldn't bring such a big overhead. (7) Ah the old good war of framework days. I feel nostalgic to have been part of it, and I am excited to move beyond frameworks and to build a truly AI-native cloud at @LeptonAI .
This quoted post is unavailable.
13
65
5
451
127,594
Build a robust Ray platform ✅. Make its developer experience frictionless ✅. Done, but how did we do it? #MachineLearning engineers, @daikeshi and @davidxia_, will be giving you the inside scoop at #RaySummit on 9/19. Register to watch it live here: raysummit.anyscale.com/agend…
"Our goal for Spotify’s ML Platform has always been to create a seamless user experience for ML practitioners who want to take an ML application from development to production..." And so, we introduced @raydistributed to our @Spotify ecosystem. engineering.atspotify.com/20…
5
13
7,390
We've built a ton of #LLM applications recently. Reasoning about performance & feasibility is painful without reference points. Here are the reference points we use to anchor our intuition (inspired by @JeffDean's "Numbers every engineer should know"). github.com/ray-project/llm-n…
11
84
9
374
80,772
Stars: always making a dramatic exit! 🌟 Webb’s powerful infrared eye has captured never-before-seen detail of Cassiopeia A (Cas A). 11,000 light-years away, it is the remnant of a massive star that exploded about 340 years ago: go.nasa.gov/3ZJnk72
257
3,066
293
17,391
2,838,074
My thoughts on Toolformer IMO the most important paper in the past few weeks. arxiv.org/abs/2302.04761 Teach an LLM to use tools, like a calculator or search engine, in a *self-supervised manner* Interesting hack to resolve many blind spots of current LLMs Here's how 👇
39
345
55
2,045
542,102
I'm so excited about this blog post from @DivitaVohra, @daikeshi, @davidxia_ at @SpotifyEng about their experiences leveraging Ray for Spotify's next generation ML platform -- it aligns so well with the vision of @raydistributed. engineering.atspotify.com/20… 1/n
1
9
44
6,178
Trust is your most important asset. It's easy to destroy, hard to rebuild. In periods of fast change and extreme uncertainty, focus on preserving trust.
12
64
5
456
An octopus changing colors in her sleep may be an indication she is dreaming
127
2,235
230
12,550
Keshi Dai retweeted
We're a few years into our ML Platform journey at Spotify, building infrastructure powering Machine Learning that makes Spotify "magic" for many of our users. And I'm thrilled to have a Product Manager opening on one of our cornerstone teams focusing o…lnkd.in/eauKcuem
People don't want a ML framework, they want a simple, maintainable, performant solution to an automation problem.
21
83
11
989
I'm working on a MLOps Talk, but there is one slide that probably applies to tech generally
7
31
249
A comparison of GitOps tools for Kubernetes 👉 cloudogu.com/en/blog/gitops-…
5
64
4
200
Keshi Dai retweeted
PSG players when they find out they're crowned Champions League winner after UEFA's ban on Chelsea, Man City and Real Madrid
2
19
1
125
If you’re with them 99% of the time, you’re a damn coward
Lindsey Graham swarmed by angry Trump supporters at the airport. “It’s gonna be like this wherever you go, for the rest of your life!”
296
383
82
3,011
Would be exact same number of EVs Trump won in 2016.
Biden now leads in states worth 306 electoral votes. Here's how the map will probably finish
263
606
162
4,950
I wrote out some thoughts on how to make this moment a real turning point to bring about real change––and pulled together some resources to help young activists sustain the momentum by channeling their energy into concrete action. medium.com/@BarackObama/how-…
36,868
185,435
23,135
698,015
It's time for us to get serious about enforcing body cameras. It's 2020 and every IG influencer can livestream their pedicures, but we can't get officers of the law to have working cameras? ...
29
306
8
3,027
A key design principle I follow in libraries (e.g. Keras) is "progressive disclosure of complexity". Make it easy to get started, yet make it possible to handle arbitrarily flexible use cases, only requiring incremental learning at each step. Like zooming in a complex landscape.
13
150
12
825
Keshi Dai retweeted
Here's where the GOP Chairman of the Senate Intelligence Committee, Senator Richard Burr, dumped stock:
SCOOP: NC's GOP Senator Richard Burr told the public he was confident the govt can fight off COVID-19 the same time he & his wife sold up to ~$1.5 million stock in major corporations that ended up losing most of their value during the coronavirus pandemic crp.org/bscv
274
4,264
599
7,130