Hacker News new | ask | show | jobs
by mark_l_watson 1988 days ago
I had the same experience. My M1 system does well on smaller models compared to a NVidia 1070 with 10GB of memory. My MacBook Pro only has 8GB total memory. Large models run slowly.

I found setting up Apple’s M1 fork of TensorFlow to be fairly easy, BTW.

I am writing a new book on using Swift for AI applications, motivated by the “niceness” of the Swift language and Apple’s CoreML libraries.

1 comments

do you happen to have a draft version available somewhere? i'm diving into ML with Swift soon
If you are interested in just the iOS/iPadOS/macOS platforms, then work through the tutorial articles on ML that Apple provides to devs.

If you are on Linux, then Swift for TensorFlow is OK. You will save some effort by using Google Colab notebooks, that support Swift and Swift for TensorFlow.

I think this is the book https://leanpub.com/SwiftAI
Thanks for linking that, but there is not much of the book written for now. I have mostly been working on the examples.