stanford-crfm / levanter

Legible, Scalable, Reproducible Foundation Models with Named Tensors and Jax
https://levanter.readthedocs.io/en/latest/
Apache License 2.0
517 stars 82 forks source link

ModuleNotFoundError: No module named 'async_lru' #720

Closed mhmaqbool closed 2 months ago

mhmaqbool commented 2 months ago

Hello, While running Mistral-7b

python -m levanter.main.train_lm --config_path config/mistral_7b.yaml ModuleNotFoundError: No module named 'async_lru'

dlwh commented 2 months ago

i just added that as a dependency. can you make sure youre dependencies are up to date (run pip install -e . again)

On Mon, Sep 9, 2024 at 9:38 AM mhmaqbool @.***> wrote:

Hello, While running Mistral-7b

python -m levanter.main.train_lm --config_path config/mistral_7b.yaml ModuleNotFoundError: No module named 'async_lru'

— Reply to this email directly, view it on GitHub https://github.com/stanford-crfm/levanter/issues/720, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAACLINIYIAY2RKQT2JP57DZVXFJ5AVCNFSM6AAAAABN452KOWVHI2DSMVQWIX3LMV43ASLTON2WKOZSGUYTINBRHEZTQMQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>

mhmaqbool commented 2 months ago

Yes, you are right. This resolves the issue.

Thanks.

dlwh commented 2 months ago

NB that I just merged a change that breaks all caches, so please remove any caches you were using