Closed KepingYan closed 1 year ago
Hi @KepingYan, Thanks for trying out the torch-ccl for XPU supporting.
Right now the torch-ccl in public repo doesn't support XPU yet.
We are going to release the IPEX and torch-ccl for XPU in next week.
Please try again then.
Hi @KepingYan ,
The changes to support XPU has just been merged into master branch. Please check out.
Thanks John
@chengjunlu OK. Thanks!
I built oneccl_bind_pt from Source and set 'COMPUTE_BACKEND' to 'dpcpp' when built it. I found intel_extension_for_pytorch only v1.10.200 was released with XPU support, so I installed it with torch 1.10.0a0(refer to intel-extension-for-pytorch). Then I tried branch ccl_torch1.10, and modified 'torch_ipex' to 'intel_extension_for_pytorch' in setup.py( setup.py#L119 ).Then I got an error as below:
If I bypass it, another error will appear:
make: *** No rule to make target 'torch_ccl_xpu'. Stop.
when runcheck_call(['make', 'torch_ccl_xpu'] + build_args, cwd=str(build_dir))
. I think maybe it's because there's no Makefile in cwd directory 'build/temp.linux-x86_64-cpython-39.libtorch_ccl'. How should I solve this problem?