unslothai / unsloth-zoo

Utils for Unsloth
GNU Affero General Public License v3.0
4 stars 3 forks source link

Loosen transformers version dependency #2

Closed fzyzcjy closed 6 days ago

fzyzcjy commented 6 days ago

Hi thanks for Unsloth (and unsloth-zoo)!

It would be great if the latest transformers package could be allowed (e.g. vllm only supports that, and I hope my code able to use both vllm + unsloth).

It seems that unsloth uses "transformers>=4.44.2" as dependency, thus I sync the zoo to be also like this. Hope this do not break anything!

danielhanchen commented 6 days ago

Oh I did not notice this! Yep correct any new transformers version can work - thanks for the quick find!

fzyzcjy commented 6 days ago

You are welcome!

Also looking forward to the release of unsloth_zoo to make the version dependency problem solved :)