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

Build torchvision from the pytorch pin in ansible #6756

Merged
merged 2 commits into from
Mar 15, 2024

Conversation

will-cromar
Copy link
Collaborator

@will-cromar will-cromar commented Mar 14, 2024

Instead of installing the last stable torchvision in our image, install the pinned version from the PyTorch repository.

Also remove XLA patching that we don't need anymore 🎊

Tested: ansible-playbook playbook.yaml -e "stage=build arch=amd64 accelerator=tpu bundle_libtpu=0"

Will also test with TPU CI to since it uses an image built with ansible.

@will-cromar will-cromar marked this pull request as ready for review March 15, 2024 16:20
@will-cromar will-cromar merged commit b8ffb45 into master Mar 15, 2024
19 checks passed
@@ -20,25 +20,6 @@
dest: "{{ (src_root, 'pytorch/xla') | path_join }}"
version: "{{ xla_git_rev }}"

- name: Find *.diff files in pytorch/xla/openxla_patches
Copy link
Collaborator

Choose a reason for hiding this comment

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

I wonder why we don't need the openxla patches anymore.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

The patches are applied by bazel automatically now.

lsy323 added a commit that referenced this pull request Apr 24, 2024
Co-authored-by: Will Cromar <wcromar@google.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants