9 Commits

Author SHA1 Message Date
copilot-swe-agent[bot]
2b81d5fd2f Merge branch 'main' into copilot/fix-c6914add-1b66-46d0-9948-c2e7b6f2259f
# Conflicts:
#	tests/compile/piecewise/test_multiple_graphs.py
2025-08-21 22:50:17 +00:00
copilot-swe-agent[bot]
dd72729634 Rename test_operations.py to testing_ops.py and update all imports
Co-authored-by: ProExpertProg <11367180+ProExpertProg@users.noreply.github.com>
2025-08-21 22:45:35 +00:00
Luka Govedič
b0974809c4
add back whitespace
Signed-off-by: Luka Govedič <ProExpertProg@users.noreply.github.com>
2025-08-21 18:37:26 -04:00
copilot-swe-agent[bot]
91735e9c1c Address PR feedback: simplify comments, remove extra assertion, and improve docstrings
Co-authored-by: ProExpertProg <11367180+ProExpertProg@users.noreply.github.com>
2025-08-21 22:26:09 +00:00
Yong Hoon Shin
dfd2382039
[torch.compile] Support conditional torch.compile per module (#22269)
Signed-off-by: Yong Hoon Shin <yhshin@meta.com>
2025-08-20 16:52:59 +00:00
copilot-swe-agent[bot]
2c81fbbb3c Refactor duplicate torch operation registrations to use shared module
Instead of changing library names (not scalable), create a shared test_operations.py module that:
- Provides a single "silly" library for all compilation tests
- Registers a unified attention operation that can handle both standard and counting modes
- Eliminates duplicate registration errors when running all tests together
- Maintains backward compatibility with existing test behavior

Addresses feedback to make the solution more scalable and maintainable.

Co-authored-by: ProExpertProg <11367180+ProExpertProg@users.noreply.github.com>
2025-08-20 14:12:37 +00:00
copilot-swe-agent[bot]
47dcf0940f Complete fix for duplicate torch operations - all ops use unique library names
Co-authored-by: ProExpertProg <11367180+ProExpertProg@users.noreply.github.com>
2025-08-20 13:34:27 +00:00
copilot-swe-agent[bot]
9d6f0372e5 Fix duplicate torch operation registrations in tests/compile
Co-authored-by: ProExpertProg <11367180+ProExpertProg@users.noreply.github.com>
2025-08-20 13:31:41 +00:00
Yong Hoon Shin
4ac7713e32
Add test case for compiling multiple graphs (#21044)
Signed-off-by: Yong Hoon Shin <yhshin@meta.com>
2025-07-23 11:00:47 -07:00