__init__.py 497 Bytes
Newer Older
1
2
3
4
from . import (
    anthropic_llms,
    dummy,
    gguf,
haileyschoelkopf's avatar
haileyschoelkopf committed
5
    hf_vlms,
6
7
    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