Skip to content

Reference environment variables from Trinity config #228

@vadimkantorov

Description

@vadimkantorov

Currently we have to adjust/specify in the config various IP addresses which actually tend to change dynamically, and this is very error-prone:

      path: 'postgresql://postgres@10.1.1.1:5432/postgres'

Is it possible to reference from YAML config environment variables? (or maybe pass in a separate config-override .yml file or accept the overrides as part of command-line arguments for the launcher)

I did not find any mention for this in https://modelscope.github.io/Trinity-RFT/main/tutorial/trinity_configs.html

Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions