Open charliezon opened 6 months ago
Hi,
Could you expand a bit more on the issue you are facing?
-Gaurav
Sure. When I tried to run the command 'conda env create -f environment.yaml', I encountered some messages:
INFO: pip is looking at multiple versions of transformers to determine which version is compatible with other requirements. This could take a while. ERROR: Cannot install tokenizers==0.12.1 and transformers==4.35.2 because these package versions have conflicting dependencies.
The conflict is caused by: The user requested tokenizers==0.12.1 transformers 4.35.2 depends on tokenizers<0.19 and >=0.14
To fix this you could try to:
- loosen the range of package versions you've specified
- remove package versions to allow pip attempt to solve the dependency conflict
I had the same issue, I simply removed the version on tokenizers and was able to create the environment. In your environment.yaml file, replace "tokenizers==0.12.1" with "tokenizers" ! And for those on windows, also remove triton.
Thanks @scarbain for the fix, the environment file is updated with this change!
tokenizers==0.15.2 is ok