filmov
tv
Faster NumPy on Mac GPU with MLX
Показать описание
Accelerate your Numpy Scientific Workflows on Apple Silicon with MLX
In this video, I compare the execution speed of numpy and numba with MLX, a python library that executes code on Mac GPUs and provides a numpy-compatible API. For my tests, I simulate a large number time series that follow an AR(3)-GARCH(1,1) process and compute the t-stat for the H0 that mean returns are 0 for each sample path. Find out how MLX performs in comparison to numpy and numba!
Note: MLX requires Apple Silicon (M1/M2/M3).
👍 Please like if you found this video helpful, and subscribe to stay updated with my latest tutorials. 🔔
🔖 Chapters:
00:00 Intro
00:37 What is MLX?
04:00 Sample numpy workflow
06:18 MLX code
08:32 Numba code
10:52 Benchmarking
13:57 Benchmark results
17:19 Outro
Video links:
🐍 More Vincent Codes Finance:
#numba #mlx #numba #pandas #python #bigdata #research #researchtips #jupyternotebook #vscode #professor #pandas #finance #datascience #dataanalytics #dataanalysis
In this video, I compare the execution speed of numpy and numba with MLX, a python library that executes code on Mac GPUs and provides a numpy-compatible API. For my tests, I simulate a large number time series that follow an AR(3)-GARCH(1,1) process and compute the t-stat for the H0 that mean returns are 0 for each sample path. Find out how MLX performs in comparison to numpy and numba!
Note: MLX requires Apple Silicon (M1/M2/M3).
👍 Please like if you found this video helpful, and subscribe to stay updated with my latest tutorials. 🔔
🔖 Chapters:
00:00 Intro
00:37 What is MLX?
04:00 Sample numpy workflow
06:18 MLX code
08:32 Numba code
10:52 Benchmarking
13:57 Benchmark results
17:19 Outro
Video links:
🐍 More Vincent Codes Finance:
#numba #mlx #numba #pandas #python #bigdata #research #researchtips #jupyternotebook #vscode #professor #pandas #finance #datascience #dataanalytics #dataanalysis
Faster NumPy on Mac GPU with MLX
Make Python 1000x Faster With One Line 🐍 ⏩ (Numba Tutorial)
How to run PyTorch, TensorFlow, and JAX on your Mac (Apple Silicon)
Make Your Pandas Code Lightning Fast
PyTorch on Apple Silicon | Machine Learning | M1 Max/Ultra vs nVidia
I made Python 2x FASTER on my M1 MacBook
New GPU-Acceleration for PyTorch on M1 Macs! + using with BERT
Pandas Dataframes on your GPU w/ CuDF
Programming Language Tier List
PyTorch in 100 Seconds
How To Scare C++ Programmer
M3 MacBook Pro and the trouble under load
Python vs C/C++ vs Assembly side-by-side comparison
CUDA Simply Explained - GPU vs CPU Parallel Computing for Beginners
Train Pytorch with GPU on Apple Silicon (M1 series)
How I’d learn ML in 2024 (if I could start over)
Setup Mac for Machine Learning with PyTorch in 11 minutes (works for all M1, M2)
How to train Deep Neural Networks on GPU | TensorFlow | Nvidia | Cuda
Setup Mac for Machine Learning with TensorFlow in 13 minutes (works for all M1, M2)
Apple M3 Machine Learning Bargain
Day in My Life as a Quantum Computing Engineer!
Mojo Lang… a fast futuristic Python alternative
PyTorch vs TensorFlow | Ishan Misra and Lex Fridman
🤯 SURPRISING M3 MacBook Coding Performance
Комментарии