[Python] langchain imports are slow

Discussão em 'Python' iniciado por Stack, Março 17, 2025.

  1. Stack

    Stack Membro Participativo

    I have import which take me about 93 seconds to complete:

    import time
    c = time.time()
    import abc
    import langchain_core.language_models as lclm
    import typing as t
    import langchain_core.messages as lcm
    d = time.time()
    print(f"Imported in {d-c} seconds")


    this took 93 seconds, is there any way to increase the speed here?

    I didn't know what to do

    Continue reading...

Compartilhe esta Página