File tree Expand file tree Collapse file tree
src/diffusers/modular_pipelines Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -703,7 +703,7 @@ def format_device(component, info):
703703 col_widths = {
704704 "name" : max (15 , max (len (name ) for name in simple_names )),
705705 "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 ,
707707 "dtype" : 15 ,
708708 "size" : 10 ,
709709 "load_id" : max_load_id_len ,
@@ -725,7 +725,7 @@ def format_device(component, info):
725725 output += "Models:\n " + dash_line
726726 # Column headers
727727 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' ]}} | "
729729 output += f"{ 'Size (GB)' :<{col_widths ['size' ]}} | { 'Load ID' :<{col_widths ['load_id' ]}} | Collection\n "
730730 output += dash_line
731731
@@ -790,7 +790,6 @@ def format_device(component, info):
790790 output += f" Adapters: { info ['adapters' ]} \n "
791791 if info .get ("ip_adapter" ):
792792 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 "
794793
795794 return output
796795
You can’t perform that action at this time.
0 commit comments