pytorch-labs / gpt-fast

Simple and efficient pytorch-native transformer text generation in <1000 LOC of python.
BSD 3-Clause "New" or "Revised" License
5.58k stars 509 forks source link

duplicate import #13

Closed IvanVnucec closed 10 months ago

IvanVnucec commented 10 months ago

https://github.com/pytorch-labs/gpt-fast/blob/3bcaaaf068d112d534f335ec21a17d7b8b5551bf/quantize.py#L12 Already included on line 6.

hmosousa commented 10 months ago

There are a few more of this and some imports that don't seem to be used. I will create a pull request to sort the imports.

Chillee commented 10 months ago

Resolved by https://github.com/pytorch-labs/gpt-fast/pull/16