TorchMorph: CUDA-Accelerated Morphological Transforms for PyTorch
kornia_foss · x · 2026-08-26
Kai Zhao released TorchMorph, a new morphological transforms library based on PyTorch. Optimized for GPU training loops, it operates directly on CUDA tensors via fused CUDA kernels. Compared to the CPU-based SciPy, batched execution achieves up to 1,100x throughput on greyscale morphology and up to 350x on exact Euclidean distance transforms. The API is designed to mirror SciPy argument-for-argument, facilitating easy migration of existing pipelines.
Related event: TorchMorph: CUDA-Accelerated Morphology Library for PyTorch(2 posts)→
More from Infra
- Spain plans stricter rules for data centers on water, energy, and security — Polymarket · 2026-08-26
- Shopify CEO open-sources walgit, a database-free Git server using S3 as the repo — Shruti_0810 · 2026-08-26
- Jalapeno chip shows strength, revealing Nvidia's inference architecture weaknesses — beffjezos · 2026-08-26
- Australia's PM backs down on requiring AI datacentres to run fully on renewable energy — nordicinst · 2026-08-26
- Single RTX 5090 Benchmark: 27B Model at 616 Tok/s with 262K Context — EAccelerate_42 · 2026-08-26
- Running Qwen3.8-27B for local coding on 16GB VRAM: full setup guide — Due-Project-7507 · 2026-08-26