cerebras.modelzoo.common.utils.run.cli_parser#
CLI Utilities.
Functions
Injects Cerebras System specific parser arguments. |
|
Injects general parser arguments. |
|
Injects GPU specific parser arguments. |
|
External utility for determining invalid parameters for the current device type. |
|
Helper for returning all valid params for each device. |
|
Reads params from file and returns them as a dict. |
|
Parse the arguments and get the params dict from the resulting args. |
|
Returns an ArgumentParser for parsing commandline options. |
|
Patch all actions in the parser to record specified CLI arguments. |
|
Helper for loading params file. |
|
Updates the params dict with global default for a key if a key is not present. |
|
Update params in-place with the arguments from args. |
|
Update provided params from provided file. |