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

offline mode for firewalled envs (part 2) #10569

Merged
merged 6 commits into from Mar 8, 2021

Conversation

stas00
Copy link
Contributor

@stas00 stas00 commented Mar 7, 2021

In #10407 I noticed I missed a few places where local_files_only should be overridden for the offline mode, so this PR completes the process.

Also rewrote the test to be more readable. Could test TF/Flax too but I don't have tiny models to run quick tests on.

@LysandreJik, @sgugger

Copy link
Member

@LysandreJik LysandreJik left a comment

Choose a reason for hiding this comment

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

Great, thanks for taking care of it.

@LysandreJik LysandreJik requested a review from sgugger March 8, 2021 12:49
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.

Thanks for fixing those!

examples/research_projects/bertabs/run_summarization.py Outdated Show resolved Hide resolved
@stas00 stas00 merged commit 6f84531 into huggingface:master Mar 8, 2021
@stas00 stas00 deleted the offline-mode-p2 branch March 8, 2021 16:52
Iwontbecreative pushed a commit to Iwontbecreative/transformers that referenced this pull request Jul 15, 2021
* more readable test

* add all the missing places

* one more nltk

* better exception check

* revert
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.

None yet

3 participants