mirror of
https://github.com/easydiffusion/easydiffusion.git
synced 2024-11-24 17:24:29 +01:00
Force safetensors 0.3.2 for sdkit, the newer version has issues during installation
This commit is contained in:
parent
15b828b0f5
commit
843ea58c15
@ -59,6 +59,12 @@ def install(module_name: str, module_version: str):
|
||||
module_version = "0.14.1"
|
||||
|
||||
install_cmd = f"python -m pip install --upgrade {module_name}=={module_version}"
|
||||
|
||||
# hack for safetensors, until v3 gets released to the main branch
|
||||
if module_name == "sdkit":
|
||||
install_cmd += " safetensors==0.3.2"
|
||||
# /hack
|
||||
|
||||
if index_url:
|
||||
install_cmd += f" --index-url {index_url}"
|
||||
if module_name == "sdkit" and version("sdkit") is not None:
|
||||
|
Loading…
Reference in New Issue
Block a user