Skip to content

Add Colab LavaSR validation workflow - #60

Merged
Tinnci merged 1 commit into
mainfrom
agent/add-colab-lavasr-validation
Jul 12, 2026
Merged

Add Colab LavaSR validation workflow#60
Tinnci merged 1 commit into
mainfrom
agent/add-colab-lavasr-validation

Conversation

@Tinnci

@Tinnci Tinnci commented Jul 12, 2026

Copy link
Copy Markdown
Owner

Summary

  • add a remote-only Colab CLI script for v0.6.0 LavaSR real-weight and CUDA evidence collection
  • run gated weight, smoke, accelerator, and failure-case matrix validation inside the Colab runtime
  • package logs and manifests into one downloadable evidence archive
  • document Colab session, execution, download, and cleanup commands

Compute policy

The script refuses to run outside /content. No real weights, GPU inference, or HPE validation were run locally. Two T4 allocation attempts were made through Colab CLI; both timed out connecting to colab.research.google.com before a runtime was allocated.

Local lightweight validation

  • pixi run lint
  • pixi run format-check
  • pixi run python -m py_compile examples/colab_lavasr_validation.py
  • pixi run test: 157 passed, 6 skipped
  • git diff --check

@Tinnci
Tinnci marked this pull request as ready for review July 12, 2026 05:06
Copilot AI review requested due to automatic review settings July 12, 2026 05:06
@Tinnci
Tinnci merged commit ab47b36 into main Jul 12, 2026
3 checks passed
@Tinnci
Tinnci deleted the agent/add-colab-lavasr-validation branch July 12, 2026 05:06

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR introduces a remote-only Google Colab CLI workflow to collect “real-weight/GPU” validation evidence for LavaSR v0.6.0, aligning heavyweight validation with the project’s compute policy (no local GPU/real-weight runs).

Changes:

  • Add a Colab-only Python script that clones the repo, installs dependencies, runs gated GPU/weight tests plus an eval matrix, and archives logs/manifests.
  • Document the Colab CLI session commands for running, downloading evidence, and cleanup.
  • Add a README pointer directing users to the remote-only accelerator validation workflow.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.

File Description
README.md Adds a clear pointer that heavyweight validation must be done remotely via the accelerators documentation.
examples/colab_lavasr_validation.py New Colab-only evidence collection script that runs gated tests/evals and packages results into a tarball.
docs/ACCELERATORS.md Documents the Colab CLI workflow and notes environment overrides and the “no local execution” policy.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +121 to +122
if Path.cwd() != Path("/content"):
raise RuntimeError("This validation script must run inside a Colab runtime rooted at /content")
Comment on lines +22 to +26
WORK_ROOT = Path(os.environ.get("ASR_COLAB_WORK_ROOT", "/content/audio-super-resolution-validation"))
REPO_DIR = WORK_ROOT / "repo"
CACHE_DIR = WORK_ROOT / "models"
EVIDENCE_DIR = WORK_ROOT / "evidence"
ARCHIVE_PATH = Path(os.environ.get("ASR_COLAB_ARCHIVE", "/content/asr-v0.6.0-colab-evidence.tar.gz"))
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