How to run PyTorch, TensorFlow, and JAX on your Mac (Apple Silicon)
Mô tả
Link with instructions and code: https://github.com/svpino/apple-silic... I teach a live, interactive program that'll help you build production-ready Machine Learning systems from the ground up. Check it out here: https://www.ml.school To keep up with my content: • Twitter/X: / svpino
Danh sách bài giảng (1 bài)
Bài 1: How to run PyTorch, TensorFlow, and JAX on your Mac (Apple Silicon)
Video bài giảngBài kiểm tra Quizzes (0)
Chưa mở khóaĐánh giá từ học viên
Nhận xét và trải nghiệm thực tế từ các học viên đã đăng ký tham gia khóa học này.
Dựa trên 10 lượt đánh giá từ học viên
Đăng nhập để đánh giá khóa học
Bạn cần đăng nhập và tham gia khóa học để có thể gửi đánh giá và nhận xét.
Tất cả đánh giá 10
it's been 8 months and still not 1k likes but 22k views. Come on give this man what he deserves!
Thank you for the specific install instructions. Python dependencies can be so tricky, and as you pointed out official docs are often incomplete
Don't forget about Apples Matrix accelerators using CPU mode!
Funfact: Training Yolo26n (PyTorch) on an M4Pro on the CrowHuman Dataset runs more efficiently on the "CPU", because of the AMX-Extension.
Running on MPS used > 48 Gigs of RAM, yielding in regular Swapping, Runtime and Accelerator Exceptions. On the CPU the max RAM usage per EPOCH is around 2 Gigs with only 65 % Speed penalty (2.5 secs / iteration on CPU vs. 1.5 secs / iteration on MPS)
I'd rather have Training run stable for 10 hours with reliable results than coming back to my computer after 5 hours just to see the thing has crashed again.
That being said: I guess CrowdHuman is a special case with its object density. But it goes to show the power of Apple Silicon, if you know how to use it :-I
Thank you for this video! For those, who wonder - on M1 Max 32gb RAM and 32 GPU cores - timings on CPU were 18ms (instead 14.4ms in video on M3 Max), but on GPU - 3.3ms - even slightly better.