[user-streams] Test inductor streams infra#174224
[user-streams] Test inductor streams infra#174224mlazos wants to merge 21 commits intogh/mlazos/94/basefrom
Conversation
Add comprehensive tests for user stream support in inductor: - Stream utility tests (pool, context manager, naming) - Event factory tests (creation, ordering, hashing) - Wrapper codegen tests (stream context enter/exit) - Compile tests for stream semantics preservation The compile tests verify that torch.compile() correctly handles: - Stream context managers - Event record/wait operations - Multi-stream synchronization patterns - Fusion behavior within and across streams Test assertions check for generated code patterns that may appear as either custom ops (record_event/wait_event) or method calls. [ghstack-poisoned]
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/174224
Note: Links to docs will display an error until the docs builds have been completed. ✅ You can merge normally! (3 Unrelated Failures)As of commit c4f3ef3 with merge base d2d12ef ( FLAKY - The following job failed but was likely due to flakiness present on trunk:
BROKEN TRUNK - The following job failed but was present on the merge base:👉 Rebase onto the `viable/strict` branch to avoid these failures
UNSTABLE - The following job is marked as unstable, possibly due to flakiness on trunk:
This comment was automatically generated by Dr. CI and updates every 15 minutes. |
Add comprehensive tests for user stream support in inductor: - Stream utility tests (pool, context manager, naming) - Event factory tests (creation, ordering, hashing) - Wrapper codegen tests (stream context enter/exit) - Compile tests for stream semantics preservation The compile tests verify that torch.compile() correctly handles: - Stream context managers - Event record/wait operations - Multi-stream synchronization patterns - Fusion behavior within and across streams Test assertions check for generated code patterns that may appear as either custom ops (record_event/wait_event) or method calls. ghstack-source-id: c4b1c07 Pull Request resolved: #174224
Add comprehensive tests for user stream support in inductor: - Stream utility tests (pool, context manager, naming) - Event factory tests (creation, ordering, hashing) - Wrapper codegen tests (stream context enter/exit) - Compile tests for stream semantics preservation The compile tests verify that torch.compile() correctly handles: - Stream context managers - Event record/wait operations - Multi-stream synchronization patterns - Fusion behavior within and across streams Test assertions check for generated code patterns that may appear as either custom ops (record_event/wait_event) or method calls. cc voznesenskym penguinwu EikanWang jgong5 Guobing-Chen XiaobingSuper zhuhaozhe blzheng wenzhe-nrv jiayisunx ipiszy kadeng muchulee8 amjames chauhang aakhundov coconutruben jataylo [ghstack-poisoned]
Add comprehensive tests for user stream support in inductor: - Stream utility tests (pool, context manager, naming) - Event factory tests (creation, ordering, hashing) - Wrapper codegen tests (stream context enter/exit) - Compile tests for stream semantics preservation The compile tests verify that torch.compile() correctly handles: - Stream context managers - Event record/wait operations - Multi-stream synchronization patterns - Fusion behavior within and across streams Test assertions check for generated code patterns that may appear as either custom ops (record_event/wait_event) or method calls. ghstack-source-id: 05f6722 Pull Request resolved: #174224
Add comprehensive tests for user stream support in inductor: - Stream utility tests (pool, context manager, naming) - Event factory tests (creation, ordering, hashing) - Wrapper codegen tests (stream context enter/exit) - Compile tests for stream semantics preservation The compile tests verify that torch.compile() correctly handles: - Stream context managers - Event record/wait operations - Multi-stream synchronization patterns - Fusion behavior within and across streams Test assertions check for generated code patterns that may appear as either custom ops (record_event/wait_event) or method calls. cc voznesenskym penguinwu EikanWang jgong5 Guobing-Chen XiaobingSuper zhuhaozhe blzheng wenzhe-nrv jiayisunx ipiszy kadeng muchulee8 amjames chauhang aakhundov coconutruben jataylo [ghstack-poisoned]
Add comprehensive tests for user stream support in inductor: - Stream utility tests (pool, context manager, naming) - Event factory tests (creation, ordering, hashing) - Wrapper codegen tests (stream context enter/exit) - Compile tests for stream semantics preservation The compile tests verify that torch.compile() correctly handles: - Stream context managers - Event record/wait operations - Multi-stream synchronization patterns - Fusion behavior within and across streams Test assertions check for generated code patterns that may appear as either custom ops (record_event/wait_event) or method calls. ghstack-source-id: 05f6722 Pull Request resolved: #174224
Add comprehensive tests for user stream support in inductor: - Stream utility tests (pool, context manager, naming) - Event factory tests (creation, ordering, hashing) - Wrapper codegen tests (stream context enter/exit) - Compile tests for stream semantics preservation The compile tests verify that torch.compile() correctly handles: - Stream context managers - Event record/wait operations - Multi-stream synchronization patterns - Fusion behavior within and across streams Test assertions check for generated code patterns that may appear as either custom ops (record_event/wait_event) or method calls. ghstack-source-id: 05f6722 Pull Request resolved: #174224
Add comprehensive tests for user stream support in inductor: - Stream utility tests (pool, context manager, naming) - Event factory tests (creation, ordering, hashing) - Wrapper codegen tests (stream context enter/exit) - Compile tests for stream semantics preservation The compile tests verify that torch.compile() correctly handles: - Stream context managers - Event record/wait operations - Multi-stream synchronization patterns - Fusion behavior within and across streams Test assertions check for generated code patterns that may appear as either custom ops (record_event/wait_event) or method calls. ghstack-source-id: 05f6722 Pull Request resolved: #174224
Add comprehensive tests for user stream support in inductor: - Stream utility tests (pool, context manager, naming) - Event factory tests (creation, ordering, hashing) - Wrapper codegen tests (stream context enter/exit) - Compile tests for stream semantics preservation The compile tests verify that torch.compile() correctly handles: - Stream context managers - Event record/wait operations - Multi-stream synchronization patterns - Fusion behavior within and across streams Test assertions check for generated code patterns that may appear as either custom ops (record_event/wait_event) or method calls. ghstack-source-id: 05f6722 Pull Request resolved: #174224
Add comprehensive tests for user stream support in inductor: - Stream utility tests (pool, context manager, naming) - Event factory tests (creation, ordering, hashing) - Wrapper codegen tests (stream context enter/exit) - Compile tests for stream semantics preservation The compile tests verify that torch.compile() correctly handles: - Stream context managers - Event record/wait operations - Multi-stream synchronization patterns - Fusion behavior within and across streams Test assertions check for generated code patterns that may appear as either custom ops (record_event/wait_event) or method calls. cc voznesenskym penguinwu EikanWang jgong5 Guobing-Chen XiaobingSuper zhuhaozhe blzheng wenzhe-nrv jiayisunx ipiszy kadeng muchulee8 amjames chauhang aakhundov coconutruben jataylo [ghstack-poisoned]
Add comprehensive tests for user stream support in inductor: - Stream utility tests (pool, context manager, naming) - Event factory tests (creation, ordering, hashing) - Wrapper codegen tests (stream context enter/exit) - Compile tests for stream semantics preservation The compile tests verify that torch.compile() correctly handles: - Stream context managers - Event record/wait operations - Multi-stream synchronization patterns - Fusion behavior within and across streams Test assertions check for generated code patterns that may appear as either custom ops (record_event/wait_event) or method calls. ghstack-source-id: 3349dba Pull Request resolved: #174224
Add comprehensive tests for user stream support in inductor: - Stream utility tests (pool, context manager, naming) - Event factory tests (creation, ordering, hashing) - Wrapper codegen tests (stream context enter/exit) - Compile tests for stream semantics preservation The compile tests verify that torch.compile() correctly handles: - Stream context managers - Event record/wait operations - Multi-stream synchronization patterns - Fusion behavior within and across streams Test assertions check for generated code patterns that may appear as either custom ops (record_event/wait_event) or method calls. cc voznesenskym penguinwu EikanWang jgong5 Guobing-Chen XiaobingSuper zhuhaozhe blzheng wenzhe-nrv jiayisunx ipiszy kadeng muchulee8 amjames chauhang aakhundov coconutruben jataylo [ghstack-poisoned]
Add comprehensive tests for user stream support in inductor: - Stream utility tests (pool, context manager, naming) - Event factory tests (creation, ordering, hashing) - Wrapper codegen tests (stream context enter/exit) - Compile tests for stream semantics preservation The compile tests verify that torch.compile() correctly handles: - Stream context managers - Event record/wait operations - Multi-stream synchronization patterns - Fusion behavior within and across streams Test assertions check for generated code patterns that may appear as either custom ops (record_event/wait_event) or method calls. ghstack-source-id: 8083c86 Pull Request resolved: #174224
Add comprehensive tests for user stream support in inductor: - Stream utility tests (pool, context manager, naming) - Event factory tests (creation, ordering, hashing) - Wrapper codegen tests (stream context enter/exit) - Compile tests for stream semantics preservation The compile tests verify that torch.compile() correctly handles: - Stream context managers - Event record/wait operations - Multi-stream synchronization patterns - Fusion behavior within and across streams Test assertions check for generated code patterns that may appear as either custom ops (record_event/wait_event) or method calls. ghstack-source-id: 8083c86 Pull Request resolved: #174224
Add comprehensive tests for user stream support in inductor: - Stream utility tests (pool, context manager, naming) - Event factory tests (creation, ordering, hashing) - Wrapper codegen tests (stream context enter/exit) - Compile tests for stream semantics preservation The compile tests verify that torch.compile() correctly handles: - Stream context managers - Event record/wait operations - Multi-stream synchronization patterns - Fusion behavior within and across streams Test assertions check for generated code patterns that may appear as either custom ops (record_event/wait_event) or method calls. cc voznesenskym penguinwu EikanWang jgong5 Guobing-Chen XiaobingSuper zhuhaozhe blzheng wenzhe-nrv jiayisunx ipiszy kadeng muchulee8 amjames chauhang aakhundov coconutruben jataylo [ghstack-poisoned]
Add comprehensive tests for user stream support in inductor: - Stream utility tests (pool, context manager, naming) - Event factory tests (creation, ordering, hashing) - Wrapper codegen tests (stream context enter/exit) - Compile tests for stream semantics preservation The compile tests verify that torch.compile() correctly handles: - Stream context managers - Event record/wait operations - Multi-stream synchronization patterns - Fusion behavior within and across streams Test assertions check for generated code patterns that may appear as either custom ops (record_event/wait_event) or method calls. ghstack-source-id: 012339c Pull Request resolved: #174224
ghstack-source-id: e3bfed4c3b2c8f3b9a0e7d5c1a4f2b6d8c0a9e7f Pull Request resolved: #174224
Add comprehensive tests for user stream support in inductor: - Stream utility tests (pool, context manager, naming) - Event factory tests (creation, ordering, hashing) - Wrapper codegen tests (stream context enter/exit) - Compile tests for stream semantics preservation The compile tests verify that torch.compile() correctly handles: - Stream context managers - Event record/wait operations - Multi-stream synchronization patterns - Fusion behavior within and across streams Test assertions check for generated code patterns that may appear as either custom ops (record_event/wait_event) or method calls. cc voznesenskym penguinwu EikanWang jgong5 Guobing-Chen XiaobingSuper zhuhaozhe blzheng wenzhe-nrv jiayisunx ipiszy kadeng muchulee8 amjames chauhang aakhundov coconutruben jataylo [ghstack-poisoned]
Add comprehensive tests for user stream support in inductor: - Stream utility tests (pool, context manager, naming) - Event factory tests (creation, ordering, hashing) - Wrapper codegen tests (stream context enter/exit) - Compile tests for stream semantics preservation The compile tests verify that torch.compile() correctly handles: - Stream context managers - Event record/wait operations - Multi-stream synchronization patterns - Fusion behavior within and across streams Test assertions check for generated code patterns that may appear as either custom ops (record_event/wait_event) or method calls. cc voznesenskym penguinwu EikanWang jgong5 Guobing-Chen XiaobingSuper zhuhaozhe blzheng wenzhe-nrv jiayisunx ipiszy kadeng muchulee8 amjames chauhang aakhundov coconutruben jataylo [ghstack-poisoned]
Add comprehensive tests for user stream support in inductor: - Stream utility tests (pool, context manager, naming) - Event factory tests (creation, ordering, hashing) - Wrapper codegen tests (stream context enter/exit) - Compile tests for stream semantics preservation The compile tests verify that torch.compile() correctly handles: - Stream context managers - Event record/wait operations - Multi-stream synchronization patterns - Fusion behavior within and across streams Test assertions check for generated code patterns that may appear as either custom ops (record_event/wait_event) or method calls. cc voznesenskym penguinwu EikanWang jgong5 Guobing-Chen XiaobingSuper zhuhaozhe blzheng wenzhe-nrv jiayisunx ipiszy kadeng muchulee8 amjames chauhang aakhundov coconutruben jataylo [ghstack-poisoned]
Add comprehensive tests for user stream support in inductor: - Stream utility tests (pool, context manager, naming) - Event factory tests (creation, ordering, hashing) - Wrapper codegen tests (stream context enter/exit) - Compile tests for stream semantics preservation The compile tests verify that torch.compile() correctly handles: - Stream context managers - Event record/wait operations - Multi-stream synchronization patterns - Fusion behavior within and across streams Test assertions check for generated code patterns that may appear as either custom ops (record_event/wait_event) or method calls. cc voznesenskym penguinwu EikanWang jgong5 Guobing-Chen XiaobingSuper zhuhaozhe blzheng wenzhe-nrv jiayisunx ipiszy kadeng muchulee8 amjames chauhang aakhundov coconutruben jataylo [ghstack-poisoned]
|
@claude review this pr |
|
Claude finished @mlazos's task in 3m 16s —— View job Review of PR #174224 —
|
Add comprehensive tests for user stream support in inductor: - Stream utility tests (pool, context manager, naming) - Event factory tests (creation, ordering, hashing) - Wrapper codegen tests (stream context enter/exit) - Compile tests for stream semantics preservation The compile tests verify that torch.compile() correctly handles: - Stream context managers - Event record/wait operations - Multi-stream synchronization patterns - Fusion behavior within and across streams Test assertions check for generated code patterns that may appear as either custom ops (record_event/wait_event) or method calls. cc voznesenskym penguinwu EikanWang jgong5 Guobing-Chen XiaobingSuper zhuhaozhe blzheng wenzhe-nrv jiayisunx ipiszy kadeng muchulee8 amjames chauhang aakhundov coconutruben jataylo [ghstack-poisoned]
Add comprehensive tests for user stream support in inductor: - Stream utility tests (pool, context manager, naming) - Event factory tests (creation, ordering, hashing) - Wrapper codegen tests (stream context enter/exit) - Compile tests for stream semantics preservation The compile tests verify that torch.compile() correctly handles: - Stream context managers - Event record/wait operations - Multi-stream synchronization patterns - Fusion behavior within and across streams Test assertions check for generated code patterns that may appear as either custom ops (record_event/wait_event) or method calls. cc voznesenskym penguinwu EikanWang jgong5 Guobing-Chen XiaobingSuper zhuhaozhe blzheng wenzhe-nrv jiayisunx ipiszy kadeng muchulee8 amjames chauhang aakhundov coconutruben jataylo [ghstack-poisoned]
Add comprehensive tests for user stream support in inductor: - Stream utility tests (pool, context manager, naming) - Event factory tests (creation, ordering, hashing) - Wrapper codegen tests (stream context enter/exit) - Compile tests for stream semantics preservation The compile tests verify that torch.compile() correctly handles: - Stream context managers - Event record/wait operations - Multi-stream synchronization patterns - Fusion behavior within and across streams Test assertions check for generated code patterns that may appear as either custom ops (record_event/wait_event) or method calls. cc voznesenskym penguinwu EikanWang jgong5 Guobing-Chen XiaobingSuper zhuhaozhe blzheng wenzhe-nrv jiayisunx ipiszy kadeng muchulee8 amjames chauhang aakhundov coconutruben jataylo [ghstack-poisoned]
| self.assertExpectedInline( | ||
| normalize_gm(counter.graphs[0].print_readable(print_output=False)), | ||
| """\ | ||
| class GraphModule(torch.nn.Module): |
There was a problem hiding this comment.
Would these string matching being fragile and may get broken often by future unrelated change?
|
@pytorchbot merge |
Merge startedYour change will be merged once all checks pass (ETA 0-4 Hours). Learn more about merging in the wiki. Questions? Feedback? Please reach out to the PyTorch DevX Team |
Stack from ghstack (oldest at bottom):
Add comprehensive tests for user stream support in inductor:
The compile tests verify that torch.compile() correctly handles:
Test assertions check for generated code patterns that may appear as
either custom ops (record_event/wait_event) or method calls.
cc @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @ipiszy @kadeng @muchulee8 @amjames @chauhang @aakhundov @coconutruben @jataylo