Skip to content

Switch to use A10 progressively #38936

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

Merged
merged 3 commits into from
Jun 20, 2025
Merged

Switch to use A10 progressively #38936

merged 3 commits into from
Jun 20, 2025

Conversation

ydshieh
Copy link
Collaborator

@ydshieh ydshieh commented Jun 20, 2025

What does this PR do?

I don't want to switch in one go. My goal is to switch those job to use A10 if they have no extra failures on A10 compared to T4.
For those have extra failures on A10, I will fix them and switch to A10 progressively.

Currently, the data fetched is from

https://huggingface.co/datasets/hf-internal-testing/transformers_daily_ci/blob/main/runner_map.json

I will trigger manually a run with A10 and fill the model names (that should use T4 runners) to the above file.

@ydshieh ydshieh requested a review from ivarflakstad June 20, 2025 09:26
Comment on lines -15 to -16
runner:
required: true
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

we don't this. It was there in old time maybe.

@@ -45,7 +45,7 @@ jobs:
matrix:
folders: ${{ fromJson(inputs.folder_slices)[inputs.slice_id] }}
runs-on:
group: '${{ inputs.machine_type }}'
group: ${{ fromJson(inputs.runner_map)[matrix.folders][inputs.machine_type] }}
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

see the newly added get_runner_map.py

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

not used anymore

@@ -51,7 +51,6 @@ jobs:
with:
job: run_models_gpu
slack_report_channel: "#transformers-ci-daily-models"
runner: daily-ci
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

no need this

Copy link
Member

@ivarflakstad ivarflakstad left a comment

Choose a reason for hiding this comment

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

Great!👌

@HuggingFaceDocBuilderDev

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

@ydshieh
Copy link
Collaborator Author

ydshieh commented Jun 20, 2025

Will merge once I trigger a run with A10 and update https://huggingface.co/datasets/hf-internal-testing/transformers_daily_ci/blob/main/runner_map.json

thank you

@ydshieh ydshieh force-pushed the allow_ci_to_use_a10_clean branch from 20a05d6 to 63736a2 Compare June 20, 2025 15:58
@ydshieh ydshieh enabled auto-merge (squash) June 20, 2025 16:05
@ydshieh ydshieh merged commit 3d34b92 into main Jun 20, 2025
11 checks passed
@ydshieh ydshieh deleted the allow_ci_to_use_a10_clean branch June 20, 2025 16:10
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