Skip to content

notify new model merged to main - #36375

Merged
ydshieh merged 1 commit into
mainfrom
action_to_notify_new_model_push
Feb 24, 2025
Merged

notify new model merged to main#36375
ydshieh merged 1 commit into
mainfrom
action_to_notify_new_model_push

Conversation

@ydshieh

@ydshieh ydshieh commented Feb 24, 2025

Copy link
Copy Markdown
Collaborator

What does this PR do?

Notify new model PR being merged to main



def get_new_python_files() -> List[str]:
def get_new_python_files(diff_with_last_commit=False) -> List[str]:

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Use diff_with_last_commit to indiciate we are compare files in main (head vs parent)

shell: bash
run: |
python -m pip install gitpython
python -c 'from utils.pr_slow_ci_models import get_new_model; new_model = get_new_model(diff_with_last_commit=True); print(new_model)' | tee output.txt

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

on main, we need to use diff_with_last_commit=True

@ydshieh
ydshieh requested a review from LysandreJik February 24, 2025 15:54
@HuggingFaceDocBuilderDev

Copy link
Copy Markdown

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.

@LysandreJik LysandreJik left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks a lot!

@ydshieh
ydshieh merged commit 2ab7bdc into main Feb 24, 2025
@ydshieh
ydshieh deleted the action_to_notify_new_model_push branch February 24, 2025 16:53
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