Skip to content

Commit db1597a

Browse files
committed
log diffusers version in init() csend
1 parent 480b212 commit db1597a

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

app.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
DDIMScheduler,
99
PNDMScheduler,
1010
DiffusionPipeline,
11+
__version__,
1112
)
1213
import base64
1314
from io import BytesIO
@@ -74,6 +75,7 @@ def init():
7475
"device": torch.cuda.get_device_name(),
7576
"hostname": os.getenv("HOSTNAME"),
7677
"model_id": MODEL_ID,
78+
"diffusers": __version__,
7779
},
7880
True,
7981
)

install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ else
2020
git clone https://github.com/huggingface/diffusers
2121
cd diffusers
2222
# .components, lpw fixes
23-
git checkout v0.7.0.dev0
23+
git checkout v0.5.1
2424
cd ..
2525
pip install -e diffusers
2626

0 commit comments

Comments
 (0)