Tag: #PyTorch
All published articles with this tag "PyTorch". 47 items published.
- Research · Generative Models
Denoising Diffusion Implicit Model (DDIM) Implementation in PyTorch
A PyTorch implementation of a Denoising Diffusion Implicit Model (DDIM) sampler: a UNet denoiser with GELU time conditioning, an eta-controlled stochastic-to-deterministic reverse process on a sub-sequence of timesteps, and a smoke test that verifies noise addition, model output, sampling shapes, and deterministic reproducibility.
- Research · Generative Models
Denoising Diffusion Probabilistic Model (DDPM) Implementation in PyTorch
A PyTorch implementation of a Denoising Diffusion Probabilistic Model (DDPM): a UNet denoiser with sinusoidal-free linear time conditioning, a linear-beta forward diffusion, an iterative reverse sampling loop, and a smoke test that verifies noise addition, model output, and sampling shapes.
- Research · Reinforcement Learning
PagedAttention: Virtual-Memory KV Cache Management, Continuous Batching, and PyTorch Architecture
Master PagedAttention: virtual memory KV cache paging, block tables, prefix caching (CoW), continuous batching, memory fragmentation math, and PyTorch kernels.
- Research · Deep Learning
DeepSeek Architecture Implementation in PyTorch
A PyTorch implementation of the DeepSeek-style architecture: RMSNorm pre-norm blocks, a multi-head latent attention module, a Mixture-of-Experts (MoE) feed-forward router, and a stack of DeepSeek blocks with token-level residual paths.