Skip to content

Bump version to 0.8.0 + calibration-baseline integration tests#82

Open
romeokienzler wants to merge 1 commit into
mainfrom
bump_version_0.8.0
Open

Bump version to 0.8.0 + calibration-baseline integration tests#82
romeokienzler wants to merge 1 commit into
mainfrom
bump_version_0.8.0

Conversation

@romeokienzler

Copy link
Copy Markdown
Collaborator

Summary

  • Bump version 0.8.0rc30.8.0
  • Integration tests (test_train_pf, test_train_opf) assert trained metrics against a committed calibration_baseline.json (pf + opf bounds) via read_baseline(), plus an environment fingerprint that warns (never fails) on mismatch
  • conftest.py: add the calibrate_pad fixture backing the existing --pad option
  • __main__.py: fix NODE_RANK computation to tolerate FQDN vs short LSF hostnames
  • .gitignore: add build/ and dist/

Validation

Ran end-to-end on an H100 node (torch 2.12.1+cu130):

  • Calibration (pytest integrationtests --calibrate 5 -s): 2 passed in 1:42:06 → produced the committed baseline
  • Assertion (pytest integrationtests -s): 2 passed in 18:43; metrics within calibrated bounds. Job rescheduled to a different H100 node — confirmed the hostname fingerprint mismatch is warn-only and does not fail the run.

⚠️ Notes for reviewers

  • Restores the read-baseline / fingerprint approach over main's current hardcoded-bounds tests, and re-adds calibration_baseline.json (which main had deleted). This was an explicit request — please confirm this is the intended direction vs. main's hardcoded bounds.
  • CUDA torch_scatter is not pinned. The OPF test needs a CUDA-enabled torch_scatter (installed manually from the data.pyg.org wheel index during validation). A clean pip install pulls the CPU-only build, and OPF then fails with RuntimeError: Not compiled with CUDA support. Pinning/documenting this is left for a follow-up.
  • The baseline is environment-specific (H100 / cu130); re-calibrate with --calibrate for other environments.

🤖 Generated with Claude Code

- Bump version 0.8.0rc3 -> 0.8.0
- Integration tests assert trained metrics against a committed
  calibration_baseline.json (pf + opf bounds) via read_baseline(), with an
  environment fingerprint (warn-on-mismatch, non-gating)
- conftest: add --pad option's calibrate_pad fixture
- Fix NODE_RANK computation to tolerate FQDN vs short LSF hostnames
- gitignore build/ and dist/

Validated on H100 (cu130): calibration run + assertion run both pass
(2 passed). Note: this restores the read-baseline/fingerprint approach over
main's hardcoded-bounds tests, per request.

Co-Authored-By: Claude Opus 4.8 <[email protected]>
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