mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-12-17 18:12:43 +00:00
Add ollama/pull-models.sh
This commit is contained in:
parent
fa1d29cfdc
commit
1ecaf2cb3c
16 changed files with 305 additions and 289 deletions
|
|
@ -21,7 +21,9 @@ def find_template_dirs(templates_dir: Path) -> Iterator[Path]:
|
|||
if not templates_dir.exists():
|
||||
raise FileNotFoundError(f"Templates directory not found: {templates_dir}")
|
||||
|
||||
return (d for d in templates_dir.iterdir() if d.is_dir())
|
||||
return (
|
||||
d for d in templates_dir.iterdir() if d.is_dir() and d.name != "__pycache__"
|
||||
)
|
||||
|
||||
|
||||
def process_template(template_dir: Path, progress) -> None:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue