Skip to content

[feat] Generalize dynamic config classes #126

@jlamypoirier

Description

@jlamypoirier

🧐 Problem Description

#104 introduced a mechanism tor selecting config classes dynamically. This can be made useful elsewhere, especially for user-made plugins.

💡 Proposed Solution

  • Generalize the config mechanism to all configs classes by moving it to the base Config class
  • Add a mechanism for loading modules dynamically so plugins can be added to the registry (argument to the fast-llm command, or together with the config class?)

🔄 Alternatives Considered

Having tons of forks for custom features is not practical in the long term.

📈 Potential Benefits

More flexible configuration, facilitate user contributions outside the main branch

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions