Skip to content

How to assign different LoRA to different sub-agents? #365

@dalek-who

Description

@dalek-who

Is there an existing way to specify a different LoRA configuration for each sub-agent​ during training?

Currently, the agent_match parameter in the Trainer can select which sub-agents are trained. Howerver, is it possible to config which sub-agents use which LoRAs?

import agentlightning as agl

trainer = agl.Trainer(
    ...,
    adapter={"agent_match": "a regex pattern for trained sub-agents"}
)

Related issue: #110

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionQuestion about a feature or some usageverl

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions