Skip to content

Be nice to TF#24076

Merged
ydshieh merged 2 commits intomainfrom
p7
Jun 7, 2023
Merged

Be nice to TF#24076
ydshieh merged 2 commits intomainfrom
p7

Conversation

@ydshieh
Copy link
Copy Markdown
Collaborator

@ydshieh ydshieh commented Jun 7, 2023

What does this PR do?

... and to @Rocketknight1

To be serious: to avoid OOM issue introduced in #23234. Note torch_job use pytest_num_workers=3.

See this comment.

@HuggingFaceDocBuilderDev
Copy link
Copy Markdown

HuggingFaceDocBuilderDev commented Jun 7, 2023

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

@Rocketknight1
Copy link
Copy Markdown
Member

LGTM! If the torch value is 3 we could probably reduce the TF value even lower, but let's try this first.

Copy link
Copy Markdown
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 updating!

@ydshieh
Copy link
Copy Markdown
Collaborator Author

ydshieh commented Jun 7, 2023

7 avoids the issue, but still 96~98% memory. Change it to 6 and will merge.

@ydshieh ydshieh merged commit 092c14c into main Jun 7, 2023
@ydshieh ydshieh deleted the p7 branch June 7, 2023 14:18
@HuggingFaceDocBuilderDev
Copy link
Copy Markdown

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.

novice03 pushed a commit to novice03/transformers that referenced this pull request Jun 23, 2023
* fix

* fix

---------

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.

4 participants