Skip to content

Add suuport to params.lora_adapters in newer llama.cpp (after b3534) #78

@xunuohope1107

Description

@xunuohope1107

Llama.cpp has updated the code if (arg == "--lora") { CHECK_ARG params.lora_adapter.emplace_back(argv[i], 1.0f); return true; } in common/common.cpp to if (arg == "--lora") { CHECK_ARG params.lora_adapters.push_back({ std::string(argv[i]), 1.0, }); return true; }, which is likely a vector of structures that contain both the adapter name (a std::string) and a scaling factor (1.0 in the default case).

Could you please update llama.cpp version and the data structure to fit it? Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions