recommenders
recommenders copied to clipboard
Tensorflow Recommenders on M1
Hi Team,
Whenever I need to install tf-recommenders, I can only install earlier versions, as the latest version strictly require tensorflow>=2.9.0 in the requirements.txt file, and in the case of m1, I install tensorflow-macos-2.11.0, not sure how this can be handled in the requirements file, but i usually ignore the dependencies while installing the library to make sure I'm installing the latest version.
This was fixed in https://github.com/tensorflow/recommenders/pull/549, but hasn't made it to a versioned release, cc: @maciejkula.
The quickest fix for you at this time is to install the package via git.
git+https://github.com/tensorflow/recommenders
The fix is somewhat awkward. tensorflow-macos is mainly for m1. non m1 macs also still commonly exist and can install tensorflow and should prefer it over macos. Non-m1 macs have tensorflow wheels. Ideally tensorflow-macos would only be dependency on m1, but unsure that's possible to describe.