lmwrapper

View on PyPIReverse Dependencies (1)

0.15.0.5 lmwrapper-0.15.0.5-py3-none-any.whl

Wheel Details

Project: lmwrapper
Version: 0.15.0.5
Filename: lmwrapper-0.15.0.5-py3-none-any.whl
Download: [link]
Size: 68305
MD5: c4046059076894506964db8eb43a8b92
SHA256: 841d5b70ed86d1a8b2962e89ba415e5481d001e4676c07bb6935f15ac4eec1c7
Uploaded: 2024-12-03 04:36:31 +0000

dist-info

METADATA

Metadata-Version: 2.1
Name: lmwrapper
Version: 0.15.0.5
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.55.3)
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: 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: build (~=1.0.3); extra == "dev"
Requires-Dist: twine (~=5.1.1); extra == "dev"
Requires-Dist: bitsandbytes (~=0.41.1); extra == "quant"
Requires-Dist: torch (~=2.3.0); extra == "hf"
Requires-Dist: transformers (~=4.46.3); extra == "hf"
Requires-Dist: anthropic (~=0.40.0); extra == "anthropic"
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: accelerate (~=0.23.0); extra == "accelerate"
Requires-Dist: xformers (~=0.0.22); extra == "xformers"
Requires-Dist: flash_attn (~=2.3.2); extra == "flash-attn"
Requires-Dist: optimum[onnxruntime] (~=1.13.2); extra == "ort"
Requires-Dist: optimum[onnxruntime-gpu] (~=1.13.2); extra == "ort-gpu"
Provides-Extra: dev
Provides-Extra: quant
Provides-Extra: hf
Provides-Extra: anthropic
Provides-Extra: docs
Provides-Extra: accelerate
Provides-Extra: xformers
Provides-Extra: flash-attn
Provides-Extra: ort
Provides-Extra: ort-gpu
Description-Content-Type: text/markdown
[Description omitted; length: 13702 characters]

WHEEL

Wheel-Version: 1.0
Generator: setuptools (75.6.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=3xgOy8mCX089rR39kn2cHur5gpFNLvWM8fUmniGDIhw 10079
lmwrapper/batch_config.py sha256=7jQ-GSjx1nqpptTUmntunGYV0Ibl9uSsvbtg4Q5OBrY 589
lmwrapper/caching.py sha256=WkDGiC-eHMmUZUDvg_EkoA2g6RnPrF4sZQrD5QCZppM 1657
lmwrapper/compatibility.py sha256=cSKeiyXHAqXPfFltYEnyZ1hGv1118Y0Hjbumu8unk2g 3536
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=386n4E7o4xk7yt9_kfJVREk5T3SFn0kJXbGm4T3HaHs 20067
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=9sqvxAGaw8QmEGpJMBCLqkUEjaSVZDlDlXObD1PmmUM 7451
lmwrapper/huggingface_wrapper/__init__.py sha256=s1u4SkXrgc02T52wdnMxAvEOLrSnWid_xNHs0MjAZqU 92
lmwrapper/huggingface_wrapper/prediction.py sha256=kxZqUAZvi28oSZlMX5Z9uUUW4auXPCmcPKISWHkE7EM 2713
lmwrapper/huggingface_wrapper/predictor.py sha256=VlLwY1o-Ld2feIuxu9lhEiMUQUrZB6v9UMRn0-jaFVU 43895
lmwrapper/huggingface_wrapper/utilstorch.py sha256=Ae-GYpFWU1Egx16_8nZwiaSpo26-XqejHDVTgYY7pIM 305
lmwrapper/huggingface_wrapper/wrapper.py sha256=TPkC8hLb-PKWuK2dDtQSDXDpbekvovfvS6n9ihAQLdA 28127
lmwrapper/openai_wrapper/__init__.py sha256=yJvhyT6GmvfF_gR_czqsn4LPIMTwTBxZH6aY8k7KDzc 76
lmwrapper/openai_wrapper/batching.py sha256=vHaLa4njjEE5exXZ1Di0fvppGERjDdJo6vivVUFKXQM 29563
lmwrapper/openai_wrapper/wrapper.py sha256=LInPTIOZIDim3IpOI8fpLftB63vCAvl7OmtdKQm0oeY 25566
lmwrapper-0.15.0.5.dist-info/METADATA sha256=jWcPHxIizKBzXKVqK1BbaOcYE6tnccuDPM_aKcU2yWg 15513
lmwrapper-0.15.0.5.dist-info/WHEEL sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U 91
lmwrapper-0.15.0.5.dist-info/top_level.txt sha256=TC7uqnsa3ckAx7C_RYxI1xSo51USHEcKlJ4ggrkMEGk 10
lmwrapper-0.15.0.5.dist-info/RECORD

top_level.txt

lmwrapper