Describe the bug
The compiler's help text cannot be displayed:
$ neuronx-cc compile --help
unsupported format character ' ' (0x20) at index 661
Diagnostic information:
NeuronX Compiler version 2.27.5334.0+f702b353
Python version 3.12.3
A % in one of the help strings is being interpreted as a printf-style format
specifier. Index 661 puts it inside the option descriptions.
Model Name
Not model specific.
Describe the workload type
No workload specific.
Instance Type
trn2.48xlarge (not instance-specific)
Release version
neuronx-cc 2.27.5334.0+f702b353
Python 3.12.3
Reproduction Steps
neuronx-cc compile --help
Regression Issue
Possible Solution
Escape the % as %% in the affected help string, or switch that string to a
non-percent formatter.
Logs/Context/Additional Information
No response
Describe the bug
The compiler's help text cannot be displayed:
A
%in one of the help strings is being interpreted as a printf-style formatspecifier. Index 661 puts it inside the option descriptions.
Model Name
Not model specific.
Describe the workload type
No workload specific.
Instance Type
trn2.48xlarge(not instance-specific)Release version
Reproduction Steps
Regression Issue
Possible Solution
Escape the
%as%%in the affected help string, or switch that string to anon-percent formatter.
Logs/Context/Additional Information
No response