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
Describe the bug
When a oneshot recipe is defined programmatically, the SmoothQuant mappings are not correctly parsed. This bug does not occur when the recipe is specified as a YAML string or file
Expected behavior
SmoothQuantModifier is correctly initialized, and oneshot runs to completion.
Environment
Include all relevant environment information:
OS [e.g. Ubuntu 18.04]: Ubuntu
Python version [e.g. 3.7]: 3.10.12
LLM Compressor version or commit hash [e.g. 0.1.0, f7245c8]: main, 07c1fd7
ML framework version(s) [e.g. torch 1.7.1]: torch 2.3.1, transformers 4.42.4
Other Python package versions [e.g. SparseZoo, DeepSparse, numpy, ONNX]: n/a
Other relevant environment information [e.g. hardware, CUDA version]: CUDA 12.3
Describe the bug
When a oneshot recipe is defined programmatically, the SmoothQuant mappings are not correctly parsed. This bug does not occur when the recipe is specified as a YAML string or file
Expected behavior
SmoothQuantModifier is correctly initialized, and oneshot runs to completion.
Environment
Include all relevant environment information:
f7245c8
]: main, 07c1fd7To Reproduce
Example script:
Errors
oneshot fails with the following error:
Additional context
Updating the recipe to the equivalent yaml string fixes the issue:
The text was updated successfully, but these errors were encountered: