1# This file left for compatibility. If you want to use the GGUF API from Python
 2# then don't import gguf/gguf.py directly. If you're looking for examples, see the
 3# examples/ directory for gguf-py
 4
 5import importlib
 6import sys
 7from pathlib import Path
 8
 9sys.path.insert(0, str(Path(__file__).parent.parent))
10
11# Compatibility for people trying to import gguf/gguf.py directly instead of as a package.
12importlib.invalidate_caches()
13import gguf  # noqa: E402
14
15importlib.reload(gguf)