8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4cefb70 commit f27393aCopy full SHA for f27393a
llama_cpp/server/app.py
@@ -119,8 +119,12 @@ def create_app(settings: Optional[Settings] = None):
119
)
120
if settings.cache:
121
if settings.cache_type == "disk":
122
+ if settings.verbose:
123
+ print(f"Using disk cache with size {settings.cache_size}")
124
cache = llama_cpp.LlamaDiskCache(capacity_bytes=settings.cache_size)
125
else:
126
127
+ print(f"Using ram cache with size {settings.cache_size}")
128
cache = llama_cpp.LlamaRAMCache(capacity_bytes=settings.cache_size)
129
130
cache = llama_cpp.LlamaCache(capacity_bytes=settings.cache_size)
0 commit comments