lambda-research
lambda-research on Hacker News
That's not exactly accurate. In the data parallel side of techniques, the Distributed Data Parallel (DDP) approach does require a fully copy of the model on each GPU. However there's also Fully Sharded Data Parallel (FSDP) which does not.
Similarly things like tensor parallelism (TP) split the model over GPUs, to the point where full layers are never in a single GPU anymore.
Combining multiple of the above is how huge foundation models are trained. Meta used 4d parallelism (FSDP + TP and pipeline/context parallelism) to train llama 405b.
But how do we measure the quality of the outputs? Is choice of color more important than the realistic aspect or is it the composition of the scene?
We’ve launched a Text-to-Video Model Leaderboard to explore these questions, inspired by the LLM Leaderboard (lmarena.ai). Our idea: many models exist, but only an unbiased comparison can help evaluating what users of text-to-video models actually find most important.
Right now, the leaderboard includes five open-source models: * HunyuanVideo * Mochi1 * CogVideoX-5b * Open-Sora 1.2 * PyramidFlow
We plan to expand it to include proprietary models from Kling AI, LumaLabs.ai, Pika.art. You can check out the current leaderboard here: https://t2vleaderboard.lambdalabs.com/leaderboard/
We’re looking for feedback from the HN community: * How should text-to-video models be evaluated? * What criteria or benchmarks would you find meaningful? * Are there other models we should include?
We’d love to hear your thoughts and suggestions!
Show HN: Text-to-Video Arena
For those on tiktok, how many times have you found yourself easily believing some random person online who you have no idea the credentials of? And this has been a problem for a long time (news, internet, etc).
It's just interesting to me we are asking way more of AI than we can ever ask from humans.
Show HN: Open-Source Python REPL with AI Tutor for Learning and Problem-Solving
Companion is a free, open-source web app, featuring a Python REPL environment with an AI Tutor designed to support one’s learning and problem-solving in programming. I am leveraging the Hermes 3 405B model from Nous Research, hosted on Lambda’s Inference API.It's community-driven, 100% free, and open to all. I’d love your feedback and suggestions. Here's a short video where I demo the tool:...
Definitely nice to see them not cherrypick results - makes them more believable that its not the best along all axes.
Once you move to training really large models like Llama 405B with FSDP and use things like CPU offloading, the throughput goes down quite a bit due to all the data transfers between CPU/GPU. If you have large enough clusters and don't have to use CPU offloading, you can get higher throughput.
E.g. Llama 3.1 8B which is one of the smaller models has matrix multiplications like `(batch, 14336, 4096) x (batch, 4096, 14336)`.
I just don't think this benchmark is realistic enough.
Feel free to open issue on github, and contributions are welcome also
Show HN: How to guide on training Llama-405B using PyTorch distributed APIs
https://github.com/LambdaLabsML/distributed-training-guide/tree/main/06-training-llama-405b
Been working on a guide for ML folks to upgrade their single GPU training code to multi GPU and multi node. Code diffs and explanations are included.The guide builds up to this final chapter (linked) on how to train a very large model like Llama 3.1 405B on a big cluster with plain pytorch.Everything is just written using the direct pytorch apis (other than the model code which is just using...