Files
vit-pytorch/vit_pytorch
Amit Moryossef d518e89573 cache position grids in NaViT forward pass (#354)
Use lru_cache to cache unique (ph, pw, device) position grids, avoiding
redundant computation when multiple images share the same patch
dimensions. Cache persists across forward passes.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-07 04:32:30 -08:00
..
2023-10-19 18:16:46 -07:00
2022-04-06 16:12:17 -07:00
2022-04-06 16:12:17 -07:00
2023-06-28 08:02:43 -07:00
2025-11-22 08:12:01 -08:00
2023-10-24 12:47:21 -07:00
2023-10-13 09:15:13 -07:00