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.36k stars 485 forks source link

Check PyTorch version #67

Open yifuwang opened 6 months ago

yifuwang commented 6 months ago

Stack from ghstack (oldest at bottom):

When the installed PyTorch version is not nightly: