trunk/94f4b2b30d2b5d41aba39c198880e6a3224abf7a: [Test][XPU] Refactor `test_flop_counter.py` and enable on XPU (#197249)
- PyTorch 近 90 天出现 1908 次
- PyTorch 近 90 天第 1884 次发版
- 上一次:同一天稍早 · trunk/91a0edaa2dabeabc8883d722c6055d772ba48a71
发生了什么
Move device-agnostic tests to TestFlopCounterDevice Enable TestFlopCounterDevice for XPU Move test_nested_attn_backward_flops_with_unequal_qk_value_dims to TestFlopCounter (uses only the meta device) Move SDPA flop tests from TestFlopCounterCUDA to TestFlopCounterDevice and skip them on XPU until the underlying gaps are fixed Drop the CUDA-specific wording from the skipIf reasons of the moved tests Enable test_flex_…
摘要按规则整理自下方来源原文