MCPcopy
hub / github.com/kvcache-ai/ktransformers / weights_dir

Method weights_dir

kt-kernel/python/cli/config/settings.py:290–293  ·  view source on GitHub ↗

Get the custom weights directory path.

(self)

Source from the content-addressed store, hash-verified

288
289 @property
290 def weights_dir(self) -> Optional[Path]:
291 """Get the custom weights directory path."""
292 weights = self.get("paths.weights", "")
293 return Path(weights) if weights else None
294
295
296# Global settings instance

Callers

nothing calls this directly

Calls 1

getMethod · 0.95

Tested by

no test coverage detected