Menu

#Torch

50 posts

Feed·
20 of 50 posts
PyTorch Custom Dataset and DataLoader: __getitem__, __len__, collate_fn, and num_workers
🖼️
0Read More

PyTorch Custom Dataset and DataLoader: __getitem__, __len__, collate_fn, and num_workers

DEV Community: pytorch·Soham Sharma·about 3 hours ago
#ZkTmMNdV
#devtopytorch#devto#dev#self#torch

Mastering PyTorch Custom Datasets & DataLoaders: __getitem__, collate_fn, multiprocessing, and zero-OOM memory optimization.

15s
torch.compile vs eager for training a 468M Llama-style model on four GPUs: step time, memory and compile cost
📰
0Read More

torch.compile vs eager for training a 468M Llama-style model on four GPUs: step time, memory and compile cost

DEV Community: machinelearning·Runcrate·about 4 hours ago
#sjZDv3Pv

torch.compile vs eager training on RTX 5090, L40S, RTX A6000 and H100: step time, peak memory, compile time and tokens per dollar.

15s
Two PyTorch ops that stopped a CUDA text model on an Apple GPU
📰
0Read More

Two PyTorch ops that stopped a CUDA text model on an Apple GPU

DEV Community: pytorch·Leo Newton·1 day ago
#49NS9T57
#devtopytorch#devto#dev#device#cuda

Next-Concept Modeling already used ordinary PyTorch attention. The Apple GPU run failed on float64 penalties and one area-pool whose lengths do not divide.

15s
SDXL images per dollar on four GPUs: RTX A6000, L40S, RTX 5090 and H100, eager vs torch.compile
📰
0Read More

SDXL images per dollar on four GPUs: RTX A6000, L40S, RTX 5090 and H100, eager vs torch.compile

DEV Community: pytorch·Runcrate·1 day ago
#7rJQm9AO
#devtopytorch#devto#dev#batch#h100

SDXL base at 1024x1024 on RTX A6000, L40S, RTX 5090 and H100: seconds per image, cost per 1,000 images, and when torch.compile pays off.

15s
How long until a rented GPU runs CUDA? Launch to first matmul on six GPU types, timed
📰
0Read More

How long until a rented GPU runs CUDA? Launch to first matmul on six GPU types, timed

DEV Community: pytorch·Runcrate·3 days ago
#Z9Ibz9rk
#devtopytorch#devto#dev#torch#time

Six single-GPU machines launched through an API, timed from create call to first SSH and first CUDA matmul. 3 to 12 minutes, and why.

15s
Pickle-only uploads to Hugging Face doubled since 2024
🖼️
0Read More

Pickle-only uploads to Hugging Face doubled since 2024

DEV Community: pytorch·Iain·6 days ago
#YEJNTc8E
#devtopytorch#devto#dev#pickle#load

About one in eight people uploading model weights to Hugging Face now upload only pickles, twice 2024's share. I opened 114 to see which load safely.

15s
IED disguised as torch behind blast that injured two in Bengaluru: Probe
📰
0Read More

IED disguised as torch behind blast that injured two in Bengaluru: Probe

The Indian Express·Johnson T A·7 days ago
#rjxYYGbp
#indianexpress#torch#sources#floor#kumar

“The guard called Kumar, who was on the seventh floor, for help to activate a torch that was in the parcel. The guard then took the torch up to the fifth floor. There, the torch exploded in Kumar’s hands when he tried to switch it on,” the sources said.

15s
What Is Model Distillation? A Guide for Developers
🖼️
0Read More

What Is Model Distillation? A Guide for Developers

freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More ·Mene-Ejegi Ogbemi·7 days ago
#PaOqwzKr
#freecodecamp#news#model#teacher#distillation

Over time, knowledge has been passed down in various forms. Before writing was invented in ancient Mesopotamia (modern-day Iraq), laws, history, myths, songs, and other information were all transferre

15s
AWS's TorchNeuron Runs PyTorch on Trainium With .to('neuron'). Shapes Must Be Static
🖼️
0Read More

AWS's TorchNeuron Runs PyTorch on Trainium With .to('neuron'). Shapes Must Be Static

DEV Community: pytorch·Gabriel Anhaia·7 days ago
#A8nmSHMU
#devtopytorch#devto#dev#torch#neuron

AWS open-sources TorchNeuron on October 20: Trainium becomes a normal PyTorch device. The beta wants static shapes, pinned versions and PyTorch 2.14.

15s
Google Open-Sourced TorchTPU. PyTorch/XLA Is Deprecated and Gets Archived November 15
🖼️
0Read More

Google Open-Sourced TorchTPU. PyTorch/XLA Is Deprecated and Gets Archived November 15

DEV Community: pytorch·Gabriel Anhaia·7 days ago
#Pv4bxjhq
#devtopytorch#devto#dev#pytorch#google

TorchTPU runs PyTorch on TPUs via device='tpu'. PyTorch/XLA is deprecated, its repo archived Nov 15. What to port, and what to check first.

15s
Why Long bf16 Training Runs Stall: The Residual Stream Has No Room for Small Updates
🖼️
0Read More

Why Long bf16 Training Runs Stall: The Residual Stream Has No Room for Small Updates

DEV Community: pytorch·AI OpenFree·7 days ago
#zleSNZin
#devtopytorch#devto#dev#residual#fp32

A bf16 residual near 600 has a resolution of 4, so small updates vanish. Measured gaps, a reproducible simulation and fixes for long training runs.

15s
Why a Keras model fails to convert to TFLite: 11 known cases, 5 traps
🖼️
0Read More

Why a Keras model fails to convert to TFLite: 11 known cases, 5 traps

DEV Community: pytorch·Rahul Kumar·7 days ago
#4N2N9EiR
#devtopytorch#devto#dev#export#keras

KerasHub expects 11 of its models to fail LiteRT (TFLite) export. All 11 in one table, the five traps they fall into, and what to write instead.

15s
Release TorchCodec 0.14: HDR Video Decoding for CPU & CUDA, and Fast Wav Decoder · meta-pytorch/torchcodec
📰
0Read More

Release TorchCodec 0.14: HDR Video Decoding for CPU & CUDA, and Fast Wav Decoder · meta-pytorch/torchcodec

Hacker News·5 months ago
#hXmeSSO8
#github#decoding#decoder#torchcodec#float32

TorchCodec 0.14 is out! It is compatible with torch >= 2.11. It comes with two major additions: a fast audio WavDecoder, and support for HDR video decoding! Fast wav decoder TorchCodec now has a de...

15s
I Built a Diagnostic Toolkit for PyTorch Because I Was Tired of Guessing Why Models Fail
🖼️
0Read More

I Built a Diagnostic Toolkit for PyTorch Because I Was Tired of Guessing Why Models Fail

DEV Community: pytorch·Aditya Mehra·5 months ago
#be7xzpV6
#dev#torchdiag#model#torch#photo

Every time a PyTorch model refuses to learn, the debugging process looks the same: Stare at the...

15s