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
- ASML CFO says US Match Act restricting DUV sales to China would backfire — pstAsiatech · 2026-10-15
- ASML sold out through 2028 but stock dips 2%; TL20 index up 57% YTD — TiernanRayTech · 2026-10-15
- Bloomberg breakdown: a 1GW Texas AI data center may need nearly $3B for overruns alone — rohanpaul_ai · 2026-10-15
- 7 System Design Algorithms to Know: Merkle Trees to CAP/PACELC — goyalshaliniuk · 2026-10-15
- MiniCPM-V 4.7 runs a 35B MoE multimodal model on phones with just 3GB memory — nevrekaraishwa2 · 2026-10-15
- Sipeed MaixStation product page goes live for edge AI dev — xlltt · 2026-10-15