Skip to content

Commit 851acfa

Browse files
committed
refine log
1 parent 795f53c commit 851acfa

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

src/diffusers/oneflow_graph_compile_cache.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -159,11 +159,9 @@ def load_graph(self, path):
159159
for sub_folder in sub_folders:
160160
state_dict = flow.load(sub_folder)
161161
cache_order = state_dict["cache_order"]
162-
print("===> order", cache_order)
163162
graph_dict[cache_order] = state_dict
164163

165164
for order, state_dict in sorted(graph_dict.items()):
166-
print("===> load order", order)
167165
graph_class_name = state_dict["graph_class_name"]
168166
cache_key = state_dict["cache_key"]
169167
if graph_class_name not in self.cache_bucket_:

src/diffusers/utils/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@ def new_fn(*args, **kwargs):
101101
print(fn.__name__, " run time ", end_time - start_time)
102102
print(fn.__name__, " cuda mem", after_used - before_used)
103103
print("<==", fn.__name__, " finish run")
104+
print("")
104105
return out
105106

106107
return new_fn

0 commit comments

Comments
 (0)