Menu

#Pytorch

75 posts

Feed·
20 of 75 posts
Run Any PyTorch LLM Natively on Google TPUs: A Zero-to-Hero Guide to TorchTPU (Part 1)
📰
0Read More

Run Any PyTorch LLM Natively on Google TPUs: A Zero-to-Hero Guide to TorchTPU (Part 1)

DEV Community: pytorch·Ahmed Elnaggar·1 day ago
#RlDGX6Gf
#devtopytorch#devto#dev#torch#torchtpu

Run standard PyTorch and HuggingFace LLMs directly on Google Cloud TPUs using TorchTPU (torch.device('tpu')) with zero JAX wrappers. Includes execution mode benchmarks, MXU precision parity, bounded dynamism, and 36x faster StaticCache decoding on Colab…

15s
Can You Train a 64M LLM in 2 Hours for ¥3? Inside 75.4K-Star MiniMind's 4,753 Lines of Pure PyTorch
📰
0Read More

Can You Train a 64M LLM in 2 Hours for ¥3? Inside 75.4K-Star MiniMind's 4,753 Lines of Pure PyTorch

DEV Community: pytorch·tomTOP·1 day ago
#fwEa0JVp
#devtopytorch#devto#dev#minimind#lines

jingyaogong/minimind just surged past 75,382 stars (9,985 forks, Apache-2.0) on GitHub Trending. Its...

15s
PyTorch Has No Authentication: How to Secure It
📰
0Read More

PyTorch Has No Authentication: How to Secure It

DEV Community: pytorch·Stefan·5 days ago
#gZWq7GU0
#devtopytorch#devto#dev#pytorch#distributed

PyTorch distributed features skip authentication by design. Learn why TCPStore and RPC expose nodes to remote code execution and how to secure them.

15s
FSDP vs Megatron-LM: which scales LLM training better?
🖼️
0Read More

FSDP vs Megatron-LM: which scales LLM training better?

DEV Community: pytorch·Viswaretas Kotra·8 days ago
#vUljqdQ2
#devtopytorch#devto#dev#fsdp#megatron

FSDP is simpler and enough while a model fits on one 8-GPU machine. Megatron-LM's tensor and pipeline split wins across machines on slow links.

15s
Weight Duplicate Finder: Reduce Model Memory by Detecting Duplicate Weights
📰
0Read More

Weight Duplicate Finder: Reduce Model Memory by Detecting Duplicate Weights

DEV Community: pytorch·ItsEvilDuck·14 days ago
#eZhhTAHD
#devtopytorch#devto#dev#model#weight

The Weight Duplicate Finder is a command‑line utility that examines a PyTorch model file, identifies...

15s
Benchmarking Batch YOLO Object Detection on AWS
🖼️
0Read More

Benchmarking Batch YOLO Object Detection on AWS

DEV Community: aws·Jose·16 days ago
#e2AYgZny
#devtoaws#devto#dev#workers#g4dn

Overview This is my first step into the Computer Vision MLOps Engineering field. I wanted...

15s
Building a Healthcare LLM from Scratch with PyTorch: Mixtral-Inspired Mixture-of-Experts, Pretraining, and Full Fine-Tuning
📰
0Read More

Building a Healthcare LLM from Scratch with PyTorch: Mixtral-Inspired Mixture-of-Experts, Pretraining, and Full Fine-Tuning

DEV Community: deeplearning·Sudhanshu Shukla·17 days ago
#uiTQHAZ5
#devtodeeplearning#education#devto#dev#ai

Building a Healthcare LLM from Scratch with PyTorch: Mixtral-Inspired Mixture-of-Experts,...

15s
torch.cuda.is_available() Returns False on RunPod: What It Means and What To Do Before Billing Starts
📰
0Read More

torch.cuda.is_available() Returns False on RunPod: What It Means and What To Do Before Billing Starts

DEV Community: pytorch·Francisco Booth·19 days ago
#PoScZQrG
#devtopytorch#devto#dev#torch#cuda

You SSH into your pod. You run your training script. The loss starts printing. Everything looks...

15s
Your PyTorch Code on Trainium: What Actually Breaks
📰
0Read More

Your PyTorch Code on Trainium: What Actually Breaks

DEV Community: pytorch·RobustTrueTry·26 days ago
#p5NWJaHx
#devtopytorch#devto#dev#model#pytorch

A practitioner's porting checklist for PyTorch on AWS Trainium: compile workflow, unsupported ops, and the training-loop pitfalls that stall your step

15s