okami.mom/strata

git clone https://git.nkp.pet/okami.mom/strata

Niko1221Merge f-own-1b (033cfdd8c) into f-own-int: nothing downloads llama.cppb2de2641f

main
478 B15 linesraw
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)