{{ message }}
Add performance regression tests for cuda.core#2
Open
devin-ai-integration[bot] wants to merge 1 commit into
Open
Add performance regression tests for cuda.core#2devin-ai-integration[bot] wants to merge 1 commit into
devin-ai-integration[bot] wants to merge 1 commit into
Conversation
- Create test_performance_regression.py with kernel launch and memory transfer benchmarks - Add performance marker registration in conftest.py - Update CI workflow to run performance tests on A100 hardware - Add PERFORMANCE_THRESHOLDS.md documentation Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Author
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Description
Adds automated performance regression tests for the cuda.core API to detect when changes inadvertently slow down critical CUDA operations.
Changes:
test_performance_regression.pywith two tests:performancepytest marker in conftest.pyPERFORMANCE_THRESHOLDS.mddocumenting threshold values and update proceduresThresholds:
Human Review Checklist
device.allocate()API: Confirmed -Device.allocate(size, stream)exists at line 1330 in_device.pyxand delegates toself.memory_resource.allocate(size, stream).Checklist
Link to Devin run: https://app.devin.ai/sessions/2db856c666e84ea98b2800312a6f0ce3
Requested by: Shawn Azman (shawn@cognition.ai) / @ShawnAzman