modelzoo.common.run_utils.cli_parser#
CLI Utilities
Functions
Injects Cerebras System specific parser arguments. |
|
Injects general parser arguments. |
|
Injects GPU specific parser arguments. |
|
Determine invalid parameters for the current device type. |
|
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. |
|
Removes arguments that are not used by this target device. |
|
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 |