Skip to content

ci: add DSpark and DFlash2 GPU smoke coverage - #179

Merged
yubofredwang merged 3 commits into
mainfrom
codex/dflash2-nightly-ci
Aug 26, 2026
Merged

ci: add DSpark and DFlash2 GPU smoke coverage#179
yubofredwang merged 3 commits into
mainfrom
codex/dflash2-nightly-ci

Conversation

@yubofredwang

Copy link
Copy Markdown
Collaborator

Summary

  • Add DFlash2 to the nightly and on-demand 2-GPU training integration lane.
  • Restore production-shaped DSpark CI settings and validate DSpark/DFlash2 trainer dispatch.
  • Enable the vLLM V2 model runner and strengthen optimizer-step/loss validation.
  • Add regression coverage for Qwen3.8 target depth and auxiliary capture layers.

Validation

  • bash -n for CI shell scripts
  • Python bytecode compilation
  • Ruff
  • pre-commit validate-config
  • JSON/YAML parsing
  • git diff --check

GPU Slurm integration is intended to run through the repository CI lane.

Signed-off-by: torchspec-bot <262938024+torchspec-bot@users.noreply.github.com>
Signed-off-by: torchspec-bot <262938024+torchspec-bot@users.noreply.github.com>

@chatgpt-codex-connector chatgpt-codex-connector Bot 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.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: e8b044597c

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines +180 to +184
step_count_pattern = re.compile(r"num_train_steps=(\d+)")
step_counts = [int(match.group(1)) for line in lines if (match := step_count_pattern.search(line))]
if not step_counts:
raise SystemExit(f"{lane}: training log did not report num_train_steps")
expected_step_count = step_counts[-1]

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Validate the default run against the fixture size

For the normal non-profile run, deriving expected_step_count from the training process's own num_train_steps log makes the completion check circular. If preprocessing, dataset loading, or step calculation regresses and retains only one of the 1,001 fixture records, the process reports one step and this check accepts it. Preserve the independent fixture-based expectation when TORCHSPEC_CI_PROFILE_NUM_STEPS is unset, using the profile override only for intentionally shortened runs.

Useful? React with 👍 / 👎.

Signed-off-by: Yubo Wang <yubowang2019@gmail.com>
@yubofredwang
yubofredwang merged commit 2e41eab into main Aug 26, 2026
1 check passed
@yubofredwang
yubofredwang deleted the codex/dflash2-nightly-ci branch August 26, 2026 08:38
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