Files
olivv-cs-ComfyUI-FunPack/tests
digital-garbageandClaude Sonnet 5 54706eebe6 test: cover the dir_t_cache reuse round 2 of review flagged as untested
The caching logic itself (a block's second+ call reusing the built
direction/zero tensor instead of reallocating) had no regression test --
only the single-call math was covered. Counts torch.zeros calls across
three calls to the same block; only the first call's mask-cache-miss and
dir_t-cache-miss should allocate, the rest should be pure cache hits.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-19 19:47:03 +03:00
..