Skip to content

Conversation

@fegin
Copy link
Contributor

@fegin fegin commented Nov 24, 2025

Stack from ghstack (oldest at bottom):

This PR and #2070 can resolve #2043.

This should not affect .github/scripts/update_version.sh as .github/scripts/update_version.sh will append the version at the end of the file, which will overwrite the value.

[ghstack-poisoned]
[ghstack-poisoned]
fegin added a commit that referenced this pull request Nov 24, 2025
This PR and #2070 can resolve #2043.

This should not affect `.github/scripts/update_version.sh` as `.github/scripts/update_version.sh` will append the version at the end of the file, which will overwrite the value.


ghstack-source-id: 2ece5e7
Pull-Request: #2083
@meta-cla meta-cla bot added the CLA Signed This label is managed by the Meta Open Source bot. label Nov 24, 2025

import torchtitan
logger.info(
"TorchTitan version: %s (0.0.0 means __version__ is not defined correctly).",
Copy link
Contributor

Choose a reason for hiding this comment

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

when would it be not defined?
can we just put Undefined instead of 0.0.0 as the version, so that we don't need to explain even when the version is normal?

Copy link
Contributor Author

@fegin fegin Nov 24, 2025

Choose a reason for hiding this comment

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

I believe "undefined" is going to break some package installation. We can do "0.0.0+unknown". But the explanation is better to stay there for people who don't know the version restriction well.

[ghstack-poisoned]
fegin added a commit that referenced this pull request Nov 24, 2025
This PR and #2070 can resolve #2043.

This should not affect `.github/scripts/update_version.sh` as `.github/scripts/update_version.sh` will append the version at the end of the file, which will overwrite the value.

ghstack-source-id: dfb3916
Pull-Request: #2083
@fegin fegin requested a review from tianyu-l November 24, 2025 21:08
Copy link
Contributor

@tianyu-l tianyu-l left a comment

Choose a reason for hiding this comment

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

sg, one nit

[ghstack-poisoned]
fegin added a commit that referenced this pull request Nov 24, 2025
This PR and #2070 can resolve #2043.

This should not affect `.github/scripts/update_version.sh` as `.github/scripts/update_version.sh` will append the version at the end of the file, which will overwrite the value.

ghstack-source-id: 2e684d8
Pull-Request: #2083
@fegin fegin changed the base branch from gh/fegin/48/base to main November 24, 2025 22:21
@fegin fegin merged commit 7e1edb6 into main Nov 24, 2025
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Meta Open Source bot.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Improving Commit Traceability for TorchTitan Jobs on Remote Clusters

3 participants