aws / fmeval

Foundation Model Evaluations Library
http://aws.github.io/fmeval
Apache License 2.0
155 stars 40 forks source link

Dependency issues #170

Closed aaronkl closed 5 months ago

aaronkl commented 5 months ago

Hi all, I am trying to install the package on my Mac via pip install fmeval, but installation fails because of problems with the tokenizers package. It seems that the rust compilation fails. Is there a way to install with out this dependency?

malhotra18 commented 5 months ago

The issue has been encountered earlier in Mac M1 chip systems. Could you please try to update rust once? Try following the below steps:

curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs/ | sh
rustup install 1.72.1
rustup default 1.72.1-aarch64-apple-darwin
rustup toolchain remove stable-aarch64-apple-darwin
rm -rf $HOME/.rustup/toolchains/stable-aarch64-apple-darwin
mv $HOME/.rustup/toolchains/1.72.1-aarch64-apple-darwin $HOME/.rustup/toolchains/stable-aarch64-apple-darwin