It's worth noting that this code specifically trains GPT-2.
PyTorch trains anything under the sun.
OPEN SOURCE
-
GPT-2 Training Code vs PyTorch’s Universal Capability
By
–
-
GPU and Disk Constraints: Need for Smaller Dataset Variants
By
–
I'm not only GPU poor but disk poor too. 350GB?
(And ofc doing so wouldn't be representative of the full data distribution)
Also while replying, ideally there could be a "dataset miniseries", e.g. 1B, 10B, 100B, and then full. I think would be very helpful and bandwidth saving. -
cuBLASLt and cuDNN Dependencies for Optimized Performance
By
–
Yes, cuBLASLt for gemms, cuDNN for flash attention
The fp32 version will become more educational and will delete these dependencies. The "mainline" version we just want to be really fast, so we're less discriminating. cuBLASLt I think is ~ok dep, but cuDNN turned out surprisingly -

llm.c Day 24: Multi-GPU Training in C/CUDA Outperforms PyTorch
By
–
Day 24 of llm.c: we now do multi-GPU training, in bfloat16, with flash attention, directly in ~3000 lines of C/CUDA, and it is FAST! We're running ~7% faster than PyTorch nightly, with no asterisks, i.e. this baseline includes all modern & standard bells-and-whistles: mixed
-

LangChain Weekly Release: LangSmith Improvements and LangGraph Tutorials
By
–
LangChain Release Notes, Week of 4/29 Improved regression testing experience in LangSmith Hotkeys and mustache support in LangSmith New Evaluations content Three new video tutorials using LangGraph Community created content! Read it all here:
-

Build RAG System Llama 3B-Instruct PDFs FAISS
By
–
Build a RAG system with Llama 3B-Instruct for your PDFs Uses API for partitioning & chunking, FAISS for vector store, huggingface for the model It's a collab notebook so it's easy to get started! Thanks @mariaKhalusova for a great resource! https://
colab.research.google.com/drive/1BJYYyrP
Ve0_9EGyXqeNyzmVZDrCRZwsg?usp=sharing#scrollTo=Y2m2l-vt_RSp
… -
Embedchain Documentation Confirms Feature Support
By
–
I think it supports that, to confirm you can check the Embedchain documentation.
-
LLM Apps with RAG: Explore Awesome Demos in GitHub Repository
By
–
Find all the awesome LLM Apps demo with RAG in the following Github Repo. P.S: Don't forget to star the repo to get updates on the future tutorials
-

OpenAI-Compatible API for Local Llama-3 Deployment
By
–
Bonus 2: Create OpenAI like API for Llama-3 deployed locallyhttps://t.co/Edui3AXfI6
— Shubham Saboo (@Saboo_Shubham_) 3 mai 2024Bonus 2: Create OpenAI like API for Llama-3 deployed locally
-
Run Llama-3 locally on your computer for free
By
–
Bonus: 3 ways to run Llama-3 locally on your computer (100% free and without internet)