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


haileyschoelkopf's avatar
haileyschoelkopf committed
15
# TODO: implement __all__
Michael Feil's avatar
Michael Feil committed
16
17
18


try:
19
20
21
    # 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
22

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