Skip to content

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

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!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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