FREE Local LLMs on Apple Silicon | FAST!

  Рет қаралды 141,895

Alex Ziskind

Alex Ziskind

Ай бұрын

Step by step setup guide for a totally local LLM with a ChatGPT-like UI, backend and frontend, and a Docker option.
Temperature/fan on your Mac: www.tunabellysoftware.com/tgp... (affiliate link)
Run Windows on a Mac: prf.hn/click/camref:1100libNI (affiliate)
Use COUPON: ZISKIND10
🛒 Gear Links 🛒
* 🍏💥 New MacBook Air M1 Deal: amzn.to/3S59ID8
* 💻🔄 Renewed MacBook Air M1 Deal: amzn.to/45K1Gmk
* 🎧⚡ Great 40Gbps T4 enclosure: amzn.to/3JNwBGW
* 🛠️🚀 My nvme ssd: amzn.to/3YLEySo
* 📦🎮 My gear: www.amazon.com/shop/alexziskind
🎥 Related Videos 🎥
* 🌗 RAM torture test on Mac - • TRUTH about RAM vs SSD...
* 🛠️ Host the PERFECT Prompt - • Hosting the PERFECT Pr...
* 🛠️ Set up Conda on Mac - • python environment set...
* 🛠️ Set up Node on Mac - • Install Node and NVM o...
* 🤖 INSANE Machine Learning on Neural Engine - • INSANE Machine Learnin...
* 💰 This is what spending more on a MacBook Pro gets you - • Spend MORE on a MacBoo...
* 🛠️ Developer productivity Playlist - • Developer Productivity
🔗 AI for Coding Playlist: 📚 - • AI
Repo
github.com/open-webui/open-webui
Docs
docs.openwebui.com/
Docker Single Command
docker run -d --network=host -v open-webui:/app/backend/data -e OLLAMA_BASE_URL=127.0.0.1:11434 --name open-webui --restart always ghcr.io/open-webui/open-webui:main
- - - - - - - - -
❤️ SUBSCRIBE TO MY KZbin CHANNEL 📺
Click here to subscribe: / @azisk
- - - - - - - - -
Join this channel to get access to perks:
/ @azisk
- - - - - - - - -
📱 ALEX ON X: / digitalix
#machinelearning #llm #softwaredevelopment

Пікірлер: 281
@camsand6109
@camsand6109 Ай бұрын
This channel is the gift that keeps on giving.
@isaquehg
@isaquehg 10 күн бұрын
I really appreciated your approach showing "behind the scenes" instead of just running Docker. Great video, as always!
@JosepCrespoSantacreu
@JosepCrespoSantacreu Ай бұрын
Another great video Alex, I really enjoy your videos. And I really appreciate your perfect diction in English, which makes it easy to follow your explanations even for those who do not have English as their first language.
@asnifuashifj91274
@asnifuashifj91274 Ай бұрын
Great video Alex! yes please make videos on image generation!
@AC-cg6mf
@AC-cg6mf Ай бұрын
I really like that you showed the non-docker install first. I think too many rely on docker black-boxes. I prefer this. Thanks!
@philipo1541
@philipo1541 Ай бұрын
Dockers are not a black-box. You can get it in them, and change stuff!!!
@veccio
@veccio 25 күн бұрын
Respectfully, Docker need not be a black box. Don’t be afraid to tinker and dig in. :) But I get how doing it manually forces you to touch different parts.
@brunosanmartin1065
@brunosanmartin1065 Ай бұрын
These videos are so exciting for me; this channel is the number one on KZbin. That's why I subscribe and gladly pay for KZbin Premium. A hug, Alex!
@AZisk
@AZisk Ай бұрын
thanks for saying! means a lot
@RealtyWebDesigners
@RealtyWebDesigners Ай бұрын
Now we need 1TB MEMORY DRIVES (Like the Amiga used to have 'fast ram' )
@MrMrvotie
@MrMrvotie Ай бұрын
@@AZisk Is their any chance you could incorporate a PC GPU Relative Performance Equivalence to each new apple silicon microchip that you review?
@aldousroy
@aldousroy Ай бұрын
Awesome thing waiting for more videos on the way
@3monsterbeast
@3monsterbeast 25 күн бұрын
This channel is going to be growing so fast; you make great videos that are very helpful!
@gustavohalperin
@gustavohalperin Ай бұрын
Great video!! And yes, please add a video explaining how to add the images generator.
@AaronHiltonSPD
@AaronHiltonSPD Ай бұрын
Amazing tutorial. Great stuff!
@AZisk
@AZisk Ай бұрын
Thank you! Cheers!
@ChrisHaupt
@ChrisHaupt Ай бұрын
Very interesting, will definitely be trying this when I get a little downtime!
@Ginto_O
@Ginto_O Ай бұрын
Thank you, got it to work without docker
@7764803
@7764803 Ай бұрын
Thanks Alex for videos like this 👍 I would like to see Image generation follow up video 😍
@ReginaldoKono
@ReginaldoKono Ай бұрын
Yes Alex, you will help us more if we could learn with you how on how to add an image generator as well. We thank you for your time and colaboraron. Your channel is a must have subscription in it now-a-days.
@kaorunguyen7782
@kaorunguyen7782 Ай бұрын
Alex, I love this video very much. Thank you!
@cstenger
@cstenger 25 күн бұрын
I like the manual installation process because it uses less resources than having docker running all the time on your mac. thanks for the tutorial, I really enjoyed doing it and seeing how it works.
@sungm2n
@sungm2n Ай бұрын
Amazing stuff. Thank you
@mrdave5500
@mrdave5500 Ай бұрын
Woot woot! great stuff. Nice easy tutorial and I now have a 'smarter' Mac. Thanks :)
@johnsummers7389
@johnsummers7389 Ай бұрын
Great Video Alex. Thanks.
@AZisk
@AZisk Ай бұрын
Glad you liked it!
@moranmono
@moranmono Ай бұрын
Great video. Awesome 👏
@ilkayayas
@ilkayayas Ай бұрын
Nice. Image generation and integrating new chatgpt in to this will be great.
@guyguy467
@guyguy467 Ай бұрын
Thanks! Very nice video
@AZisk
@AZisk Ай бұрын
Wow! Thank you!
@loveenjain
@loveenjain Ай бұрын
Excellent Video giving it a try tonight on my M3 Max 14 inch model and see what are the results will share probably...
@sikarinkaewjutaniti4920
@sikarinkaewjutaniti4920 Ай бұрын
Thx for sharing good stuff for us. Nice onec
@BenjaminEggerstedt
@BenjaminEggerstedt Ай бұрын
This was interesting, thanks
@vadim487
@vadim487 Ай бұрын
Alex, you are awesome!
@OrionM42
@OrionM42 Ай бұрын
Thanks for the video.😊😊
@marcel948
@marcel948 20 күн бұрын
Excellent video! Keep up!
@bvlmari6989
@bvlmari6989 Ай бұрын
Amazing video omg, incredible tutorial man
@AZisk
@AZisk Ай бұрын
Glad you liked it!
@iv4sik
@iv4sik Ай бұрын
if ur trying docker, make sure it is version 4.29+, as host network driver (for mac) revealed there as a beta feature
@DaveEtchells
@DaveEtchells Ай бұрын
I was gonna spring for a maxed M3 Max MBP, but saw rumors that the M4 Max will have more AI-related chops, so just picked up a maxed M1 Max to tide me over 😁 Really excited about setting all this up, finding this vid was very timely, thanks!
@erenyeager655
@erenyeager655 Ай бұрын
One thing for sure... I'll be implementing this on my menu bar for easy access :D
@jorgeluengo9774
@jorgeluengo9774 Ай бұрын
by the way, I just joined your channel, I really enjoyed these videos, very helpful, thanks!
@AZisk
@AZisk Ай бұрын
awesome. welcome!
@soulofangel1990
@soulofangel1990 Ай бұрын
Yes, we do.
@mendodsoregonbackroads6632
@mendodsoregonbackroads6632 Ай бұрын
Yes I’m interested in an image generation video. I’m running llama3 in Bash, haven’t had time to set up a front end yet. Cool video.
@gligoran
@gligoran Ай бұрын
Amazing video! I'd just recommend Volta over nvm.
@keithdow8327
@keithdow8327 Ай бұрын
Thanks!
@AZisk
@AZisk Ай бұрын
Wow 🤩 thanks so much!
@AzrealNimer
@AzrealNimer Ай бұрын
I would love to see the image generation tutorial 😁
@Meet7
@Meet7 Ай бұрын
thanks alex
@WokeSoros
@WokeSoros Ай бұрын
I was able to, by tracking down your Conda video, get this running. I have some web dev and Linux experience, so it wasn’t a huge chore but certainly not easy going in relatively blind. Great tutorial though. Much thanks.
@Dominickleiner
@Dominickleiner Ай бұрын
instant sub, great content thank you!
@AZisk
@AZisk Ай бұрын
Welcome aboard!
@agnemedia624
@agnemedia624 Ай бұрын
Thanks 👍🏻
@dibyajit9429
@dibyajit9429 Ай бұрын
I've just started my career as a Data Scientist, and I found this video to be awesome! 🤩🥳Could you please consider making a video on image generation (in LLama 3) in a private PC environment?🥺🥺
@haralc
@haralc Ай бұрын
Oh you got distracted! You're a true developer!
@LucaCilfoneLC
@LucaCilfoneLC Ай бұрын
Yes! Image generation, please!
@RealtyWebDesigners
@RealtyWebDesigners Ай бұрын
BTW - One of the BEST programmer channels!
@AdityaSinghEEE
@AdityaSinghEEE Ай бұрын
Can't believe, I found this video today because I just started searching for Local LLMs yesterday and today, I found the complete guide. Great video Alex :)
@scorn7931
@scorn7931 Ай бұрын
You live in Matrix. Wake up
@Daydream_Dynamo
@Daydream_Dynamo 14 күн бұрын
Please do a video about image generation!!
@ontime8109
@ontime8109 Ай бұрын
thanks!
@willmartin4715
@willmartin4715 Ай бұрын
i believe my laptop has 80 Tensor cores. for starters. This looks like a really good shift for a fri night! thanks.
@akhimohamed
@akhimohamed Ай бұрын
As a game dev, this is so good to have. Btw am gonna try this on parallels for my m1 pro
@Lucas-fl8ug
@Lucas-fl8ug Ай бұрын
You mean in windows through parallels? why would it be useful?
@shapelessed
@shapelessed Ай бұрын
YO! Finally hearing of a big Svelte project! Like really, it's so much quicker and easier to ship with Svelte than others, why am I only seeing this now?
@AZisk
@AZisk Ай бұрын
Svelte for the win!
@precisionchoker
@precisionchoker Ай бұрын
Well.. Apple, Brave, New York times, IKEA among other big names all use svelte
@shapelessed
@shapelessed Ай бұрын
​@@precisionchoker But they do not acknowledge that too much..
@innocent7048
@innocent7048 Ай бұрын
Here you have a super like - and a cup of coffee 🙂
@AZisk
@AZisk Ай бұрын
Yay, thank you! I haven't been to Denmark in a while - beautiful country.
@lucerocj
@lucerocj 16 күн бұрын
Would love to see an extended video on working with local files for this option.
@XinYue-ki3uw
@XinYue-ki3uw Ай бұрын
i like this tutorial, it is computer dummy friendly~
@filipjofce
@filipjofce Ай бұрын
So cool, and it's free (if we don't count the 4 grands spent for the machine). I'd love to see the images generation
@youssefragab2109
@youssefragab2109 Ай бұрын
This is really cool, love the channel and the videos Alex! Just curious, how is this different to an app like LM Studio? Keep up the good work!
@yuanyuanintaiwan
@yuanyuanintaiwan Ай бұрын
My guess is that this web UI has more capabilities such as image generation which LM Studio doesn’t have. If the goal is simply to have text interaction, then I agree that this may not be necessary
@davidgoncalvesalvarez
@davidgoncalvesalvarez Ай бұрын
My M1 Mac 16GB be real frightened on the side rn.
@blackandcold
@blackandcold Ай бұрын
I ran 7b variants no problem on my now sold m1 air 16g
@ivomeadows
@ivomeadows Ай бұрын
got macbook with the same specs. tried to run 15b starcoder2 quantized k5m in LM studio on it, max GPU layers, getting me around 12-13 tokens per sec, not good but manageable
@RobertMcGovernTarasis
@RobertMcGovernTarasis Ай бұрын
Don't be, unless you are using other things that are super heavy as well. Llama3 8B(?) takes up about 4.7GB of Ram, with the Silicon's event use of the Nvme and Swap you'll be fine. (I prefer using LM Studio now to Ollama as it has CLI and Web built in, no need for Docker/OrbStack but, Ollama on its own without a WebUI works too)
@martinseal1987
@martinseal1987 Ай бұрын
😂
@DanielHarrisCodes
@DanielHarrisCodes Ай бұрын
Great video. What format are LLM models download as? Looking into how I can use those downloaded with OLLAMA with other technologies like .NET
@Raptor235
@Raptor235 Ай бұрын
Great video Alex, is there anyway to have an LLM execute local shell scripts to perform tasks?
@erwintan9848
@erwintan9848 Ай бұрын
Is it fast on mac m1 pro too? How many storage used for all instalation sir? Your video is awesome!
@jakubpeciak429
@jakubpeciak429 Ай бұрын
Hi Alex, I would like to see the image generation video
@pixelplay1098
@pixelplay1098 Ай бұрын
Amazing stuff as Usual. Now make a tutorial on Automatic 1111
@Mikoaj-ie6gt
@Mikoaj-ie6gt Ай бұрын
very intresting
@MohammedAraby
@MohammedAraby Ай бұрын
Well be happ to see a tutorial for automatic 1111 ❤
@ashesofasker
@ashesofasker Ай бұрын
Great video! So are you saying that we can get ChatGPT like quality just faster, more private and for free by running local LLM's on our personal machines? Like, do you feel that this replaces ChatGPT?
@yianghan751
@yianghan751 Ай бұрын
Alex, excellent video! Can my MacBook air m2 with 16G RAM host these AI engines smoothly?
@zorawarsingh11
@zorawarsingh11 Ай бұрын
Yes do images please 🙏🏻
@cjchand
@cjchand Ай бұрын
Just some food for thought for future vids: Anaconda's licensing terms changed to require any org > 200 employees to license it. For this reason, many Enterprises are steering their devs away from Anaconda. Would be helpful if the tutorials used "vanilla" Python (e.g.: venv) unless Conda were truly necessary. Thanks for the vids and keep up the great work!
@AZisk
@AZisk Ай бұрын
good to know. thanks
@MW-mn1el
@MW-mn1el Ай бұрын
I use Ollama with Continue plugin with VSCode. And Chatbox GUI when not code related. Work well with both Mac and Linux with Ryzen 7000 CPU. On linux it's running in a podman(docker) container. But best experience is with MacBook Pro, apple silicon and unified memory make it speedy.
@travelchoice89
@travelchoice89 Ай бұрын
🚀 Excited to dive into this video! Local LLMs on Apple Silicon for FREE? That's a game-changer! Let's see just how FAST these optimizations are! 🍏💻
@matteobottazzi6847
@matteobottazzi6847 Ай бұрын
A video on how you could incorporate these LLMs in your applications would be super interesting! Let's say that in your application you have a set of pdfs or html files that provide documentation on your product. If you let these LLMs analyse that documentation, then the user could get very useful information just asking and not searching through all of the documentation files!
@FelipeViaud
@FelipeViaud Ай бұрын
+1
@neoqe6lb
@neoqe6lb 26 күн бұрын
Ollama has api endpoints that you can integrate in your apps. Check their documentation.
@113bast
@113bast Ай бұрын
Please show image generation
@thevirtualdenis3502
@thevirtualdenis3502 Ай бұрын
Thanks ! Is Macbook air enough for that?
@kdnz_music
@kdnz_music 26 күн бұрын
Just install LM Studio and get any model and good native ui in a couple clicks
@gayanperera7273
@gayanperera7273 Ай бұрын
Thanks @Alex, by the way is there a reason it can only use GPU, any reason not taking advantage of NPUs ?
@toddbristol707
@toddbristol707 Ай бұрын
Great channel! I just did a build something similar with lm studio and flask based web ui. I’m going to try this method now. Btw, what was the ‘code .’ command you ran? Are you using visual studio code? Thanks again!
@AZisk
@AZisk Ай бұрын
Thanks! and thanks for joining. I did the flask thing a few videos ago, but it's just another thing to maintain. I find this webui a lot more feature rich and better looking. And yes, the 'code .' command just opens the current folder in VSCode
@AIandVisuals
@AIandVisuals 19 күн бұрын
Great video. Congrats. But how to install node? Would it not work with a Python front end?
@jehad4455
@jehad4455 Ай бұрын
Mr. Alex Ziskind Could you clarify whether training deep learning models on a GPU for the Apple Silicon M3 Pro might reduce its lifespan? Thank you.
@OlegShulyakov
@OlegShulyakov Ай бұрын
When there will be a video to run LLM on an iPhone or iPad? Like using LLMFarm
@reyaustineechavez9600
@reyaustineechavez9600 22 күн бұрын
This hungs up my M1 Air everytime I gave a prompt Lol
@99cya
@99cya Ай бұрын
Hey Alex, would you say Apple is in a very good position when it comes to AI and the required hardware? So far Apple has been really quiet and lots of ppl dont think Apple can have an edge here. Whats your thought in general here?
@cookiebinary
@cookiebinary Ай бұрын
Tried llama3 on 8GB ram M1 :D ... I guess I was too optimistic
@FaysalBDev
@FaysalBDev Ай бұрын
lets do some image generation please it would be super helpful
@rickymassi
@rickymassi Ай бұрын
Why not doing a deployment with Electron, so you have a desktop application. Btw I love this thing!!!
@tyron2854
@tyron2854 Ай бұрын
What about a new M4 iPad Pro video?
@uwegenosdude
@uwegenosdude 27 күн бұрын
Thanks for the video. I tried to download the code companion. Do you know why when the download of this LLM is going on, happens an upload of a couple of GBytes?
@engr.hashimali758
@engr.hashimali758 5 күн бұрын
Hi Alex, I really appreciate your work, can you please sugggest me any model where I need a detailed summary and breakdown of quantities from this construction PDF drawings. Which organize the quantities by type (linear feet, square feet, each) and categorize them by division (e.g., General Requirements, Sitework). Waiting for your response!
@ToddyIvon
@ToddyIvon Ай бұрын
just setup my last night
@nimahakimi597
@nimahakimi597 Ай бұрын
My bro. 9k views 1k likes. Beautiful ❤
@RealtyWebDesigners
@RealtyWebDesigners Ай бұрын
Best channel for REAL computer users - Others are just, look how fast I can compile 'VIDEOS' about doing 'videos' - Retards.
@joaquincaballero4353
@joaquincaballero4353 Ай бұрын
Image generation video please
@truenetgmx
@truenetgmx Ай бұрын
now benchmark it vs mac air :) also wonder how much these are usefull tools and not just toys
@MeinDeutschkurs
@MeinDeutschkurs Ай бұрын
Without a mug, I could not do all of this. Nice to see that you also need a mug while doing all of these tasks. 🎉 #adictedTOmugs
@AZisk
@AZisk Ай бұрын
So true!
@MeinDeutschkurs
@MeinDeutschkurs Ай бұрын
@@AZisk 😆🤗 yeah!
@thetabletopskirmisher
@thetabletopskirmisher Ай бұрын
What advantage does this have over using LM Studio that you can install directly as an app instead of using the Terminal? (Genuine question)
@rajvanshmalhotra931
@rajvanshmalhotra931 24 күн бұрын
Hey I have mac m2 normal one I want to use it for ml and dl is it possible to use it ? The normal way or should I do all my work on colab ?
@bisarothub1644
@bisarothub1644 Ай бұрын
Great video. But I think Jan AI is a lot easier to configure and setup for mac users
@jorgeluengo9774
@jorgeluengo9774 Ай бұрын
Thank You Alex, amazing video, I followed all steps and I enjoyed the process and the results with my m3 max. I wonder if there is a GPT that we can use from the laptop and have searches online since the cutoff knowledge date of these models seem to be over a year ago or more. For example when I ask questions of what is the terraform provider version for aws or other type of platform, is old and there is a potential to have deprecated code responses. What do you recommend in this case? not sure if you have already a video for that lol.
@AZisk
@AZisk Ай бұрын
that’s a great question. you’ll need to use a framework like flowise or langchain to accomplish this I believe, but i don’t know much about them - it’s on my list of things to learn
@jorgeluengo9774
@jorgeluengo9774 Ай бұрын
@@AZisk makes sense, I will do some research about it and see what I can find out to test but I will look forward when you share a video with this type of model orchestration, will be fantastic.
@motocar1585
@motocar1585 15 күн бұрын
how to do it with docker and also can i live this host it on vercel or netlify ??
@ChiliadStudios
@ChiliadStudios 23 күн бұрын
please make a video on how to run huggingface models on this thing. i cant for the life of me figure it out. such a headache
@AlexLaslau
@AlexLaslau Ай бұрын
MBP M1 Pro with 16GB of RAM would be enough to run this?
@swapwarick
@swapwarick Ай бұрын
I am running llama, code Gemma on my laptop for local files intelligence. It's slow but damm it reads all my PDFs and give perfect overview
@devinou-programmationtechn9979
@devinou-programmationtechn9979 Ай бұрын
Do you do it through ollama and open webui ? I m curious as to how you can send files to be processed by llms
@ShakeAndBakeGuy
@ShakeAndBakeGuy Ай бұрын
@@devinou-programmationtechn9979 GP4All works fairly well with attachments. But I personally use Obsidian as a RAG to process markdown files and PDFs. There are tons of plugins like Text Generator and Smart Connections that can work with Ollama, LM Studio, etc.
@TheXabl0
@TheXabl0 Ай бұрын
Can you describe this “perfect overview”? Just curious what you mean by
@swapwarick
@swapwarick Ай бұрын
Yes running open webui for llama and code Gemma llms on windows machine. Running open webui on localhost gives textarea where you can upload the file. The upload takes time. Once it is done, you can ask questions like give me an overview of this document, tell me all the important points of this document etc
@TheChindoboi
@TheChindoboi Ай бұрын
Gemma doesn’t seem to work well on Apple silicon
Set up a new Surface Laptop 7 for Software Development
38:22
Alex Ziskind
Рет қаралды 42 М.
LLMs with 8GB / 16GB
11:09
Alex Ziskind
Рет қаралды 46 М.
Получилось у Вики?😂 #хабибка
00:14
ХАБИБ
Рет қаралды 6 МЛН
Homemade Professional Spy Trick To Unlock A Phone 🔍
00:55
Crafty Champions
Рет қаралды 57 МЛН
Wait for the last one! 👀
00:28
Josh Horton
Рет қаралды 105 МЛН
I Analyzed My Finance With Local LLMs
17:51
Thu Vu data analytics
Рет қаралды 426 М.
host ALL your AI locally
24:20
NetworkChuck
Рет қаралды 779 М.
Zed Editor Overview | Linux Quick Start
10:34
Brian Cooper
Рет қаралды 21 М.
Cool Tools I’ve Been Using Lately
23:11
Theo - t3․gg
Рет қаралды 184 М.
Apple's Fastest Mac vs. My $5496 PC
14:55
optimum
Рет қаралды 2,2 МЛН
FREE Local Image Gen on Apple Silicon | FAST!
9:33
Alex Ziskind
Рет қаралды 38 М.
TRUTH | 1 week with 8GB M3 MacBook
12:58
Alex Ziskind
Рет қаралды 238 М.
7 Amazing CLI Tools You Need To Try
18:10
Josean Martinez
Рет қаралды 241 М.
Mac Settings That ACTUALLY Make A Difference
11:23
FromSergio
Рет қаралды 372 М.
Apple's Silicon Magic Is Over!
17:33
Snazzy Labs
Рет қаралды 967 М.
iPhone 12 socket cleaning #fixit
0:30
Tamar DB (mt)
Рет қаралды 51 МЛН
Игровой Комп с Авито за 4500р
1:00
ЖЕЛЕЗНЫЙ КОРОЛЬ
Рет қаралды 310 М.
#miniphone
0:16
Miniphone
Рет қаралды 3,6 МЛН