Skip to content

Invalid path of the model after download #17

@LifeHashed

Description

@LifeHashed

The code block here:

const model = await llama.loadModel({
    modelPath: path.join(
        __dirname,
        "../",
        "models",
        "Qwen3-1.7B-Q8_0.gguf"
    )
});

is giving directory not found error

const llama = await getLlama();
const model = await llama.loadModel({
    modelPath: path.join(
        __dirname,
        "../",
        "models",
        "hf_Qwen_Qwen3-1.7B.Q8_0.gguf"
    )
});

This is the corrected code.

Can you please see if it is the issue with all the downloaded models.?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions