xinyu1205 / recognize-anything

Open-source and strong foundation image recognition models.
https://recognize-anything.github.io/
Apache License 2.0
2.69k stars 255 forks source link

Relax transformers dependency version #175

Open theearthwanderer opened 4 months ago

theearthwanderer commented 4 months ago

Hello, I'm making a pipeline that involves using this model and Qwen. I'm unable to resolve the dependency conflict on the "transformers" package. Would it be possible to relax the version?

RAM requires: transformers==4.25.1 Qwen requires: transformers>=4.32.0,<4.38.0

joelawalsh01 commented 3 months ago

+1

theearthwanderer commented 3 months ago

PR https://github.com/xinyu1205/recognize-anything/pull/177

SquidProjects commented 3 months ago

Is this still active since the PR seems to be closed? Just had trubbles installing the given version of the transformers under Ubuntu 24. It did throw a rust compilation error, despite rust being installed. I removed the requested version completly and the inference of Ram++ does still work.