Repository navigation
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/192928
Note: Links to docs will display an error until the docs builds have been completed. ✅ No FailuresAs of commit 30b9482 with merge base 3ee461f ( This comment was automatically generated by Dr. CI and updates every 15 minutes. |
The CUTLASS Operator API package is not available in fbcode, so the two tests that directly construct, compile, and run operator objects fail before exercising NVGEMM. Keep the torch.compile integration coverage enabled and skip only these direct API tests when IS_FBCODE is set. Test Plan: ```bash PYTORCH_TEST_FBCODE=1 python test/inductor/test_nv_universal_gemm.py TestNVUniversalGemm.test_scaled_gemm_grouped_n_reduce_provider TestNVUniversalGemm.test_scaled_gemm_unit_dim_epilogue_non_current_stream -v python test/inductor/test_nv_universal_gemm.py TestNVUniversalGemm.test_scaled_gemm_grouped_n_reduce_provider TestNVUniversalGemm.test_scaled_gemm_unit_dim_epilogue_non_current_stream -v lintrunner -a ``` Authored with an AI assistant. ghstack-source-id: 1e28809 Pull-Request: #192928
AI-Review
Verified Issues
|
The CUTLASS Operator API package is not available in fbcode, so the two tests that directly construct, compile, and run operator objects fail before exercising NVGEMM. Keep the torch.compile integration coverage enabled and skip only these direct API tests when IS_FBCODE is set. Test Plan: ```bash PYTORCH_TEST_FBCODE=1 python test/inductor/test_nv_universal_gemm.py TestNVUniversalGemm.test_scaled_gemm_grouped_n_reduce_provider TestNVUniversalGemm.test_scaled_gemm_unit_dim_epilogue_non_current_stream -v python test/inductor/test_nv_universal_gemm.py TestNVUniversalGemm.test_scaled_gemm_grouped_n_reduce_provider TestNVUniversalGemm.test_scaled_gemm_unit_dim_epilogue_non_current_stream -v lintrunner -a ``` Authored with an AI assistant. ghstack-source-id: 1ecfde7 Pull-Request: #192928
The CUTLASS Operator API package is not available in fbcode, so the two tests that directly construct, compile, and run operator objects fail before exercising NVGEMM. Keep the torch.compile integration coverage enabled and skip only these direct API tests when IS_FBCODE is set. Test Plan: ```bash PYTORCH_TEST_FBCODE=1 python test/inductor/test_nv_universal_gemm.py TestNVUniversalGemm.test_scaled_gemm_grouped_n_reduce_provider TestNVUniversalGemm.test_scaled_gemm_unit_dim_epilogue_non_current_stream -v python test/inductor/test_nv_universal_gemm.py TestNVUniversalGemm.test_scaled_gemm_grouped_n_reduce_provider TestNVUniversalGemm.test_scaled_gemm_unit_dim_epilogue_non_current_stream -v lintrunner -a ``` Authored with an AI assistant. ghstack-source-id: aafdd1a Pull-Request: #192928
The CUTLASS Operator API package is not available in fbcode, so the two tests that directly construct, compile, and run operator objects fail before exercising NVGEMM. Keep the torch.compile integration coverage enabled and skip only these direct API tests when IS_FBCODE is set. Test Plan: ```bash PYTORCH_TEST_FBCODE=1 python test/inductor/test_nv_universal_gemm.py TestNVUniversalGemm.test_scaled_gemm_grouped_n_reduce_provider TestNVUniversalGemm.test_scaled_gemm_unit_dim_epilogue_non_current_stream -v python test/inductor/test_nv_universal_gemm.py TestNVUniversalGemm.test_scaled_gemm_grouped_n_reduce_provider TestNVUniversalGemm.test_scaled_gemm_unit_dim_epilogue_non_current_stream -v lintrunner -a ``` Authored with an AI assistant. ghstack-source-id: f9f1c5c Pull-Request: #192928
The CUTLASS Operator API package is not available in fbcode, so the two tests that directly construct, compile, and run operator objects fail before exercising NVGEMM. Keep the torch.compile integration coverage enabled and skip only these direct API tests when IS_FBCODE is set. Test Plan: ```bash PYTORCH_TEST_FBCODE=1 python test/inductor/test_nv_universal_gemm.py TestNVUniversalGemm.test_scaled_gemm_grouped_n_reduce_provider TestNVUniversalGemm.test_scaled_gemm_unit_dim_epilogue_non_current_stream -v python test/inductor/test_nv_universal_gemm.py TestNVUniversalGemm.test_scaled_gemm_grouped_n_reduce_provider TestNVUniversalGemm.test_scaled_gemm_unit_dim_epilogue_non_current_stream -v lintrunner -a ``` Authored with an AI assistant. ghstack-source-id: dff8f52 Pull-Request: #192928
The CUTLASS Operator API package is not available in fbcode, so the two tests that directly construct, compile, and run operator objects fail before exercising NVGEMM. Keep the torch.compile integration coverage enabled and skip only these direct API tests when IS_FBCODE is set. Test Plan: ```bash PYTORCH_TEST_FBCODE=1 python test/inductor/test_nv_universal_gemm.py TestNVUniversalGemm.test_scaled_gemm_grouped_n_reduce_provider TestNVUniversalGemm.test_scaled_gemm_unit_dim_epilogue_non_current_stream -v python test/inductor/test_nv_universal_gemm.py TestNVUniversalGemm.test_scaled_gemm_grouped_n_reduce_provider TestNVUniversalGemm.test_scaled_gemm_unit_dim_epilogue_non_current_stream -v lintrunner -a ``` Authored with an AI assistant. ghstack-source-id: 42639c2 Pull-Request: #192928
The CUTLASS Operator API package is not available in fbcode, so the two tests that directly construct, compile, and run operator objects fail before exercising NVGEMM. Keep the torch.compile integration coverage enabled and skip only these direct API tests when IS_FBCODE is set. Test Plan: ```bash PYTORCH_TEST_FBCODE=1 python test/inductor/test_nv_universal_gemm.py TestNVUniversalGemm.test_scaled_gemm_grouped_n_reduce_provider TestNVUniversalGemm.test_scaled_gemm_unit_dim_epilogue_non_current_stream -v python test/inductor/test_nv_universal_gemm.py TestNVUniversalGemm.test_scaled_gemm_grouped_n_reduce_provider TestNVUniversalGemm.test_scaled_gemm_unit_dim_epilogue_non_current_stream -v lintrunner -a ``` Authored with an AI assistant. ghstack-source-id: c14d42f Pull-Request: #192928
The CUTLASS Operator API package is not available in fbcode, so the two tests that directly construct, compile, and run operator objects fail before exercising NVGEMM. Keep the torch.compile integration coverage enabled and skip only these direct API tests when IS_FBCODE is set. Test Plan: ```bash PYTORCH_TEST_FBCODE=1 python test/inductor/test_nv_universal_gemm.py TestNVUniversalGemm.test_scaled_gemm_grouped_n_reduce_provider TestNVUniversalGemm.test_scaled_gemm_unit_dim_epilogue_non_current_stream -v python test/inductor/test_nv_universal_gemm.py TestNVUniversalGemm.test_scaled_gemm_grouped_n_reduce_provider TestNVUniversalGemm.test_scaled_gemm_unit_dim_epilogue_non_current_stream -v lintrunner -a ``` Authored with an AI assistant. ghstack-source-id: c14d42f Pull-Request: #192928
|
@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 |
Merge failedReason: Merge rule check failed for stacked PR #192298: 1 mandatory check(s) failed. The first few are: Dig deeper by viewing the failures on hud |
|
@pytorchbot merge -f "Added skip sanity checks for a cleanup pr but not taken into account" |
Merge startedYour change will be merged immediately since you used the force (-f) flag, bypassing any CI checks (ETA: 1-5 minutes). Please use Learn more about merging in the wiki. Questions? Feedback? Please reach out to the PyTorch DevX Team |
doesn't run hese tests in fbcode until we add operator API internally > This skips two low-level tests only in fbcode because fbcode does not include > the optional CUTLASS package those tests use to construct and run kernel > objects directly. The tests fail while importing or creating the operator, > before they exercise the NVGEMM behavior they are intended to check. > > The tests still run in the open-source build, and the higher-level > `torch.compile` tests remain enabled in fbcode. > > ## Architecture > > This is a test-only environment boundary. The two tests that directly import > the optional CUTLASS Operator API are skipped individually when `IS_FBCODE` is > true. No production lowering, provider registration, or generated-kernel > behavior changes. The tests continue running in open source, while fbcode > retains the higher-level compiler coverage. > > ## Example > > The affected tests directly compile a grouped-reduction provider and a > unit-dimension epilogue on a non-current CUDA stream. In fbcode, the required > operator-construction API is absent, so skipping those two tests avoids > reporting an environment limitation as an NVGEMM correctness failure. > > > ```python > @unittest.skipIf( > IS_FBCODE, > "CUTLASS Operator API is not available in fbcode", > ) > def test_scaled_gemm_grouped_n_reduce_provider(self): > ... > ``` > > ## Test Plan > > ```bash > PYTORCH_TEST_FBCODE=1 python test/inductor/test_nv_universal_gemm.py TestNVUniversalGemm.test_scaled_gemm_grouped_n_reduce_provider TestNVUniversalGemm.test_scaled_gemm_unit_dim_epilogue_non_current_stream -v > python test/inductor/test_nv_universal_gemm.py TestNVUniversalGemm.test_scaled_gemm_grouped_n_reduce_provider TestNVUniversalGemm.test_scaled_gemm_unit_dim_epilogue_non_current_stream -v > lintrunner -a > ``` > > Description drafted with an AI assistant. Pull Request resolved: pytorch#192928 Approved by: https://github.com/karthickai ghstack dependencies: pytorch#192298, pytorch#190822, pytorch#191514, pytorch#191515, pytorch#190825
Orient generated reduction geometry, output layouts, and runtime tensors when NVGEMM swaps GEMM operands. Dense and block-scaled epilogues continue to use the shared generated source, combine, and finalizer callbacks. Keep the kernel reduction mechanism unchanged. Candidate validation filters physical tile layouts that cross CTA or warp ownership, leaving valid configurations in the normal autotuning set and falling back safely when a layout cannot implement the reduction. ## Test Plan ```bash PYTHONPATH=/data/users/mlazos/pytorch/agent_space/runtime_overlay PYTORCH_BOUNDARY_ROOT=$PWD python test/inductor/test_nv_universal_gemm.py -k swap_ab PYTHONPATH=/data/users/mlazos/pytorch/agent_space/runtime_overlay PYTORCH_BOUNDARY_ROOT=$PWD python test/inductor/test_nv_universal_gemm.py -k grouped_reduce spin quicklint lintrunner -a ``` Authored with an AI assistant. Pull Request resolved: #195538 Approved by: https://github.com/karthickai ghstack dependencies: #192298, #190822, #191514, #191515, #190825, #192928
Generate vendored dense EFC variants for the validated SM100 N-tile widths through 256, including 160, 192, and 224. This makes the configurations available to nvMatmulHeuristics without retaining them unconditionally. Keep the existing supplemented benchmark space unchanged. Wider candidates enter autotuning only when nvMatmulHeuristics selects them, avoiding additional profiling by default. ## Test Plan ```bash PYTHONPATH=/data/users/mlazos/pytorch/agent_space/runtime_overlay PYTORCH_BOUNDARY_ROOT=$PWD python test/inductor/test_nv_universal_gemm.py TestNVUniversalGemm.test_vendored_dense_efc_exposes_wide_n_tiles -v lintrunner -a ``` Authored with an AI assistant. Pull Request resolved: #195539 Approved by: https://github.com/karthickai ghstack dependencies: #192298, #190822, #191514, #191515, #190825, #192928, #195538
Stack from ghstack (oldest at bottom):
doesn't run hese tests in fbcode until we add operator API internally
cc @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @ipiszy @kadeng @muchulee8 @amjames @chauhang @aakhundov @coconutruben @jataylo