Skip to content

Simplify CI for CUDA showcase (remove irrelevant CPU tests)#3

Closed
RetamalVictor wants to merge 3 commits into
mainfrom
remove-cpu-tests
Closed

Simplify CI for CUDA showcase (remove irrelevant CPU tests)#3
RetamalVictor wants to merge 3 commits into
mainfrom
remove-cpu-tests

Conversation

@RetamalVictor
Copy link
Copy Markdown
Owner

Summary

Removes irrelevant CPU tests and simplifies CI to focus on what actually matters for a CUDA kernel showcase project.

Changes

Removed:

  • CPU tests across Python 3.9, 3.10, 3.11 (pointless for GPU project)
  • CUDA build/test jobs (no GPU runners available in GitHub Actions)
  • Docker build (causes disk space issues, not critical)
  • Documentation content checks (checking for keyword presence is meaningless)

Kept:

  • ✅ Python syntax validation (ensures code is valid)
  • ✅ CUDA kernel structure verification (shows proper setup)
  • ✅ Security scanning with Trivy (professional practice)

Rationale

This is a CUDA kernel development showcase project. The value is in:

  1. Custom CUDA kernel implementation (rmsnorm_cuda.cu)
  2. PyBind11 integration
  3. Performance benchmarking methodology
  4. Professional code structure

CI should demonstrate professional development practices without pretending to test GPU code in a CPU environment. Actual performance validation requires local GPU hardware.

Impact

  • Faster CI (no waiting for slow CPU tests)
  • No more disk space failures
  • CI clearly communicates project purpose
  • More appropriate for portfolio showcase

- Removed CPU tests (irrelevant for GPU kernel showcase)
- Removed CUDA build/test jobs (no GPU runners)
- Removed pointless README content checks
- Keep only what matters:
  * Python syntax validation
  * CUDA kernel file structure verification
  * Security scanning
- Clean CI that demonstrates professional setup
- Actual testing done locally with GPU hardware
@github-advanced-security
Copy link
Copy Markdown

This pull request sets up GitHub code scanning for this repository. Once the scans have completed and the checks have passed, the analysis results for this pull request branch will appear on this overview. Once you merge this pull request, the 'Security' tab will show more code scanning analysis results (for example, for the default branch). Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results. For more information about GitHub code scanning, check out the documentation.

- Changed bench_kv_cache.py to bench_kv_curve.py (actual filename)
- Updated benchmark verification to use bench_kv_vs_nokv.py
- Fixes failing 'Validate Project Structure' check
@RetamalVictor
Copy link
Copy Markdown
Owner Author

Merged into PR #2 (final-improvements) to consolidate all improvements into a single PR.

@RetamalVictor RetamalVictor deleted the remove-cpu-tests branch November 28, 2025 16:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants