-
Notifications
You must be signed in to change notification settings - Fork 1.8k
[https://nvbugs/5325296][fix] Enable relaxed acceptance test on Blackwell #8709
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[https://nvbugs/5325296][fix] Enable relaxed acceptance test on Blackwell #8709
Conversation
Signed-off-by: Barry Kang <[email protected]>
📝 WalkthroughWalkthroughThe changes modify integration tests to dynamically adjust configuration based on GPU compute capability (SM version). A decorator is removed and conditional logic is introduced to set KV cache fraction and MOE backend differently for Blackwell-generation GPUs versus earlier generations. Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes
Pre-merge checks and finishing touches❌ Failed checks (2 warnings)
✅ Passed checks (1 passed)
✨ Finishing touches
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 1
📜 Review details
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (1)
tests/integration/defs/test_e2e.py(4 hunks)
🧰 Additional context used
📓 Path-based instructions (3)
**/*.{h,hpp,hh,hxx,cpp,cxx,cc,cu,cuh,py}
📄 CodeRabbit inference engine (CODING_GUIDELINES.md)
Use only spaces, no tabs; indent with 4 spaces.
Files:
tests/integration/defs/test_e2e.py
**/*.py
📄 CodeRabbit inference engine (CODING_GUIDELINES.md)
**/*.py: Python code must target Python 3.8+.
Indent Python code with 4 spaces; do not use tabs.
Maintain module namespace when importing; prefer 'from package.subpackage import foo' then 'foo.SomeClass()' instead of importing the class directly.
Python filenames should be snake_case (e.g., some_file.py).
Python classes use PascalCase names.
Functions and methods use snake_case names.
Local variables use snake_case; prefix 'k' for variables that start with a number (e.g., k_99th_percentile).
Global variables use upper SNAKE_CASE prefixed with 'G' (e.g., G_MY_GLOBAL).
Constants use upper SNAKE_CASE (e.g., MY_CONSTANT).
Avoid shadowing variables from an outer scope.
Initialize all externally visible members of a class in the constructor.
Prefer docstrings for interfaces that may be used outside a file; comments for in-function or file-local interfaces.
Use Google-style docstrings for classes and functions (Sphinx-parsable).
Document attributes and variables inline so they render under the class/function docstring.
Avoid reflection when a simpler, explicit approach suffices (e.g., avoid dict(**locals()) patterns).
In try/except, catch the most specific exceptions possible.
For duck-typing try/except, keep the try body minimal and use else for the main logic.
Files:
tests/integration/defs/test_e2e.py
**/*.{cpp,cxx,cc,h,hpp,hh,hxx,cu,cuh,py}
📄 CodeRabbit inference engine (CODING_GUIDELINES.md)
Prepend the NVIDIA Apache-2.0 copyright header with current year to the top of all source files (e.g., .cpp, .h, .cu, .py).
Files:
tests/integration/defs/test_e2e.py
🧬 Code graph analysis (1)
tests/integration/defs/test_e2e.py (1)
tests/integration/defs/conftest.py (1)
get_sm_version(1870-1873)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (1)
- GitHub Check: Pre-commit Check
🔇 Additional comments (2)
tests/integration/defs/test_e2e.py (2)
34-37: LGTM! Import added correctly.The
get_sm_versionimport is properly added to support the dynamic GPU detection logic introduced in this PR.
2210-2210: Conditional configuration logic looks correct.The dynamic configuration based on GPU architecture is well-implemented:
- KV cache fraction adjusts for Blackwell's memory characteristics
- MOE backend selection matches the appropriate compute capability
However, these depend on the correct
is_blackwelldetection (see comment on line 2196).Also applies to: 2223-2223
Signed-off-by: Barry Kang <[email protected]>
|
/bot run |
|
PR_Github #22738 [ run ] triggered by Bot. Commit: |
|
PR_Github #22738 [ run ] completed with state |
Signed-off-by: Barry Kang <[email protected]>
6744876 to
1778fef
Compare
|
/bot run |
|
PR_Github #22822 [ run ] triggered by Bot. Commit: |
|
PR_Github #22822 [ run ] completed with state |
|
/bot run |
|
PR_Github #22854 [ run ] triggered by Bot. Commit: |
|
PR_Github #22854 [ run ] completed with state |
|
/bot run |
|
PR_Github #23170 [ run ] triggered by Bot. Commit: |
|
PR_Github #23170 [ run ] completed with state |
|
/bot run |
|
PR_Github #23218 [ run ] triggered by Bot. Commit: |
|
PR_Github #23218 [ run ] completed with state |
…well (NVIDIA#8709) Signed-off-by: Barry Kang <[email protected]>
…well (NVIDIA#8709) Signed-off-by: Barry Kang <[email protected]> Signed-off-by: Mike Iovine <[email protected]>
…well (NVIDIA#8709) Signed-off-by: Barry Kang <[email protected]> Signed-off-by: Mike Iovine <[email protected]>
…well (NVIDIA#8709) Signed-off-by: Barry Kang <[email protected]> Signed-off-by: Mike Iovine <[email protected]>
…well (NVIDIA#8709) Signed-off-by: Barry Kang <[email protected]> Signed-off-by: Mike Iovine <[email protected]>
…well (NVIDIA#8709) Signed-off-by: Barry Kang <[email protected]> Signed-off-by: Mike Iovine <[email protected]>
…well (NVIDIA#8709) Signed-off-by: Barry Kang <[email protected]> Signed-off-by: Mike Iovine <[email protected]>
Summary by CodeRabbit