Repository navigation
Conversation
…` flag Previously AOTriton was always copied to Torch's output/wheel. This is unnecessary and can waste a gigabyte of space easily for distros which have AOTriton as an installable package.
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/182030
Note: Links to docs will display an error until the docs builds have been completed. This comment was automatically generated by Dr. CI and updates every 15 minutes. |
|
|
|
@pytorchbot label "topic: not user facing" |
Avoids duplicating AOTriton in torch's store path. Vendors PR pytorch/pytorch#182030
| # adding hundreds of MiB and avoiding a separate AOTriton install | ||
| # For distros which have AOTriton as an installable package this can be disabled | ||
| # to avoid duplicating AOTriton into torch | ||
| option(BUILD_AOTRITON_INTO_WHEEL "Copy AOTriton lib/ and include/ into the torch install tree so they ship in the wheel" ON) |
There was a problem hiding this comment.
Name isn't amazing, constrained by only USE_ and BUILD_ prefixed env vars being passed on by torch's setup.py.
|
Looks like this PR hasn't been updated in a while so we're going to go ahead and mark this as |
|
This is still needed, and is being applied in NixOS/nixpkgs so we can avoid shipping two copies of AOTriton. |
|
@pytorchbot label "no-stale" |
|
@albanD can you assign another reviewer? |
Previously AOTriton was always copied to Torch's output/wheel. This is unnecessary and can waste a gigabyte of space easily for distros which have AOTriton as an installable package.
Adding this flag lets us avoid duplicating AOTriton in NixOS/Nixpkgs' ROCm torch output. NixOS/nixpkgs#515088
cc @jeffdaily @sunway513 @jithunnair-amd @pruthvistony @ROCmSupport @jataylo @hongxiayang @naromero77amd @pragupta @jerrymannil @xinyazhang