MCPcopy Create free account
hub / github.com/ZinYY/TreeLoRA / get_model_size

Function get_model_size

train.py:106–109  ·  view source on GitHub ↗
(args, step_num)

Source from the content-addressed store, hash-verified

104
105
106def get_model_size(args, step_num):
107 if step_num == 3:
108 return get_model_size(args, 1)
109 return getattr(args, f"{model_type[step_num]}_model")
110
111
112def get_zero_stage(args, step_num):

Callers 3

get_output_dirFunction · 0.85
get_scriptFunction · 0.85
verify_modelFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected