* add gptq implementation
* pre-checkout
* passed resnet example
* passed llama example
* aglin gptq acc
* add activation quantization
* uniform interfaces
* add gptq readme
* update mmrazor_large redame
* add gptq opt example
* fix sparse_gpt example for opt
* fix import Protocol from py37
* fix error function name
* fix bug in test
* fix bug
* fix bug
* limit sparsegpt test with torch>=1.12
* add docstring for gptq and sparse_gpt
* pre-commit
* align acc & add save load ckpt & add ut
* fix ut
* fix ut
* fix ut
* fix ut & add torch2.0 for ci
* del torch2.0 for ci
* fix ut
---------
Co-authored-by: FIRST_NAME LAST_NAME <MY_NAME@example.com>
* update
* fix bug
* fix bug
* update opt
* add memory efficient forward for opt
* support to set device for pruning
---------
Co-authored-by: liukai <your_email@abc.example>
Co-authored-by: Your Name <you@example.com>