Run an AI Large Language Model (LLM) at home on your GPU
mCoding
@mcodingAbout
Latest Posts
Video Description
Download Docker Desktop: https://dockr.ly/46NkFOJ This video is sponsored by Docker. https://www.docker.com/ Large Language Models (LLMs) are a type of AI model that have proven to be extremely powerful and useful for a wide variety of tasks. They may be "large" in the sense that they use billions of parameters, but that doesn't mean you need to be a big company in order to run one. In fact, you can run some of the latest and greatest LLMs on your own machine, on your GPU, completely for free. We'll see how to do all that and more in this video using Docker Desktop! We'll even write an app to detect YouTube comment spam using an LLM. ― mCoding with James Murphy (https://mcoding.io) Docker: https://www.docker.com/ Ollama: https://ollama.com/ Ollama Docker image: https://hub.docker.com/r/ollama/ollama Ollama Python: https://github.com/ollama/ollama-python GPU compatibility: https://developer.nvidia.com/cuda-gpus Docker Tutorial Video: https://youtu.be/b0HMimUb4f0 Fast Pow algorithm Video: https://youtu.be/GrNJE6ogyQU YouTube Data API Video: https://youtu.be/0F9sdRtbwkE Source code: https://github.com/mCodingLLC/VideosSampleCode SUPPORT ME ⭐ --------------------------------------------------- Sign up on Patreon to get your donor role and early access to videos! https://patreon.com/mCoding Feeling generous but don't have a Patreon? Donate via PayPal! (No sign up needed.) https://www.paypal.com/donate/?hosted_button_id=VJY5SLZ8BJHEE Want to donate crypto? Check out the rest of my supported donations on my website! https://mcoding.io/donate Top patrons and donors: Laura M, Neel R, Dragos C, Jameson, Matt R, Pi, Vahnekie, Johan A, Mark M, Mutual Information BE ACTIVE IN MY COMMUNITY 😄 --------------------------------------------------- Discord: https://discord.gg/Ye9yJtZQuN Github: https://github.com/mCodingLLC/ Reddit: https://www.reddit.com/r/mCoding/ Facebook: https://www.facebook.com/james.mcoding CHAPTERS --------------------------------------------------- 0:00 Intro 0:56 Prerequisites 2:24 Running an model 4:33 Building an app 8:33 Containerizing the script
You May Also Like
Boost Your GPU Gaming Setup
AI-recommended products based on this video

EZDIY-FAB RTX 3000 Series 12 Pin to Dual 8 Pin PCIe Sleeved Extension Cable 300 MM- Connector for NVIDIA Ampere GEFORCE RTX 3060ti 3070 3080 FE Funder Edition- White

Asus TUF Gaming GeForce RTX ™ 5070 Ti 16GB GDDR7 BTF White OC Edition Gaming Graphics Card (PCIe® 5.0, HDMI®/DP 2.1, 3.125-slot, Military-Grade Components, with a Detachable GC-HPWR Adapter)

ASUS TUF F16 16" WUXGA 165Hz Gaming Laptop, Intel i7-14650HX, NVIDIA GeForce RTX 5070 8GB, 16GB DDR5, 1TB SSD, Backlit Keyboard, Number Pad, IR Camera, Wi-Fi 6E, Win 11, Gray, 1TB Docking Station Set

for 90MM Video Card Cooler Fan for GPU for MSI GeForce for RTX 3060 3070 3080 3090 3060Ti 3070TI for Gaming X Trio Graphics(1pcs)

Laptop Parts 3Pcs/Set GA82S2H DIY GPU Fan Graphics Card Cooling for ZOTAC RTX 3060 12GD for GE PRO 2060 6G 3060Ti 8G GTX 1660 Super

Laptop Parts Cooling Fan 89mm 4pin GA92S2U CF9015H12S for Zotac Gaming RTX 3060 Ti 3050 Twin Edge Graphics Card Fan(Purple)

4PIN 75MM RTX2060 GTX1660 GPU Fan for Zotac 1660TI for RTX 2060 8GD6 for Thunder OC HA

2PCS/Set 87MM GA92A2H for Cooling Fan for ZOTAC GTX 1660 Ti RTX 2060 2070 Super Mini Video Card Cooler GFY09215M12SPA

EVGA Geforce Rtx 3060 Xc Gaming (12Gb Gddr6/Pci Express 4.0/1882Mhz/15000Mhz), 12G-P5-3657-KR

EVGA GeForce RTX 3060 Ti XC Gaming, 08G-P5-3663-KR, 8GB GDDR6, iCX3 Cooling, Metal Backplate

EVGA GeForce RTX 3060 Ti XC Gaming, 08G-P5-3663-KL, 8GB GDDR6, Metal Backplate, LHR

MSI NVIDIA GeForce RTX 3050 Ventus 2X XS 8G OC Graphics Card - 8 GB GDDR6, 1807 MHz, PCI Express Gen 4, 128 Bits, DP v 1.4a, DL DVI-D, HDMI 2.1 (Supports 4K at 120Hz)

Asus Dual NVIDIA GeForce RTX 3050 6GB OC Edition Gaming Graphics Card - PCIe 4.0, 6GB GDDR6 Memory, HDMI 2.1, DisplayPort 1.4a, 2-Slot Design, Axial-tech Fan Design, 0dB Technology, Steel Bracket

HP Victus 15.6" 144Hz FHD Gaming Laptop, Intel i5-12450H, 32GB RAM, 1TB PCIe SSD, NVIDIA GeForce RTX 3050, Backlit Keyboard, HD Webcam, Win 11, Blue, 256GB Docking Station Set

Acer Swift X 14" FHD Laptop, AMD Ryzen 7 5825U, NVIDIA GeForce RTX 3050Ti, 16GB RAM, 512GB SSD, Windows 11 Home

Gigabyte GeForce RTX 3090 Gaming OC 24G Graphics Card, 3X WINDFORCE Fans, 24GB 384-Bit GDDR6X, GV-N3090GAMING OC-24GD Video Card

GIGABYTE GeForce RTX 3070 Gaming OC 8G (REV2.0) Graphics Card, 3X WINDFORCE Fans, LHR, 8GB 256-bit GDDR6, GV-N3070GAMING OC-8GD REV2.0 Video Card

GIGABYTE GeForce RTX 3070 Ti Gaming OC 8G Graphics Card, WINDFORCE 3X Cooling System, 8GB 256-bit GDDR6X, GV-N307TGAMING OC-8GD Video Card

95MM T129215SU Cooling Fan for ASUS ROG Strix for GeForce RTX 3060 3070 3080 3090 Ti Graphics Card CF1010U12S/D T129215BU(Black A-Fan T12)

EVGA 10G-P5-3897-KR GeForce RTX 3080 FTW3 Ultra Gaming, 10GB GDDR6X, iCX3 Technology, ARGB LED, Metal Backplate

MSI GeForce RTX 3060 Ventus 2X 12G Gaming Graphics Card - RTX 3060

MSI Geforce RTX 3060 Gaming X, 12gb, Gddr6, 192-bit, 912-v397-019 Video Card, Model: V397-019R

for 90MM Video Card Cooler Fan for GPU for MSI GeForce for RTX 3060 3070 3080 3090 3060Ti 3070TI for Gaming X Trio Graphics(1pcs)

GIGABYTE GeForce RTX 3070 Gaming OC 8G (REV2.0) Graphics Card, 3X WINDFORCE Fans, LHR, 8GB 256-bit GDDR6, GV-N3070GAMING OC-8GD REV2.0 Video Card

GIGABYTE GeForce RTX 3070 Ti Gaming OC 8G Graphics Card, WINDFORCE 3X Cooling System, 8GB 256-bit GDDR6X, GV-N307TGAMING OC-8GD Video Card

2PCS 95mm 7PIN T129215SU FDC10U12S9-C 12V 0.5A RTX3070 3060Ti Graphic Card Cooler Fan for ASUS GeForce RTX 3060 Ti 3070 Dual OC Fan

for Cooling 95MM FDC10U12S9-C 7PIN RTX3070TI 3060TI GPU Fan for ASUS Dual for GeForce RTX 3060 3070 V2 OC Edition Video Card Fan(CF1010U12S)

95MM FDC10U12S9-C CF1010U12S 7PIN RTX3070TI 3060TI for GPU Fan for ASUS Dual for GeForce RTX 3060 3070 V2 OC Edition 8GB Video Card Fan(Black A-Fan T12)



















