Skip to content

Conversation

@LysandreJik
Copy link
Member

@LysandreJik LysandreJik commented Sep 4, 2023

Goes hand in hand with #25954

As seen offline with @ArthurZucker but would still like additional eyes on this as it's touching critical code (that I'd honestly rather not be touching, but I don't see another way around it).

This code will be removed as soon as we can revert the change on the Falcon repositories as from_pretrained will then automatically download the appropriate revision.

Copy link
Member

@Rocketknight1 Rocketknight1 left a comment

Choose a reason for hiding this comment

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

LGTM! This kind of shimming makes me nervous, especially in auto_factory, but I can't see any bugs in the code so I think we'll get away with it for one version.

🦅
🏋️

@HuggingFaceDocBuilderDev
Copy link

HuggingFaceDocBuilderDev commented Sep 4, 2023

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

Copy link
Contributor

@amyeroberts amyeroberts left a comment

Choose a reason for hiding this comment

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

LGTM - thanks for adding the code to handle this!

Copy link
Contributor

Choose a reason for hiding this comment

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

Nice tests!

Copy link
Collaborator

@ArthurZucker ArthurZucker left a comment

Choose a reason for hiding this comment

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

Looks good to me !

LysandreJik and others added 3 commits September 4, 2023 13:49
Co-authored-by: Arthur <48595927+ArthurZucker@users.noreply.github.com>
@LysandreJik LysandreJik merged commit 22a69f1 into main Sep 4, 2023
@LysandreJik LysandreJik deleted the put-falcon-back branch September 4, 2023 18:17
parambharat pushed a commit to parambharat/transformers that referenced this pull request Sep 26, 2023
* Put Falcon back

* Update src/transformers/models/auto/configuration_auto.py

Co-authored-by: Arthur <48595927+ArthurZucker@users.noreply.github.com>

* Update test

---------

Co-authored-by: Arthur <48595927+ArthurZucker@users.noreply.github.com>
LysandreJik added a commit that referenced this pull request Sep 28, 2023
LysandreJik added a commit that referenced this pull request Oct 2, 2023
* Revert "Falcon: fix revision propagation (#26006)"

This reverts commit 118c676.

* Revert "Put Falcon back (#25960)"

This reverts commit 22a69f1.
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.

6 participants