microsoft / AI-For-Beginners

12 Weeks, 24 Lessons, AI for All!
https://microsoft.github.io/AI-For-Beginners/
MIT License
34.31k stars 5.72k forks source link

Using device-agnostic code in PyTorch #168

Open mohamedalishiha opened 1 year ago

mohamedalishiha commented 1 year ago

Could you please make the code device-agnostic so it can also run on Apple silicon Macbook? The current version of the code gives plenty of errors when running it on Mac.

### Tasks
- [x] Running code on codespaces and mac
BethanyJep commented 1 year ago

Hello,

have you tried using github codespaces?