Skip to content

ci: fix alignment setup and runner preparation - #11

Draft
zrr1999 wants to merge 4 commits into
PFCCLab:mainfrom
zrr1999:fix/alignment-single-setup
Draft

zrr1999 wants to merge 4 commits into
PFCCLab:mainfrom
zrr1999:fix/alignment-single-setup

Conversation

@zrr1999

@zrr1999 zrr1999 commented Sep 14, 2026

Copy link
Copy Markdown

PR type

  • Bug Fix
  • New Feature
  • Document Updates
  • More Models or Datasets Support

PR information

Repair the CI setup failures reported on #12. Alignment setup currently cannot resolve paddle-nvidia-nvshmem-cu13; select the CUDA 12.9 image and matching ops wheel, following PFCCLab/Megatron-LM#19. Keep the earlier removal of duplicate setup so run_alignment_test.sh owns installation and propagates its failure.

The unittest workflow currently invokes sudo chown even when the runner already owns the checkout. Check ownership first, and use noninteractive sudo only when repair is needed. A denied required ownership repair still fails the job. Normalize the existing whitespace and quote violations found by the full-repository lint job; Python ASTs are unchanged.

Experiment results

Full-repository pre-commit passes. Executed the actual workspace preparation shell for an already-owned checkout, a checkout requiring repair, and a denied repair; the owned case no longer calls sudo, and denied repair remains a failure. Workflow YAML and changed shell syntax pass. The unchanged single-setup behavior retains its earlier success/failure validation.

These are CI setup and formatting changes. No model algorithm, accuracy switch, workflow trigger, or test threshold is changed. GPU training and a real privileged ownership repair were not run for this infrastructure patch.

zrr1999 and others added 3 commits September 14, 2026 02:46
Let run_alignment_test.sh own environment setup and propagate setup failures.

Signed-off-by: Zhan Rongrui <me@zrr.dev>
Signed-off-by: Zhan Rongrui <me@zrr.dev>
@zrr1999 zrr1999 changed the title ci: install alignment environments only once ci: fix alignment setup and runner preparation Sep 15, 2026
Signed-off-by: Zhan Rongrui <me@zrr.dev>
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