-
Notifications
You must be signed in to change notification settings - Fork 25.5k
Open
Labels
better-engineeringRelatively self-contained tasks for better engineering contributorsRelatively self-contained tasks for better engineering contributorshigh priorityoncall: relengIn support of CI and Release EngineeringIn support of CI and Release EngineeringtriagedThis issue has been looked at a team member, and triaged and prioritized into an appropriate moduleThis issue has been looked at a team member, and triaged and prioritized into an appropriate module
Description
https://github.com/pytorch/test-infra/actions/workflows/validate-pypi-wheel-binary-size.yml
Example failure:
https://github.com/pytorch/test-infra/actions/runs/15735929803/job/44348497038
Latest version prefix: torch-2.8.0.dev20250618
Validating https://download.pytorch.org/whl/nightly/cu126/torch-2.8.0.dev20250618%2Bcu126-cp310-cp310-manylinux_2_28_x86_64.whl...
torch-2.8.0.dev20250618+cu126-cp310-cp310-manylinux_2_28_x86_64.whl: 782.98 MB
Traceback (most recent call last):
File "/home/runner/work/test-infra/test-infra/tools/binary_size_validation/binary_size_validation.py", line 111, in <module>
main()
File "/home/runner/.local/lib/python3.12/site-packages/click/core.py", line 1128, in __call__
return self.main(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/runner/.local/lib/python3.12/site-packages/click/core.py", line 1053, in main
rv = self.invoke(ctx)
^^^^^^^^^^^^^^^^
File "/home/runner/.local/lib/python3.12/site-packages/click/core.py", line 1395, in invoke
return ctx.invoke(self.callback, **ctx.params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/runner/.local/lib/python3.12/site-packages/click/core.py", line 754, in invoke
return __callback(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/runner/work/test-infra/test-infra/tools/binary_size_validation/binary_size_validation.py", line 105, in main
raise RuntimeError(
RuntimeError: Binary size of torch-2.8.0.dev202506[18](https://github.com/pytorch/test-infra/actions/runs/15735929803/job/44348497038#step:4:19)+cu126-cp310-cp310-manylinux_2_28_x86_64.whl 782.98 MB exceeds the threshold 750 MB
Error: Process completed with exit code 1.
Does this check still provide value? Do we need to increase the threshold? Do we need to work on decreasing binary size?
Metadata
Metadata
Assignees
Labels
better-engineeringRelatively self-contained tasks for better engineering contributorsRelatively self-contained tasks for better engineering contributorshigh priorityoncall: relengIn support of CI and Release EngineeringIn support of CI and Release EngineeringtriagedThis issue has been looked at a team member, and triaged and prioritized into an appropriate moduleThis issue has been looked at a team member, and triaged and prioritized into an appropriate module
Type
Projects
Status
Prioritized