litellm/cookbook/community-resources
ryan-crabbe-berri d81d9e1c4b perf(sdk): cut import litellm cost and trim the wheel
Importing litellm no longer loads tokenizers, tiktoken, the proxy CLI,
click's proxy path, pydantic-settings, yaml, requests or the 44 logging
integrations. The integration classes now resolve on first use through a
name-to-module registry on litellm_logging, the tokenizer unions and the
Anthropic tokenizer JSON are built lazily, and run_server is resolved on
attribute access. The wheel drops the dead HuggingFace model lists,
example configs, test prompts, benchmarks and README files, and the CI
wheel gate now enforces a 30 MB compressed budget alongside the native
extension budget.
2026-09-30 14:26:18 -07:00
..
max_tokens.json add max_tokens.json back to community resources 2023-09-06 17:31:49 -07:00