Skip to content

Commit

Permalink
Revert 9585f5d
Browse files Browse the repository at this point in the history
  • Loading branch information
lshqqytiger committed Jun 28, 2024
1 parent 9585f5d commit 371f53e
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions modules/zluda_installer.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import shutil
import zipfile
import platform
import requests
import urllib.request
from typing import Union


Expand Down Expand Up @@ -33,13 +33,10 @@ def install(zluda_path: os.PathLike) -> None:
if os.path.exists(zluda_path):
return

if platform.system() != 'Windows': # TODO
if platform.system() != 'Windows': # Windows-only. (PyTorch should be rebuilt on Linux)
return

with open('_zluda', 'wb') as file:
res = requests.get(f'https://github.com/lshqqytiger/ZLUDA/releases/download/{RELEASE}/ZLUDA-windows-amd64.zip', timeout=30)
file.write(res.content)

urllib.request.urlretrieve(f'https://github.com/lshqqytiger/ZLUDA/releases/download/{RELEASE}/ZLUDA-windows-amd64.zip', '_zluda')
with zipfile.ZipFile('_zluda', 'r') as archive:
infos = archive.infolist()
for info in infos:
Expand Down

2 comments on commit 371f53e

@Roninos
Copy link

Choose a reason for hiding this comment

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

Hi! When will there be support for Stable Diffusion 3? I've seen such builds only for CUDA AND CPU, as well as ComfyUI.

@lshqqytiger
Copy link
Owner Author

Choose a reason for hiding this comment

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

It will be supported by next upstream merge.

Please sign in to comment.