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

Ipex install fails (v2.3.110) in windows #759

Open
ammu7887 opened this issue Dec 28, 2024 · 1 comment
Open

Ipex install fails (v2.3.110) in windows #759

ammu7887 opened this issue Dec 28, 2024 · 1 comment
Assignees

Comments

@ammu7887
Copy link

Describe the bug

Please find the details below. Kindly help me resolve. Feel free any questions.
 

Followed instruction given in https://pytorch-extension.intel.com/installation?platform=gpu&version=v2.3.110%2Bxpu&os=windows&package=source

My laptop specs:
intel ultra 9 with intel arc a370m

Command Used:
compile_bundle.bat "c:\program files (x86)\intel\oneapi\compiler\latest" "c:\program files (x86)\intel\oneapi\mkl\latest" mtl-h

Steps:
installed MSVC and Windows SDK
installed one api
Set the env using vcvar64 in conda environment

image

Error faced:
1 warning and 13 errors generated.
ninja: build stopped: subcommand failed.
Traceback (most recent call last):
File "C:\Users\umamm\ipex_bundle\intel-extension-for-pytorch\setup.py", line 1218, in
setup(
File "C:\Users\umamm\anaconda3\envs\intelAcclForLaptop\lib\site-packages\setuptools_init_.py", line 108, in setup
return distutils.core.setup(**attrs)
File "C:\Users\umamm\anaconda3\envs\intelAcclForLaptop\lib\site-packages\setuptools_distutils\core.py", line 184, in setup
return run_commands(dist)
File "C:\Users\umamm\anaconda3\envs\intelAcclForLaptop\lib\site-packages\setuptools_distutils\core.py", line 200, in run_commands
dist.run_commands()
File "C:\Users\umamm\anaconda3\envs\intelAcclForLaptop\lib\site-packages\setuptools_distutils\dist.py", line 970, in run_commands
self.run_command(cmd)
File "C:\Users\umamm\anaconda3\envs\intelAcclForLaptop\lib\site-packages\setuptools\dist.py", line 945, in run_command
super().run_command(command)
File "C:\Users\umamm\anaconda3\envs\intelAcclForLaptop\lib\site-packages\setuptools_distutils\dist.py", line 989, in run_command
cmd_obj.run()
File "C:\Users\umamm\anaconda3\envs\intelAcclForLaptop\lib\site-packages\setuptools\command\bdist_wheel.py", line 373, in run
self.run_command("build")
File "C:\Users\umamm\anaconda3\envs\intelAcclForLaptop\lib\site-packages\setuptools_distutils\cmd.py", line 316, in run_command
self.distribution.run_command(command)
File "C:\Users\umamm\anaconda3\envs\intelAcclForLaptop\lib\site-packages\setuptools\dist.py", line 945, in run_command
super().run_command(command)
File "C:\Users\umamm\anaconda3\envs\intelAcclForLaptop\lib\site-packages\setuptools_distutils\dist.py", line 989, in run_command
cmd_obj.run()
File "C:\Users\umamm\anaconda3\envs\intelAcclForLaptop\lib\site-packages\setuptools_distutils\command\build.py", line 135, in run
self.run_command(cmd_name)
File "C:\Users\umamm\anaconda3\envs\intelAcclForLaptop\lib\site-packages\setuptools_distutils\cmd.py", line 316, in run_command
self.distribution.run_command(command)
File "C:\Users\umamm\anaconda3\envs\intelAcclForLaptop\lib\site-packages\setuptools\dist.py", line 945, in run_command
super().run_command(command)
File "C:\Users\umamm\anaconda3\envs\intelAcclForLaptop\lib\site-packages\setuptools_distutils\dist.py", line 989, in run_command
cmd_obj.run()
File "C:\Users\umamm\ipex_bundle\intel-extension-for-pytorch\setup.py", line 1187, in run
self.run_command("build_clib")
File "C:\Users\umamm\anaconda3\envs\intelAcclForLaptop\lib\site-packages\setuptools_distutils\cmd.py", line 316, in run_command
self.distribution.run_command(command)
File "C:\Users\umamm\anaconda3\envs\intelAcclForLaptop\lib\site-packages\setuptools\dist.py", line 945, in run_command
super().run_command(command)
File "C:\Users\umamm\anaconda3\envs\intelAcclForLaptop\lib\site-packages\setuptools_distutils\dist.py", line 989, in run_command
cmd_obj.run()
File "C:\Users\umamm\ipex_bundle\intel-extension-for-pytorch\setup.py", line 872, in run
_build_project(build_args, ipex_xpu_build_dir, my_env, use_ninja)
File "C:\Users\umamm\ipex_bundle\intel-extension-for-pytorch\setup.py", line 613, in _build_project
check_call(["ninja"] + build_args, cwd=build_dir, env=build_env)
File "C:\Users\umamm\anaconda3\envs\intelAcclForLaptop\lib\subprocess.py", line 369, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['ninja', '-j', '22', 'install']' returned non-zero exit status 1.
Traceback (most recent call last):
File "", line 1, in
ModuleNotFoundError: No module named 'intel_extension_for_pytorch'

Versions

python 3.10

@ZhaoqiongZ ZhaoqiongZ self-assigned this Dec 30, 2024
@ZhaoqiongZ
Copy link
Contributor

Hi @ammu7887 , the error log is not included in the part of log you've shared, maybe in the earlier log.
And if you compile again, please have a try on latest v2.5.10

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

No branches or pull requests

2 participants