We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0433b3d commit dc30adfCopy full SHA for dc30adf
ldm/simplet2i.py
@@ -279,7 +279,7 @@ def process_image(image,seed):
279
self._set_sampler()
280
281
tic = time.time()
282
- torch.cuda.torch.cuda.reset_peak_memory_stats()
+ torch.cuda.reset_peak_memory_stats() if self.device == 'cuda' else None
283
results = list()
284
285
try:
scripts/dream.py
@@ -88,7 +88,7 @@ def main():
88
89
t2i.load_model()
90
print(
91
- f'model loaded in', '%4.2fs' % (time.time() - tic)
+ f'>> model loaded in', '%4.2fs' % (time.time() - tic)
92
)
93
94
if not infile:
0 commit comments