Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pin pydantic and fastapi versions #6

Open
merveenoyan opened this issue Nov 23, 2023 · 0 comments
Open

Pin pydantic and fastapi versions #6

merveenoyan opened this issue Nov 23, 2023 · 0 comments

Comments

@merveenoyan
Copy link

merveenoyan commented Nov 23, 2023

Hello 👋
This repository has both deepspeed and fastapi as a dependency. deepspeed doesn't support pydantic > 2.0.0 which results in below error (included in DeepSpeed/issues/3963) when I install this repository with pip:

RuntimeError: Failed to import transformers.models.llama.modeling_llama because of the following error (look up to see its traceback):
'FieldInfo' object has no attribute 'required'

For the time being, it would be nice to pin the fastapi and pydantic versions in this repository.
Addition: Also llava requires transformers 4.31.0 but Obsidian depends on Mistral integration which is >4.34.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant