The following error occurs and needs to be corrected.
Traceback (most recent call last):
File "/usr/lib/python3.10/runpy.py", line 196, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/usr/lib/python3.10/runpy.py", line 86, in _run_code
exec(code, run_globals)
File "/home/USERNAME/FlexGen/flexgen/flex_opt.py", line 18, in <module>
from flexgen.compression import CompressionConfig
File "/home/USERNAME/FlexGen/flexgen/compression.py", line 6, in <module>
from flexgen.pytorch_backend import (TorchTensor, TorchDevice,
File "/home/USERNAME/FlexGen/flexgen/pytorch_backend.py", line 15, in <module>
from flexgen.utils import (GB, T, cpu_mem_stats, vector_gather,
File "/home/USERNAME/FlexGen/flexgen/utils.py", line 3, in <module>
from attrs import define, field
ModuleNotFoundError: No module named 'attrs'
Description
fix import library name.
What fixed
The following error occurs and needs to be corrected.
Check env