Add XPU to binary build generation#5489
Conversation
|
@chuanqi129 is attempting to deploy a commit to the Meta Open Source Team on Vercel. A member of the Team first needs to authorize it. |
| type: string | ||
| with-xpu: | ||
| description: "Build with XPU?" | ||
| default: "enable" |
There was a problem hiding this comment.
Please keep it disable for now. Since this will automatically enable vision and audio builds. I don't think we want this at this point.
There was a problem hiding this comment.
Hi @atalman thanks for the review, we plan to enable vision and audio build also for now. So that we can have completed nightly install cmd like pip3 install --pre torch torchvision torchaudio --index-url https://download.pytorch.org/whl/nightly/xpu. How do you think? Any concern in here?
There was a problem hiding this comment.
hi @chuanqi129 please set default to disable since multiple domains use this script. Here are some examples:
https://github.com/pytorch/data/blob/main/.github/workflows/build_wheels_linux.yml#L29
https://github.com/pytorch/torchtune/blob/main/.github/workflows/build_linux_wheels.yaml#L29
https://github.com/pytorch/ao/blob/main/.github/workflows/build_wheels_linux.yml#L30
There was a problem hiding this comment.
Oh, thanks @atalman for the reminder. Got your point now, I will set the with_xpu disable as default and enable it in torchvision and torchaudio after this PR land, does it make sense to you?
atalman
left a comment
There was a problem hiding this comment.
lgtm, please adress comment of setting with with-xpu to disable by default
Something that was missed by #5489
Torch XPU nightly wheel build has been enabled with #pytorch/pytorch#129560 landed, add XPU to binary build generation. Works for pytorch/pytorch#114850