mirror of
https://github.com/easydiffusion/easydiffusion.git
synced 2024-11-24 17:24:29 +01:00
Remove safetensors hack (#1525)
We should upgrade to 0.3.3, since it has wheels for all our supported plattforms.
This commit is contained in:
parent
80c4a50ca1
commit
ad227ca190
@ -60,11 +60,6 @@ def install(module_name: str, module_version: str):
|
||||
|
||||
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