Skip to content

Pydantic v2 breaking FastAPI & Ray #423

@anttttti

Description

@anttttti

Pydantic v2 came out last week. It seems to be breaking some dependencies, including those used by VLLM.

Pydantic v2 throws an error on serializing Ray results, at least pydantic.fields.ModelField. Current VLLM requirements.txt doesn't specify the version of Pydantic, so v2 can get installed.

Until requirements.txt gets updated with version for Pydantic or depending libraries fix their compatibilities, you can do "pip install pydantic==1.10.11" to fix issues.

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