Skip to content

unpin tf prob#23293

Merged
ydshieh merged 5 commits intomainfrom
unpin-tf-prob
May 11, 2023
Merged

unpin tf prob#23293
ydshieh merged 5 commits intomainfrom
unpin-tf-prob

Conversation

@ydshieh
Copy link
Collaborator

@ydshieh ydshieh commented May 11, 2023

What does this PR do?

unpin tf prob

@HuggingFaceDocBuilderDev
Copy link

HuggingFaceDocBuilderDev commented May 11, 2023

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

@ydshieh ydshieh requested a review from amyeroberts May 11, 2023 16:13
@ydshieh ydshieh marked this pull request as ready for review May 11, 2023 16:13
@ydshieh ydshieh requested review from Rocketknight1 and gante May 11, 2023 16:13
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 updating!


# If set to nothing, will install the latest version
ARG PYTORCH='2.0.0'
ARG PYTORCH='2.0.1'
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Let's use the latest version. Otherwise, while building the docker image using this docker file, there will be other version conflicts during build and cause the image being too large and ran out of the disk.

Comment on lines -39 to -43
# To include the change in this commit https://github.com/onnx/tensorflow-onnx/commit/ddca3a5eb2d912f20fe7e0568dd1a3013aee9fa3
# Otherwise, we get tf2onnx==1.8 (caused by `flatbuffers` version), and some tests fail with `ValueError: from_keras requires input_signature`.
# TODO: remove this line once the conflict is resolved in these libraries.
RUN python3 -m pip install --no-cache-dir git+https://github.com/onnx/tensorflow-onnx.git@ddca3a5eb2d912f20fe7e0568dd1a3013aee9fa3

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Remove this as this causes protobuf to be downgraded to < 2.20.3. We will see if the new tensorflow-onnx will cause other problems.

@ydshieh ydshieh merged commit ba71d9e into main May 11, 2023
@ydshieh ydshieh deleted the unpin-tf-prob branch May 11, 2023 19:28
gojiteji pushed a commit to gojiteji/transformers that referenced this pull request Jun 5, 2023
* unpin tf prob

---------

Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
novice03 pushed a commit to novice03/transformers that referenced this pull request Jun 23, 2023
* unpin tf prob

---------

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.

3 participants