Skip to content

Throw an error if both --flux_schedule_auto_shift and --flux_schedule_shift are enabled.#1106

Merged
bghira merged 1 commit intobghira:mainfrom
mhirki:add-flux-schedule-auto-shift-safety-check
Oct 27, 2024
Merged

Throw an error if both --flux_schedule_auto_shift and --flux_schedule_shift are enabled.#1106
bghira merged 1 commit intobghira:mainfrom
mhirki:add-flux-schedule-auto-shift-safety-check

Conversation

@mhirki
Copy link
Contributor

@mhirki mhirki commented Oct 27, 2024

As an alternative to PR #1105, just throw an error if both --flux_schedule_auto_shift and --flux_schedule_shift are enabled, forcing the user to explicitly choose one of them.

Since the default value of --flux_schedule_shift is now 3 after commit 4a7d423, people need to set it 0 if they want to continue training with auto-shift.

@bghira bghira merged commit 80aafbf into bghira:main Oct 27, 2024
@bghira
Copy link
Owner

bghira commented Oct 27, 2024

thanks. i'd been recommending users set one or the other for so long while doing neither by default - i would rather do auto shift by default, but the way the parameters work in python i cannot have a user pass =true or =false to update its value.

bghira added a commit that referenced this pull request Oct 29, 2024
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.

2 participants