__init__.py 484 Bytes
Newer Older
1
2
3
4
5
6
from . import (
    anthropic_llms,
    dummy,
    gguf,
    huggingface,
    mamba_lm,
7
    nemo_lm,
8
    neuralmagic,
9
10
11
12
13
14
15
16
    neuron_optimum,
    openai_completions,
    optimum_lm,
    textsynth,
    vllm_causallms,
)


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


try:
21
22
23
    # 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
24

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