Skip to content

Add CPU GitHub Actions validation workflow - #3

Merged
Efithor merged 1 commit into
mainfrom
feat/cpu-validation-main
Mar 2, 2026
Merged

Add CPU GitHub Actions validation workflow#3
Efithor merged 1 commit into
mainfrom
feat/cpu-validation-main

Conversation

@Efithor

@Efithor Efithor commented Mar 2, 2026

Copy link
Copy Markdown
Owner

Summary

  • add a GitHub Actions workflow at .github/workflows/cpu-validation.yml
  • run CI on pull requests and pushes to main using Python 3.11 + uv
  • add benchmarks/ci_cpu_validate.py CPU smoke checks covering:
    • host and on-device matmul paths
    • accumulation modes (fused, ondevice, host)
    • invalid accumulation mode error handling
    • safe_mode=\"fallback\" behavior on unsafe host configs

Validation notes

This workflow is intentionally CPU-only for now.
TPU validation can be added later as a separate workflow/job.

Run locally

  • uv sync
  • uv run python benchmarks/ci_cpu_validate.py

Made with Cursor

This adds a uv-based CI smoke test that validates host and on-device CPU paths, accumulation mode errors, and fallback behavior so correctness regressions are caught before merge.

Made-with: Cursor
@Efithor
Efithor merged commit 7071317 into main Mar 2, 2026
1 check passed
@Efithor
Efithor deleted the feat/cpu-validation-main branch March 2, 2026 01:18
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.

1 participant