Skip to content

Fix formatting CI failures in benchmarks/opsd benchmark scripts#8111

Draft
Copilot wants to merge 2 commits into
masterfrom
copilot/fix-formatting-checks
Draft

Fix formatting CI failures in benchmarks/opsd benchmark scripts#8111
Copilot wants to merge 2 commits into
masterfrom
copilot/fix-formatting-checks

Conversation

Copilot AI commented Jul 1, 2026

Copy link
Copy Markdown
Contributor

Three new benchmark scripts added in PR #8027 fail the formatting CI (Formatting / formatting checks) due to missing license headers, a flake8 unused-import error, incorrect yapf formatting, and bare torch.cuda.* calls flagged by check-torchcuda.

Changes

  • benchmarks/opsd/bench_14b_rollout.py

    • Add SPDX-License-Identifier: Apache-2.0 + DeepSpeed Team header
    • Remove unused import sys (flake8 F401)
    • Apply yapf formatting
    • Annotate torch.cuda.* calls with #ignore-cuda (CUDA-specific benchmark)
  • benchmarks/opsd/bench_autotp_gc.py

    • Add license header
    • Apply yapf formatting
    • Annotate torch.cuda.* calls with #ignore-cuda
  • benchmarks/opsd/bench_vllm_tp2.py

    • Add license header
    • Apply yapf formatting

- Add SPDX-License-Identifier and DeepSpeed Team headers to
  bench_14b_rollout.py, bench_autotp_gc.py, bench_vllm_tp2.py
- Remove unused 'sys' import from bench_14b_rollout.py (flake8 F401)
- Apply yapf formatting (column_limit=119)
- Add #ignore-cuda comments to torch.cuda.* calls in benchmark scripts
  (these are CUDA-specific benchmarks)

Signed-off-by: GitHub <noreply@github.com>
Copilot AI changed the title [WIP] Fix failing GitHub Actions job for formatting checks Fix formatting CI failures in benchmarks/opsd benchmark scripts Jul 1, 2026
Copilot finished work on behalf of PKUWZP July 1, 2026 23:44
Copilot AI requested a review from PKUWZP July 1, 2026 23:44
@delock

delock commented Jul 2, 2026

Copy link
Copy Markdown
Collaborator

The example needs to move to deepspeedai/DeepSpeedExamples#1002.

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.

3 participants