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

[Issue]: Hardcoded URL for XPU wheels from US repo #3636

Closed
2 tasks done
RogerWeihrauch opened this issue Dec 17, 2024 · 2 comments
Closed
2 tasks done

[Issue]: Hardcoded URL for XPU wheels from US repo #3636

RogerWeihrauch opened this issue Dec 17, 2024 · 2 comments
Labels
upstream Fix is required in upstream library

Comments

@RogerWeihrauch
Copy link

Issue Description

When setting up SDNext as described in:
' https://github.com/vladmandic/automatic/wiki/Installation ',
I get the error as described here:
' #3547 ': Assertion error for XPU install.
Reason for this, afaict, is that those needed wheels could not get downloaded from Intel US site:
' https://pytorch-extension.intel.com/release-whl/stable/xpu/us/ ',
BUT, those can be downloaded from Intel China Site. BUT, at this point I do not have already the integrated venv setup to do a pip installation of those wheels.
So, I want to correct the URL in your files to point to the Chinese' site for getting them.
Where/Which file is to be modified to get to the Chinese' Site?
Thanks for your help; it is highly appreciated.
Regards,
Roger

Version Platform Description

Debian Bookworm, Python 3.10.15, Kernel 6.11.5, INTEL ARC A770 GPU, any browser, tried to setup as described in:
https://github.com/vladmandic/automatic/wiki/Installation

Relevant log output

debian@lildeb:~/SDArt/SDNext$ ./webui.sh --use-ipex :
Launch: venv/bin/python3
15:06:39-010745 INFO     Starting SD.Next                                                                                                                                    
15:06:39-012785 INFO     Logger: file="/home/debian/SDArt/SDNext/sdnext.log" level=INFO size=28805 mode=append                                                               
15:06:39-013451 INFO     Python: version=3.11.2 platform=Linux bin="/home/debian/SDArt/SDNext/venv/bin/python3" venv="/home/debian/SDArt/SDNext/venv"                        
15:06:39-029360 INFO     Version: app=sd.next updated=2024-12-09 hash=a2f5a39a branch=master url=https://github.com/vladmandic/automatic/tree/master ui=main                 
15:06:39-391181 INFO     Platform: arch=x86_64 cpu= system=Linux release=6.11.5+bpo-amd64 python=3.11.2 docker=False                                                         
15:06:39-392339 INFO     Args: ['--use-ipex']                                                                                                                                
15:06:39-396569 INFO     Python: version=3.11.2 platform=Linux bin="/home/debian/SDArt/SDNext/venv/bin/python3" venv="/home/debian/SDArt/SDNext/venv"                        
15:06:39-397304 INFO     IPEX: Intel OneAPI toolkit detected                                                                                                                 
15:06:39-397836 INFO     Install: package="openvino==2024.3.0" mode=pip                                                                                                      
15:06:42-430601 INFO     Install: package="nncf==2.7.0" mode=pip                                                                                                             
..
15:07:06-152540 ERROR    Install: pip: install --upgrade torch==2.3.1+cxx11.abi torchvision==0.18.1+cxx11.abi intel-extension-for-pytorch==2.3.110+xpu                       
                         oneccl_bind_pt==2.3.100+xpu --extra-index-url https://pytorch-extension.intel.com/release-whl/stable/xpu/us/ 
..
15:07:06-162884 INFO     Install: package="triton" mode=pip                                                                                                                  
15:07:10-871058 INFO     Install: package="onnx" mode=pip                                                                                                                    
15:07:18-313486 INFO     Install: package="onnxruntime" mode=pip                                                                                                             
15:07:25-490400 INFO     Diffusers install: package=None current= target=b5fd6f13f5434d69d919cc8cedf0b11db664cf06                                                            
15:07:40-096037 WARNING  Modified files: ['webui.sh']                                                                                                                        
15:07:40-096963 INFO     Install requirements: this may take a while...
...

Backend

Diffusers

UI

Standard

Branch

Master

Model

StableDiffusion 1.5

Acknowledgements

  • I have read the above and searched for existing issues
  • I confirm that this is classified correctly and its not an extension issue
@vladmandic vladmandic changed the title [Issue]: Q: where is the URL coded for setting up all necessary wheels on INTEL IPEX Torch<->(Py) Torch related pacakges? [Issue]: Hardcoded URL for XPU wheels from US repo Dec 17, 2024
@vladmandic
Copy link
Owner

cc @Disty0

@Disty0 Disty0 added the upstream Fix is required in upstream library label Dec 17, 2024
@Disty0
Copy link
Collaborator

Disty0 commented Dec 17, 2024

Dev branch is already on CN. Upstream issue: intel/intel-extension-for-pytorch#745

You can export this env variable to override the torch command:

TORCH_COMMAND="torch==2.3.1+cxx11.abi torchvision==0.18.1+cxx11.abi intel-extension-for-pytorch==2.3.110+xpu oneccl_bind_pt==2.3.100+xpu --extra-index-url https://pytorch-extension.intel.com/release-whl/stable/xpu/cn/"

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

No branches or pull requests

3 participants