lmwrapper

View on PyPIReverse Dependencies (1)

0.13.0.0 lmwrapper-0.13.0.0-py3-none-any.whl

Wheel Details

Project: lmwrapper
Version: 0.13.0.0
Filename: lmwrapper-0.13.0.0-py3-none-any.whl
Download: [link]
Size: 66001
MD5: 822397ccbebe6b472f42bb0574a66ad9
SHA256: 5796faf943c6524847da1275d1c372249ee682002498b8c686b0ccf3c2ab6303
Uploaded: 2024-11-13 02:43:25 +0000

dist-info

METADATA

Metadata-Version: 2.1
Name: lmwrapper
Version: 0.13.0.0
Summary: An object-oriented wrapper around language models with caching, batching, and more.
Author: David Gros, Claudio Spiess
Project-Url: Homepage, https://github.com/DaiseyCode/lmwrapper
Keywords: large language models,openai
Classifier: Programming Language :: Python :: 3
Requires-Python: >=3.10
Requires-Dist: openai (~=1.52.0)
Requires-Dist: tiktoken (~=0.7.0)
Requires-Dist: ratemate (~=0.1)
Requires-Dist: humanize (~=4.8.0)
Requires-Dist: xxhash (~=3.4)
Requires-Dist: numpy (~=1.24)
Requires-Dist: packaging (>=22.0)
Requires-Dist: accelerate (~=0.23.0); extra == "accelerate"
Requires-Dist: anthropic (~=0.39.0); extra == "anthropic"
Requires-Dist: black (~=23.10.0); extra == "dev"
Requires-Dist: ruff (~=0.1.1); extra == "dev"
Requires-Dist: pytest (~=7.4.2); extra == "dev"
Requires-Dist: pytest-cov (~=4.1.0); extra == "dev"
Requires-Dist: mkdocs (>=1.4.0); extra == "docs"
Requires-Dist: mkdocstrings[python] (>=0.24.0); extra == "docs"
Requires-Dist: mkdocs-material (>=9.0.0); extra == "docs"
Requires-Dist: mike (>=1.1.2); extra == "docs"
Requires-Dist: flash-attn (~=2.3.2); extra == "flash-attn"
Requires-Dist: torch (~=2.1.0); extra == "hf"
Requires-Dist: transformers (~=4.34.1); extra == "hf"
Requires-Dist: optimum[onnxruntime] (~=1.13.2); extra == "ort"
Requires-Dist: optimum[onnxruntime-gpu] (~=1.13.2); extra == "ort-gpu"
Requires-Dist: bitsandbytes (~=0.41.1); extra == "quant"
Requires-Dist: xformers (~=0.0.22); extra == "xformers"
Provides-Extra: accelerate
Provides-Extra: anthropic
Provides-Extra: dev
Provides-Extra: docs
Provides-Extra: flash-attn
Provides-Extra: hf
Provides-Extra: ort
Provides-Extra: ort-gpu
Provides-Extra: quant
Provides-Extra: xformers
Description-Content-Type: text/markdown
[Description omitted; length: 12576 characters]

WHEEL

Wheel-Version: 1.0
Generator: setuptools (75.4.0)
Root-Is-Purelib: true
Tag: py3-none-any

RECORD

Path Digest Size
lmwrapper/_TokenStoppingCriteria.py sha256=_TLB7iImc6GPL_zezN5Z62LOmj1uSLtxiXoQBWY5RFg 2416
lmwrapper/__init__.py sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU 0
lmwrapper/_sqlcache_utils_profile.py sha256=u0hfNGW8d4YO0QkGWLzNd-eX0LhyFeqwj9uznjPNI6w 3182
lmwrapper/abstract_predictor.py sha256=GtnaiesndUcHcNhVO8G0nQvKFxPqzl9y8CM_7nKXkfI 9824
lmwrapper/batch_config.py sha256=7jQ-GSjx1nqpptTUmntunGYV0Ibl9uSsvbtg4Q5OBrY 589
lmwrapper/caching.py sha256=WkDGiC-eHMmUZUDvg_EkoA2g6RnPrF4sZQrD5QCZppM 1657
lmwrapper/env.py sha256=4qVQ-401Bvst3AlMEnMkBp42immytwSPcw_rj5e-SgU 294
lmwrapper/interals.py sha256=OFdKnqv6e1TCxbTqSMcI2MamYROMSarHLH9HCo7TmtU 3835
lmwrapper/prompt_trimming.py sha256=mNNerzRu47CvvNfzuCUSTvOsd-SDJn96y2j0yT5TpCM 3646
lmwrapper/runtime.py sha256=JXaJdzkZGlKHjFhxLv2Voy38IWmXVaCyNcnrYzCPIMI 583
lmwrapper/secrets_manager.py sha256=Mu_3fTHROpdy8I9Yb-g02lSLJp_FUAh4i73PjuuMB1E 1149
lmwrapper/sqlcache.py sha256=M8aTMZ0trWGy5uCIf6FxRB1ZhmKlSiE8Z9F1PPhJsNU 17542
lmwrapper/sqlcache_struct.py sha256=nfvMMSIFJwxCUZSdteoAdiN6sOLIyyJ9D1733upQAgE 368
lmwrapper/structs.py sha256=4k96ZXmwNyLy9SScVGvMvZSK3UvhKTRwgki-o50chRc 19981
lmwrapper/togethertoy.py sha256=4B6mn7IAfP_g7FeyHH50yoYZ--bdxNvJ3xrI7tAPVHg 710
lmwrapper/utils.py sha256=33TOKxsGMgNf6cDd8Oy5SGCYOQwFRowxjLnF-5fx_3c 3850
lmwrapper/wrapping_config.py sha256=RsDHUS58cFvnGnioyftco2kRr--MvDXqtHu12r5_0Bw 1098
lmwrapper/claude_wrapper/wrapper.py sha256=fufgigdLyhosjwAV1KdI5LugOp9RLLGh5vnhnueKtU4 7297
lmwrapper/huggingface_wrapper/__init__.py sha256=s1u4SkXrgc02T52wdnMxAvEOLrSnWid_xNHs0MjAZqU 92
lmwrapper/huggingface_wrapper/prediction.py sha256=kxZqUAZvi28oSZlMX5Z9uUUW4auXPCmcPKISWHkE7EM 2713
lmwrapper/huggingface_wrapper/predictor.py sha256=R61m6qZ79XGhExJC_83FrGonNogh9gFj6HM9IMK404U 42725
lmwrapper/huggingface_wrapper/utilstorch.py sha256=Ae-GYpFWU1Egx16_8nZwiaSpo26-XqejHDVTgYY7pIM 305
lmwrapper/huggingface_wrapper/wrapper.py sha256=W144YdfpSi9nSsyv4E8noOkm3i7L7oUzXj09B_VIF2A 27413
lmwrapper/openai_wrapper/__init__.py sha256=yJvhyT6GmvfF_gR_czqsn4LPIMTwTBxZH6aY8k7KDzc 76
lmwrapper/openai_wrapper/batching.py sha256=vHaLa4njjEE5exXZ1Di0fvppGERjDdJo6vivVUFKXQM 29563
lmwrapper/openai_wrapper/wrapper.py sha256=-QIR-mrWTNOCaInQ0MplpTYrwX1Hvs5MFR0XwfChLJk 25483
lmwrapper-0.13.0.0.dist-info/METADATA sha256=t7z8EsjQUq0IyFYWcNoHhQqZyu7t-FqDYg_0GG4lFl4 14340
lmwrapper-0.13.0.0.dist-info/WHEEL sha256=a7TGlA-5DaHMRrarXjVbQagU3Man_dCnGIWMJr5kRWo 91
lmwrapper-0.13.0.0.dist-info/top_level.txt sha256=TC7uqnsa3ckAx7C_RYxI1xSo51USHEcKlJ4ggrkMEGk 10
lmwrapper-0.13.0.0.dist-info/RECORD

top_level.txt

lmwrapper