Skip to content

Pin pydantic and fastapi versions  #6

@merveenoyan

Description

@merveenoyan

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions