File tree Expand file tree Collapse file tree 1 file changed +0
-3
lines changed
Expand file tree Collapse file tree 1 file changed +0
-3
lines changed Original file line number Diff line number Diff line change @@ -113,7 +113,6 @@ def load_converted_list_from_text(file_path):
113113 input_info = [
114114 data for data in convert_meta_classes_to_tensors (f"{ file_path } /input_meta.py" )
115115 ]
116- # print(f"-- input_info: {input_info}")
117116 weight_info = [
118117 data for data in convert_meta_classes_to_tensors (f"{ file_path } /weight_meta.py" )
119118 ]
@@ -122,7 +121,6 @@ def load_converted_list_from_text(file_path):
122121
123122def convert_meta_classes_to_tensors (file_path ):
124123 for name , cls in _get_classes (file_path ):
125- # print(f"-- name: {name}")
126124 attrs = {
127125 k : v
128126 for k , v in cls .__dict__ .items ()
@@ -162,7 +160,6 @@ def _get_classes(file_path):
162160 spec = importlib .util .spec_from_file_location ("unnamed" , file_path )
163161 unnamed = importlib .util .module_from_spec (spec )
164162 spec .loader .exec_module (unnamed )
165- # yield from inspect.getmembers(unnamed, inspect.isclass)
166163
167164 classes = [(name , getattr (unnamed , name )) for name in class_names ]
168165 return classes
You can’t perform that action at this time.
0 commit comments