8000 Automatically pull models from Huggingface · Issue #1145 · abetlen/llama-cpp-python · GitHub
[go: up one dir, main page]

Skip to content
Automatically pull models from Huggingface #1145
Closed
@abetlen

Description

@abetlen

Proposed API

from llama_cpp import Llama

llama = Llama.from_pretrained(
    "TheBloke/dolphin-2_6-phi-2-GGUF",
    ...
    n_gpu_layers=-1
)

This will likely be implemented via the huggingface_hub package, I intend to keep this optional and just throw an error if you try to use from_pretrained without it installed.

Questions

  • Pull full repo or just single file?
  • Which quant level to use?

Resources

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0