Skip to content

support load model locally #1040

Closed
Closed
@irasin

Description

@irasin

🚀 The feature, motivation and pitch

I have downloaded the llama3-8B model from huggingface into local dir as below
image

But I can't run python3 torchchat.py generate --checkpoint_dir /home/Meta-Llama-3-8B-Instruct --prompt "It was a dark and stormy night, and" since it's not a single pt file.
How should we run the pre-downloaded model in torchchat?

Alternatives

No response

Additional context

No response

RFC (Optional)

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions