-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Windows Build #773
Add Windows Build #773
Conversation
.github/workflows/pull.yml
Outdated
@@ -35,6 +35,13 @@ jobs: | |||
abi: 0 | |||
ut: op_extended | |||
runner: linux.idc.xpu | |||
|
|||
preci-windows: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
preci-windows: | |
preci-windows-build: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
.github/workflows/windows.yml
Outdated
if: ${{ ! cancelled() }} | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: Inductor-Windows-Binary-${{ github.event.pull_request.number || github.sha }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
name: Inductor-Windows-Binary-${{ github.event.pull_request.number || github.sha }} | |
name: Torch-XPU-Windows-Binary-${{ github.event.pull_request.number || github.sha }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
.github/workflows/windows.yml
Outdated
exit /b 1 | ||
) | ||
pip install --force-reinstall dist/*.whl | ||
git clone https://github.com/pytorch/vision && cd vision && python setup.py install && cd .. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's remove torchvision part in torch xpu build
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
.github/workflows/windows.yml
Outdated
with: | ||
name: Inductor-Windows-Binary-${{ github.event.pull_request.number || github.sha }} | ||
path: ${{ github.workspace }}/../pytorch/dist | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
keep the last line without any space string
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
REM To-do: Add driver installation in this file. | ||
|
||
set ONEAPI_PARENT_DIR=C:\Program Files (x86)\Intel | ||
set INTEL_ONEAPI_PYTORCH_BUNDLE_URL=https://registrationcenter-download.intel.com/akdlm/IRC_NAS/5ca2021d-dd1a-4ab1-bd52-758fe63cf827/w_intel-for-pytorch-gpu-dev_p_0.5.2.19_offline.exe |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's update the bundle link to 0.5.3 and install pti also
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated the bundle link to 0.5.3. Then, I will try to add pti installation and sync with US val team about it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess we don't need sync, just follow the latest BKC. Anyway, you can submit another PR for it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Its just for effort saving. We do not need to do it for both side. I will also try to do it later with another PR for it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
rename to install_xpu.bat
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
.github/workflows/windows.yml
Outdated
VS2022INSTALLDIR: 'C:\Program Files\Microsoft Visual Studio\2022\BuildTools\VC\Auxiliary\Build\vcvarsall.bat' | ||
|
||
jobs: | ||
Torch-XPU-Windows-Tests: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Torch-XPU-Windows-Tests: | |
Torch-XPU-Windows-Build: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
4cd625f
to
d47060d
Compare
@RUIJIEZHONG66166 I have rebased the PR, please update the build scripts with below BKC
|
No description provided.