Commit 2ca4c28
committed
[perf]: clarify samples/output_batch.output equivalence; drop hardcoded transfer size
Address review comments on hao-ai-lab#1362:
- Document that `samples` is just the pinned-CPU mirror of
`output_batch.output` with no intervening preprocessing, so sourcing
from `output_batch.output` is the same data (Copilot).
- Replace the hardcoded ~0.3-1.4 GB estimate with a description of the
scaling relationship; it varies with resolution/frames/batch/dtype
and would rot (Copilot).
- Note the SSIM-gated (not bit-exact) equivalence inline.
No behavior change.1 parent 3ecfad0 commit 2ca4c28
1 file changed
Lines changed: 14 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
793 | 793 | | |
794 | 794 | | |
795 | 795 | | |
796 | | - | |
797 | | - | |
798 | | - | |
799 | | - | |
800 | | - | |
801 | | - | |
802 | | - | |
803 | | - | |
| 796 | + | |
| 797 | + | |
| 798 | + | |
| 799 | + | |
| 800 | + | |
| 801 | + | |
| 802 | + | |
| 803 | + | |
| 804 | + | |
| 805 | + | |
| 806 | + | |
| 807 | + | |
| 808 | + | |
| 809 | + | |
804 | 810 | | |
805 | 811 | | |
806 | 812 | | |
| |||
0 commit comments