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

[developer] Add a script to automate building torch_xla #7876

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

tengyifei
Copy link
Collaborator

This script replicates our CONTRIBUTING.md instructions. It builds PyTorch, TorchVision (optional), and PyTorch/XLA. Then it runs a test to verify the installation.

This is useful after git pulling all three repos.

This script replicates our CONTRIBUTING.md instructions.
It builds PyTorch, TorchVision (optional), and PyTorch/XLA. Then it runs
a test to verify the installation.
@@ -0,0 +1,30 @@
#!/bin/bash
Copy link
Collaborator

Choose a reason for hiding this comment

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

This is fine with me, as long as we keep it this simple and we continue to keep automated processes using the configs in infra/ansible.

cd ../../

python3 setup.py bdist_wheel
python3 setup.py install
Copy link
Collaborator

Choose a reason for hiding this comment

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

Can you install the package produced by the last line directly? ie pip install dist/*.whl

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