File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
src/diffusers/modular_pipelines Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -703,7 +703,7 @@ def format_device(component, info):
703
703
col_widths = {
704
704
"name" : max (15 , max (len (name ) for name in simple_names )),
705
705
"class" : max (25 , max (len (component .__class__ .__name__ ) for component in self .components .values ())),
706
- "device" : 15 , # Reduced since using more compact format
706
+ "device" : 20 ,
707
707
"dtype" : 15 ,
708
708
"size" : 10 ,
709
709
"load_id" : max_load_id_len ,
@@ -725,7 +725,7 @@ def format_device(component, info):
725
725
output += "Models:\n " + dash_line
726
726
# Column headers
727
727
output += f"{ 'Name' :<{col_widths ['name' ]}} | { 'Class' :<{col_widths ['class' ]}} | "
728
- output += f"{ 'Device' :<{col_widths ['device' ]}} | { 'Dtype' :<{col_widths ['dtype' ]}} | "
728
+ output += f"{ 'Device: act(exec) ' :<{col_widths ['device' ]}} | { 'Dtype' :<{col_widths ['dtype' ]}} | "
729
729
output += f"{ 'Size (GB)' :<{col_widths ['size' ]}} | { 'Load ID' :<{col_widths ['load_id' ]}} | Collection\n "
730
730
output += dash_line
731
731
@@ -790,7 +790,6 @@ def format_device(component, info):
790
790
output += f" Adapters: { info ['adapters' ]} \n "
791
791
if info .get ("ip_adapter" ):
792
792
output += f" IP-Adapter: Enabled\n "
793
- output += f" Added Time: { time .strftime ('%Y-%m-%d %H:%M:%S' , time .localtime (info ['added_time' ]))} \n "
794
793
795
794
return output
796
795
You can’t perform that action at this time.
0 commit comments