File size: 364 Bytes
6f8c80a
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
"""Reproducible local quantization and release tools."""
import os
from pathlib import Path

# Keep optional dependency caches writable under a restricted Windows workspace.
ROOT = Path(__file__).resolve().parent.parent
os.environ.setdefault('NUMBA_CACHE_DIR', str(ROOT / '.cache' / 'numba'))
os.environ.setdefault('HF_HOME', str(ROOT / '.cache' / 'huggingface'))