Skip to content

Commit

Permalink
update torch-xpu-ops commit
Browse files Browse the repository at this point in the history
  • Loading branch information
RUIJIEZHONG66166 committed Dec 25, 2024
1 parent 8a9d8a7 commit b5220c3
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/_windows_ut.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,10 @@ jobs:
git status
git show -s
git submodule sync && git submodule update --init --recursive
cd ../torch-xpu-ops
git rev-parse HEAD >> commit.txt
for /F %i in ('type commit.txt') do ( set commit=%i)
cd ../pytorch
if ${{ inputs.keep_torch_xpu_ops }} == 'true' (
echo "Don't replace torch-xpu-ops!"
) else (
Expand All @@ -85,6 +89,13 @@ jobs:
)
cd ..
Xcopy ..\torch-xpu-ops third_party\torch-xpu-ops /E/H/Y/F/I
for /f "delims=" %%i in (third_party\xpu.txt) do (
set str=%%i
echo %str%
set "str=%commit%"
echo %str%>>third_party\xpu_tmp.txt
)
move third_party\xpu_tmp.txt third_party\xpu.txt
)
- name: Build Pytorch XPU
shell: cmd
Expand Down

0 comments on commit b5220c3

Please sign in to comment.