__init__.py 500 Bytes
Newer Older
1
2
from . import (
    anthropic_llms,
Baber Abbasi's avatar
Baber Abbasi committed
3
    api_models,
4
5
6
7
    dummy,
    gguf,
    huggingface,
    mamba_lm,
8
    nemo_lm,
9
    neuralmagic,
10
11
12
13
14
15
16
17
    neuron_optimum,
    openai_completions,
    optimum_lm,
    textsynth,
    vllm_causallms,
)


haileyschoelkopf's avatar
haileyschoelkopf committed
18
# TODO: implement __all__
Michael Feil's avatar
Michael Feil committed
19
20
21


try:
22
23
24
    # enable hf hub transfer if available
    import hf_transfer  # type: ignore # noqa
    import huggingface_hub.constants  # type: ignore
Michael Feil's avatar
Michael Feil committed
25

26
    huggingface_hub.constants.HF_HUB_ENABLE_HF_TRANSFER = True
Michael Feil's avatar
Michael Feil committed
27
28
except ImportError:
    pass