Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix DeepSpeed CI job link in Past CI #22967

Merged
merged 2 commits into from
Apr 25, 2023

Conversation

ydshieh
Copy link
Collaborator

@ydshieh ydshieh commented Apr 24, 2023

What does this PR do?

Fix missing DeepSpeed CI job link in Past CI. See comment in the change.

job_name = f"{key} ({artifact_path['gpu']}-gpu)"
if job_name_prefix:
job_name = f"{job_name_prefix} / {job_name}"
additional_results[key]["job_link"][artifact_path["gpu"]] = github_actions_job_links.get(job_name)
Copy link
Collaborator Author

@ydshieh ydshieh Apr 24, 2023

Choose a reason for hiding this comment

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

For model test jobs in Past CI, we have

job_name = f"Model tests ({model.replace('models_', 'models/')}, {artifact_path['gpu']}-gpu)"
if job_name_prefix:
job_name = f"{job_name_prefix} / {job_name}"
model_results[model]["job_link"][artifact_path["gpu"]] = github_actions_job_links.get(job_name)
, as the (normal) job names are prefixed with the framework+version names (through workflow call), like

PyTorch 1.13 / Model tests (models/audio_spectrogram_transformer, multi-gpu)

In #22393, we added DeepSpeed test job to Nightly/Past CI, but I forgot to apply the same change mentioned above to this additional test jobs (i.e. not model test job), and the job links are missing for them in the Slack report. The job name should look like

PyTorch 1.13 / Torch CUDA extension tests (single-gpu)

@ydshieh ydshieh requested a review from sgugger April 24, 2023 15:47
@HuggingFaceDocBuilderDev
Copy link

HuggingFaceDocBuilderDev commented Apr 24, 2023

The documentation is not available anymore as the PR was closed or merged.

Copy link
Collaborator

@sgugger sgugger left a comment

Choose a reason for hiding this comment

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

Thnaks for the fix!

@ydshieh ydshieh merged commit 60f9649 into main Apr 25, 2023
@ydshieh ydshieh deleted the fix_job_link_for_deepspeed_ci_past_jobs branch April 25, 2023 07:52
gojiteji pushed a commit to gojiteji/transformers that referenced this pull request Jun 5, 2023
* Fix job link

* fix artifact name logic

---------

Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
novice03 pushed a commit to novice03/transformers that referenced this pull request Jun 23, 2023
* Fix job link

* fix artifact name logic

---------

Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
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