Skip to content

FYI: Solution to AttributeError: module 'mpmath' has no attribute 'rational' #20

Closed
@julianh2o

Description

@julianh2o

If anyone runs into this before this is fixed, you can downgrade mpmath to 1.3.0
NVIDIA/TensorRT-LLM#1145

Adding these lines to Dockerfile and rebuilding with docker compose up --build solved it for me

RUN --mount=type=cache,target=/root/.cache/pip \
    pip install mpmath==1.3.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions