OS Manuals

/usr/bin/accelerate-estimate-memory

Commands for accelerate installed for python3.13

From py3.13-accelerate-cuda-12.9-bin 1.15.0-r0 (enterprise-packages), captured 2026-11-08 by running accelerate-estimate-memory --help (exit 0). permalink

usage: accelerate-estimate-memory [-h] [--library_name {timm,transformers}]
                                  [--dtypes {float32,float16,int8,int4} [{float32,float16,int8,int4} ...]]
                                  [--trust_remote_code]
                                  model_name

Model size estimator for fitting a model onto device(e.g. cuda, xpu) memory.

positional arguments:
  model_name            The model name on the Hugging Face Hub.

options:
  -h, --help            show this help message and exit
  --library_name, --library-name {timm,transformers}
                        The library the model has an integration with, such as `transformers`,
                        needed only if this information is not stored on the Hub.
  --dtypes {float32,float16,int8,int4} [{float32,float16,int8,int4} ...]
                        The dtypes to use for the model, must be one (or many) of `float32`,
                        `float16`, `int8`, and `int4`
  --trust_remote_code, --trust-remote-code
                        Whether or not to allow for custom models defined on the Hub in their own
                        modeling files. This flag should only be used for repositories you trust
                        and in which you have read the code, as it will execute code present on
                        the Hub on your local machine.
Options (3)
OptionDescriptionSource
-h, --helpshow this help message and exithelp
--library_name, --library-name timmThe library the model has an integration with, such as `transformers`, needed only if this information is not stored on the Hub.help
--trust_remote_code, --trust-remote-codeWhether or not to allow for custom models defined on the Hub in their own modeling files.help

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.