Skip to content

Conversation

@ysiraichi
Copy link
Collaborator

This PR removes the temporary fmtlib dependency introduced in #9650 (see issue #9653).

As explained in this comment, the dependency was only added to work around a build issue that should have been fixed upstream in PyTorch. Before the fmtlib version bump to 12 in PyTorch (pytorch/pytorch#163441), fmtlib headers were exported by default. After the bump, they stopped being exported, which caused the issue.

That behavior has since been fixed in PyTorch (pytorch/pytorch#164139), so we can safely remove the explicit fmtlib dependency.

@ysiraichi

This comment was marked as outdated.

@ysiraichi
Copy link
Collaborator Author

This actually works without #9703 because the current .torch_commit pin is using fmtlib on version 11.2.0.
The issue only happens on version 12.0.0 onwards.

@ysiraichi ysiraichi merged commit c03f6aa into master Nov 6, 2025
20 checks passed
@ysiraichi ysiraichi linked an issue Nov 10, 2025 that may be closed by this pull request
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.

CI Build Failing due to PyTorch fmtlib.

3 participants