I compiled a PyTorch AI model to run locally on iOS & Android! This keeps conversations private, free, & data compliant (both GDPR & HIPAA). In this video tutorial, i’ll show you exactly how I did this for my ongoing healthcare project titled Doctor Dignity (previously titled DoctorGPT) so that you can do the same thing for any AI model, particularly Large Language Models. We start by building a simple language model in Python that runs on an Intel CPU, then accelerate it using CUDA for Nvidia GPUs, Metal for iOS GPUs, Vulkan for Android GPUs, and finally the Tensor Virtual Machine for both iOS and Android. We have a lot to GPU Programming cover in this video, comparing and contrasting different GPU programming techniques (computation vs allocation, abstraction vs transformation, stochastic optimization vs gradient based optimization). My next goal is to get a 3 billion parameter model to pass the US Medical Licensing exam and run on mobile devices. Don’t worry if you’re a beginner to all this, just sit back relax and enjoy the ride, I tried to make this as accessible as possible to all developers.
Star Doctor Dignity on GitHub:
Please Subscribe! That’s what keeps me going.
Want more AI/ML education? Connect with me here:
X:
Instagram:
Facebook:
Linkedin:
Tiktok: @sirajraval
Doctor Dignity Original Video:
Doctor Dignity iOS app: (Warning: this is a beta with bugs, please do not have high expectations, i promise it will get a lot better next month)
I Built a Trading bot with Bing and ChatGPT:
I Built a Sports Betting Bot with ChatGPT:
I Built a Trading Bot with ChatGPT:
Watch ChatGPT Build an AI Startup:
Watch ChatGPT Build a Finance Startup:
Learn Machine Learning in 3 Months:
Join my AI community:
1 view
99
40
3 months ago 00:11:48 1
Siraj Raval - AI Turned $10k into Profits in 24hrs (No Coding!)
11 months ago 00:05:48 1
Siraj Raval - I Built a Sports Betting Bot (WagerGPT)
11 months ago 00:04:50 1
Siraj Raval - Deep Learning with 4th Gen Xeon Processors and Intel® Accelerator Engines (AWS re:Invent 2023)
11 months ago 00:05:13 1
Siraj Raval - AI for Skill Transfer (like the Matrix!)
12 months ago 00:18:29 2
Siraj Raval - I Built an AI Sports Betting Bot with ChatGPT
1 year ago 00:09:03 1
Siraj Raval - I Built a Llama 2 Advisor for Composer Strategies!
1 year ago 00:41:45 1
Siraj Raval - Offline AI on iOS and Android
1 year ago 00:19:56 1
Siraj Raval - PrizePicks Prediction Showdown: AI vs OddsJam
2 years ago 00:22:21 3
Siraj Raval - I Built a Sports Betting Bot with ChatGPT
2 years ago 00:18:33 1
Siraj Raval - I Built a Trading Bot with ChatGPT
3 years ago 00:00:00 1
Siraj Raval Live Stream
3 years ago 00:02:45 8
Slay – Official Music Video | Yunan & Krissann B | Raftaar | Deep Kalsi | Dance Song 2021
4 years ago 00:04:37 3
Macinley Butson’s Story: Inventing Armour to Battle Radiation