Skip to content

Conversation

@will-cromar
Copy link
Collaborator

@will-cromar will-cromar commented Apr 30, 2024

This will make the logs slightly clearer and bring the git hash back to the generated docs page: e0afb71

@will-cromar
Copy link
Collaborator Author

Confirmed this adds the git hash back to generated docs.

@will-cromar will-cromar marked this pull request as ready for review April 30, 2024 19:33
@JackCaoG
Copy link
Collaborator

hmm CI failed with

Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/__w/xla/xla/torch_xla/__init__.py", line 152, in <module>
    from .version import __version__
ModuleNotFoundError: No module named 'torch_xla.version'

is it relevant?

@will-cromar
Copy link
Collaborator Author

#7005 should fix this. I'll rerun the flaked test.

run: |
cd pytorch/xla/infra/ansible
ansible-playbook playbook.yaml -vvv -e "stage=build arch=amd64 accelerator=tpu src_root=${GITHUB_WORKSPACE} bundle_libtpu=0 build_cpp_tests=1 cache_suffix=-ci" --skip-tags=fetch_srcs,install_deps
ansible-playbook playbook.yaml -vvv -e "stage=build arch=amd64 accelerator=tpu src_root=${GITHUB_WORKSPACE} bundle_libtpu=0 build_cpp_tests=1 git_versioned_xla_build=1 cache_suffix=-ci" --skip-tags=fetch_srcs,install_deps
Copy link
Collaborator

Choose a reason for hiding this comment

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

does it means we always tag git version except the release build?

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 default is to not tag the build except for nightly builds. I'm fine switching the default if you want to.

@will-cromar will-cromar merged commit 77bbf7f into master Apr 30, 2024
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