You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: compiler/neuronx-cc/api-reference-guide/neuron-compiler-cli-reference-guide.rst
+18-14Lines changed: 18 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,26 +21,17 @@ Usage
21
21
22
22
.. option:: neuronx-cc <command> [parameters]
23
23
24
-
Common parameters for the Neuron CLI:
25
-
26
-
- :option:`--verbose <level>`: Specify the level of output produced by the compiler. (Default: ``warning``)
24
+
Available Commands:
25
+
~~~~~~~~~~~~~~~~~~~~~~~
27
26
28
-
Valid values:
27
+
- :option:`compile`
28
+
- :option:`list-operators`
29
29
30
-
- ``info``: Informational messages regarding the progress of model compilation (written to stdout).
31
-
- ``warning``: Diagnostic messages that report model code that is not inherently erroneous but may be risky or suggest there may have been an error (written to stderr).
32
-
- ``error``: The compiler detected a condition causing it not complete the compilation successfully (written to stderr).
33
-
- ``critical``: The compiler encountered an unrecoverable error terminates immediately (written to stderr).
34
-
- ``debug``: Extensive information regarding the compiler's internal execution phases (written to stdout).
30
+
Common parameters for the Neuron CLI:
35
31
36
32
- :option:`--help`: Display a usage message of compiler options.
37
33
Use :option:`neuronx-cc <command> --help` for information on a specific command.
38
34
39
-
Available Commands:
40
-
~~~~~~~~~~~~~~~~~~~~~~~
41
-
42
-
- :option:`compile`
43
-
- :option:`list-operators`
44
35
45
36
.. _neuronx-cc-compile:
46
37
@@ -50,6 +41,7 @@ Available Commands:
50
41
51
42
Compile a model for use on the AWS Machine Learning Accelerator.
52
43
44
+
53
45
.. code-block:: shell
54
46
55
47
neuronx-cc compile <model_files>
@@ -67,6 +59,8 @@ Available Commands:
67
59
[--enable-fast-loading-neuron-binaries]
68
60
[--logfile <filename>]
69
61
[--output <filename>]
62
+
[--verbose <level>]
63
+
70
64
71
65
*Compile Parameters:*
72
66
@@ -159,6 +153,16 @@ Available Commands:
159
153
160
154
- :option:`--output <filename>`: Filename where compilation output (NEFF archive) will be recorded. (Default: "file.neff”)
161
155
156
+
- :option:`--verbose <level>`: Specify the level of output produced by the compiler. (Default: ``warning``)
157
+
158
+
Valid values:
159
+
160
+
- ``info``: Informational messages regarding the progress of model compilation (written to stdout).
161
+
- ``warning``: Diagnostic messages that report model code that is not inherently erroneous but may be risky or suggest there may have been an error (written to stderr).
162
+
- ``error``: The compiler detected a condition causing it not complete the compilation successfully (written to stderr).
163
+
- ``critical``: The compiler encountered an unrecoverable error terminates immediately (written to stderr).
164
+
- ``debug``: Extensive information regarding the compiler's internal execution phases (written to stdout).
0 commit comments