iamkanghyunchoi / ait

It's All In the Teacher: Zero-Shot Quantization Brought Closer to the Teacher [CVPR 2022 Oral]
GNU General Public License v3.0
29 stars 3 forks source link

Requirements for dataclasses #5

Open chaeunl opened 1 year ago

chaeunl commented 1 year ago

Python >= 3.7 has dataclasses as a built-in module. So, there is a conflict while executing pip install -r requirements.txt cmd.

Both numpy and typing-extension are outdated version, which leads to make some conflicts with recently released PyTorch or other ML frameworks.

For my case with torch1.10.1+cu111, numpy==1.23.1 and typing-extensions=4.1.1 are stable.

iamkanghyunchoi commented 1 year ago

Thank you for the great suggestion. I used Python 3.6, which is outdated now, so I did not perceive the issue. I will check the requirements.txt file and solve the issue.