uclaml / SPIN

The official implementation of Self-Play Fine-Tuning (SPIN)
https://uclaml.github.io/SPIN/
Apache License 2.0
1.05k stars 92 forks source link

Update setup.py #14

Closed amulil closed 9 months ago

amulil commented 9 months ago

to solve the conflict:

ERROR: Cannot install spin and spin==0.1.0.dev0 because these package versions have conflicting dependencies.

The conflict is caused by: spin 0.1.0.dev0 depends on transformers==4.35.0 peft 0.6.1 depends on transformers trl 0.7.4 depends on transformers>=4.18.0 vllm 0.3.0 depends on transformers>=4.37.0

To fix this you could try to:

  1. loosen the range of package versions you've specified
  2. remove package versions to allow pip attempt to solve the dependency conflict

ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts