Загрузка видео...

Не удалось загрузить видео

На главную

gpu poor? I wrote a simple distributed training module to train a vision model on three M1 macbooks. it's open sourced! i wanted to build a distributed training tool for M-series macs but I faced two hurdles: network latency is extremely high and my friends weren't happy with lending...

104,325 просмотров • 2 лет назад •via X (Twitter)

Комментарии: 65

Фото профиля parth
parth2 лет назад

wake up babe omkaar just dropped federated learning 🤩

Фото профиля omkaar
omkaar2 лет назад

😂😂😂

Фото профиля omkaar
omkaar2 лет назад

shout out @parthsareen for the code reviews

Фото профиля omkaar
omkaar2 лет назад

also shoutout @awnihannun for the mlx idea

Фото профиля sid
sid2 лет назад

Can't it be made decentralised (in terms of the aggregator) to eliminate the single point of failure

Фото профиля omkaar
omkaar2 лет назад

yeah i dont see why not, there are a few companies working on that idea like @PrimeIntellect

Фото профиля sid
sid2 лет назад

@PrimeIntellect Would love to see your approach

Фото профиля siddhartha
siddhartha2 лет назад

federated learning opens up entirely new use cases for ml as intelligence is democratized. keep data decentralized and train across networks.

Фото профиля Harry
Harry2 лет назад

Brilliant 🔥👏👏

Фото профиля Yaya Soumah
Yaya Soumah2 лет назад

That’s a very interesting concept!!

Фото профиля Mathieu Tuli
Mathieu Tuli2 лет назад

pro tip, post the git link - looks cool - might work on an mlx version this week if I have time

Фото профиля omkaar
omkaar2 лет назад

@TarianLovesArch Ah I actually did not make it clear that this supports mlx as well. its actually a very simple change from my repo, just import ml and change the file but retain the variables. I'll make a post on this later.

Фото профиля Mathieu Tuli
Mathieu Tuli2 лет назад

Makes sense yeah that’s what I figured - very cool

Фото профиля omkaar
omkaar2 лет назад

@TarianLovesArch i would still love contributions + optimizations!

Фото профиля Mathieu Tuli
Mathieu Tuli2 лет назад

Yeah I plan on digging in this week see what I can do (although I’m sure it’s 100% perfect)

Фото профиля omkaar
omkaar2 лет назад

@TarianLovesArch dawg between a full-time job and contracting, I only get a few hours a week to work on this loooool, im sure you will find many areas of optimization that I did not want to spend my time on

Фото профиля Mathieu Tuli
Mathieu Tuli2 лет назад

Loool i fucking feel that

Фото профиля HDP
HDP2 лет назад

have you considered @shog_AGI for some part of the datastorage?

Фото профиля omkaar
omkaar2 лет назад

@shog_AGI not really havent looked into them but i am fine w distributed in-device storage

Фото профиля Atharva Pingale
Atharva Pingale2 лет назад

Does this also work with non-macs ?

Фото профиля omkaar
omkaar2 лет назад

yup, just change device in from device("mps") to device("cpu")

Фото профиля Silen Naihin
Silen Naihin2 лет назад

this is sick!!

Фото профиля omkaar
omkaar2 лет назад

thank you!!

Фото профиля JaysmooveV2
JaysmooveV22 лет назад

Bro cooked again 👨‍🍳🔥

Фото профиля omkaar
omkaar2 лет назад

!!!

Фото профиля Bassel Al Omari
Bassel Al Omari2 лет назад

Goat-Tier video

Фото профиля Virat Chauhan
Virat Chauhan2 лет назад

Soo going to milk my friends' macs for what they are worth with this now 😈

Фото профиля omkaar
omkaar2 лет назад

😈😈😈

Фото профиля eggo
eggo2 лет назад

I've been super interested in this idea for a while. Great work! I'm interested in helping if possible

Фото профиля omkaar
omkaar2 лет назад

ofc repo is completely free use, you can edit, redistribute, etc!

Фото профиля NIK
NIK2 лет назад

🔥

Фото профиля LA Bloke
LA Bloke2 лет назад

Can't you just use Ray Train?

Фото профиля omkaar
omkaar2 лет назад

ray train inspired me to build this lol, this was something I built in 12 hours for fun

Фото профиля io ɳ
io ɳ2 лет назад

Hi @omkizzy can you train a model with those three Mac if they are separated at a long distance?

Фото профиля omkaar
omkaar2 лет назад

yeah but the network costs would be astronomical, but my module here does support that

Фото профиля io ɳ
io ɳ2 лет назад

Okay,… So what if you increase The number of Mac’s will the “network cost” would decrease or that is not the factor at all?

Фото профиля omkaar
omkaar2 лет назад

in an ideal world, not a factor at all

Фото профиля io ɳ
io ɳ2 лет назад

Okay,… I hope it becomes a bigger thing man. And I will go through it on GitHub so I can understand more and if I will have some more questions I will ask you then.

Фото профиля omkaar
omkaar2 лет назад

ofc i welcome all questions! it already is a big thing, really cool companies like @flwrlabs are working on similar ideas!

Фото профиля io ɳ
io ɳ2 лет назад

@flwrlabs Yeah yeah , I just saw someone mention @flwlabs on your feed , it is so cool 😎 man

Фото профиля Ankur Shukla
Ankur Shukla2 лет назад

Awesome. This idea as crossed me multiple times. Happy to see it being implemented

Фото профиля pooria
pooria2 лет назад

@omkizzy you’re the hero we didn’t know about but need lol p.s. what are you up to May10-12?

Фото профиля omkaar
omkaar2 лет назад

im going to be in school, down to miss if you have something interesting going on 👀

Фото профиля omkaar
omkaar2 лет назад

cc: @parthsareen

Фото профиля pooria
pooria2 лет назад

@parthsareen @parthsareen come share extensible AI with the builders too!

Фото профиля Javier Fernandez
Javier Fernandez2 лет назад

Great video, once again!!

Фото профиля VA
VA2 лет назад

If you ever need more compute try @PrimeIntellect

Фото профиля thecollabagepatch
thecollabagepatch2 лет назад

@yikesawjeez 👀

Фото профиля omkaar
omkaar2 лет назад

@yikesawjeez they were kind enough to repost!

Фото профиля thecollabagepatch
thecollabagepatch2 лет назад

@yikesawjeez this project speaks for itself cooler release than llama3 tbh lfg

Фото профиля omkaar
omkaar2 лет назад

@yikesawjeez no way thats a huge compliment thank u!

Фото профиля yikes (:D/acc)
yikes (:D/acc)2 лет назад

@thepatch_kev we love distributed computing @BacalhauProject , @BigscienceW , @m_ryabinin , check it out. maybe swap notes/grant offers with our friend here ;)

Фото профиля omkaar
omkaar2 лет назад

@thepatch_kev @BacalhauProject @BigscienceW @m_ryabinin would love to chat w anyone interested!

Фото профиля Amrit Chera
Amrit Chera2 лет назад

Setting the standards for video quality! Great stuff here 👏

Фото профиля omkaar
omkaar2 лет назад

@AmritBuilds recorded on my iphone!

Фото профиля Tony Kam
Tony Kam2 лет назад

this is dope dude!

Фото профиля omkaar
omkaar2 лет назад

thank you!

Фото профиля TiskTusk
TiskTusk2 лет назад

The GPU poors shall be vindicated

Фото профиля μ-go
μ-go2 лет назад

@TiskTusk

Фото профиля Nag
Nag2 лет назад

Yoo, any tutorial on how u built it? Curious lol

Фото профиля omkaar
omkaar2 лет назад

it will take me some time to do that man, there is a lot going on lol

Фото профиля AK
AK10 месяцев назад

federated learning on macbooks is honestly genius. network latency is the real bottleneck but gradient compression + local sgd steps could help. m1 metal api >

Фото профиля Chris 🇭🇷🇮🇪
Chris 🇭🇷🇮🇪2 лет назад

Really cool project. Just made a PR to speed things up and for the learning to continue if one of the learners fails.

Фото профиля omkaar
omkaar2 лет назад

sick will check it out later!

Фото профиля Ashwin 🇮🇳
Ashwin 🇮🇳2 лет назад

So you expect a guy to have poor GPU but have 3 M1 Macbooks 🥴

Похожие видео

Let's talk about training and how hard you need to push yourself at home before you go for any trials. I remember when I knew that I will be traveling for a trial, i stopped going out of my neighbourhood to play football and I just locked in on training for 2month straight. I will do a roadside jogging from my house to the pitch at Ashiribo and I will train for like 2hrs or more and that was my routine every week except Sundays to rest and I did that for 2 months. Victor McDonald assigned me a coach to train and get me ready and he was by far the hardest I have ever trained. Days where I will tie a tyre around my waist to run on the sand, I did a lot of running,strength training, speed work on the sand with tyre. People who see me train have no idea why I was k!lling myself to train that hard. I once trained with Raphael Edereho a guy who I was looking up at that time and I was not able to walk for 2 days after training with him. I trained like my life depends on it. And I stayed away from many things that will slow me down like, bad friends, drinking, sm0king, including girls and I was just locked in on my purpose to make it happen and it paid off. After 3 months that I left Nigeria the news broke out that I signed for Sölvesborg GIF and People were surprised to see it in the news paper and even my father got asked questions like how or when did I traveled. I thought I trained well enough but to my surprise I was no where near ready at all. I couldn't believe what I saw during the trainings I had to call one of my coaches back home and tell him how hard the trainings are for me. The new generation of young players don't like to train and they except someone to just come and say I will take you to trials. Many have failed not because they don't have the talent but because they don't train enough to meet the standards and social media has made them think otherwise. Your preparation is the most important thing you can do for sure yourself and just like Kobe Bryant said if you are well prepared for it you will not be afraid of failure.

Abiola Dauda

15,507 просмотров • 4 месяцев назад