Skip to content

Conversation

@xin3he
Copy link
Contributor

@xin3he xin3he commented Apr 25, 2025

Type of Change

Enhancement of config

Description

When updating config attribution, we need to propagate the update to global config and others

@xin3he xin3he requested review from Copilot and yiliu30 April 25, 2025 03:54
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR enhances config updating by propagating changes to the global configuration and related components.

  • Introduces an _is_initialized flag to control post-initialization logic.
  • Overrides setattr in BaseConfig to trigger _post_init when a parameter in params_list is updated.

@xin3he xin3he merged commit 79ede24 into cherry_pick_v1.21 Apr 25, 2025
9 checks passed
@xin3he xin3he deleted the xinhe/conf branch April 25, 2025 03:59
XuehaoSun pushed a commit that referenced this pull request May 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants