Fix formatting CI failures in benchmarks/opsd benchmark scripts#8111
Draft
Copilot wants to merge 2 commits into
Draft
Fix formatting CI failures in benchmarks/opsd benchmark scripts#8111Copilot wants to merge 2 commits into
Copilot wants to merge 2 commits into
Conversation
- 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
Collaborator
|
The example needs to move to deepspeedai/DeepSpeedExamples#1002. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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 baretorch.cuda.*calls flagged bycheck-torchcuda.Changes
benchmarks/opsd/bench_14b_rollout.pySPDX-License-Identifier: Apache-2.0+DeepSpeed Teamheaderimport sys(flake8 F401)torch.cuda.*calls with#ignore-cuda(CUDA-specific benchmark)benchmarks/opsd/bench_autotp_gc.pytorch.cuda.*calls with#ignore-cudabenchmarks/opsd/bench_vllm_tp2.py