Skip to content
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

[CI] Add xpu test for windows #1375

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Conversation

RUIJIEZHONG66166
Copy link
Contributor

Add xpu related API test

@@ -17,7 +17,7 @@ on:
required: true
type: string
default: ''
description: UT scope. `op_regression,op_regression_dev1,op_extended,op_ut,torch_xpu` Delimiter is comma
description: UT scope. `op_regression,op_regression_dev1,op_extended,op_ut,torch_xpu,test_xpu` Delimiter is comma
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's reuse torch_xpu for it also

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Got it. Done for it.

@RUIJIEZHONG66166
Copy link
Contributor Author

RUIJIEZHONG66166 commented Feb 20, 2025

3 faliure for test_xpu.py, need to check.

  • FAILED [1.7263s] test_xpu.py::TestXpuXPU::test_lazy_init_xpu - subprocess.CalledProcessError: Command '['C:\Users\Devcloud\.conda\envs\windows_ci\python.exe'
  • FAILED [0.0043s] test_xpu.py::TestXpuXPU::test_mem_get_info_xpu - RuntimeError: The device (Intel(R) Arc(TM) Graphics) doesn't support querying the available free memory —— known issue: [Win] torch.xpu.mem_get_info() failed on Integrated Platforms #1384
  • FAILED [1.8017s] test_xpu.py::TestXpuXPU::test_wrong_xpu_fork_xpu - AssertionError: Regex didn't match: 'Cannot re-initialize XPU in forked subprocess.' not found in 'PYTORCH_API_USAGE

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants