Download bitcache_bin/bitcache/__init__.py from KelvinAxhcar/bitcache-distilgpt2: direct link, hf CLI and curl.
- Browser
- Download file 1.25 kB
-
https://huggingface.co/KelvinAxhcar/bitcache-distilgpt2/resolve/main/bitcache_bin/bitcache/__init__.py
- Command line
-
hf download hf://KelvinAxhcar/bitcache-distilgpt2/bitcache_bin/bitcache/__init__.py
-
curl -L -o __init__.py https://huggingface.co/KelvinAxhcar/bitcache-distilgpt2/resolve/main/bitcache_bin/bitcache/__init__.py
1.25 kB
| """ | |
| BitCache Enterprise: Ultra-Low-Memory KV-Cache Compression Middleware | |
| Copyright (c) 2026 Kelvin Axhcar. All rights reserved. Proprietary and Confidential. | |
| """ | |
| from __future__ import annotations | |
| import sys | |
| import importlib | |
| from pathlib import Path | |
| # Registra o diretório para carregar os módulos binários .pyc compilados | |
| __version__ = "1.0.0-enterprise" | |
| # Importa os componentes compilados | |
| from .config import BitCacheConfig, ProfileType | |
| from .engine import BitCacheEngine | |
| from .metrics import BitCacheMetrics | |
| from .hooks import patch_model, unpatch_model, activate_license, get_bitcache_engine, get_bitcache_metrics | |
| from .licensing import validate_license, LicenseError, LicenseExpiredError, LicenseTamperedError, LicenseInfo | |
| from .cheeger_spectral_quantizer import CheegerSpectralQuantizer, QuantizationReport | |
| __all__ = [ | |
| "BitCacheConfig", | |
| "ProfileType", | |
| "BitCacheEngine", | |
| "BitCacheMetrics", | |
| "CheegerSpectralQuantizer", | |
| "QuantizationReport", | |
| "patch_model", | |
| "unpatch_model", | |
| "activate_license", | |
| "validate_license", | |
| "LicenseError", | |
| "LicenseExpiredError", | |
| "LicenseTamperedError", | |
| "LicenseInfo", | |
| "get_bitcache_engine", | |
| "get_bitcache_metrics", | |
| ] |