Skip to content

run: Allow run_config dicts#2199

Merged
jambayk merged 1 commit intomainfrom
jambayk/run-dict
Oct 15, 2025
Merged

run: Allow run_config dicts#2199
jambayk merged 1 commit intomainfrom
jambayk/run-dict

Conversation

@jambayk
Copy link
Contributor

@jambayk jambayk commented Oct 10, 2025

Describe your changes

  • olive.run python api uses WorkflowRunCommand.
  • Let the run_config be dict so that the user can just do olive.run(run_config_dict).
  • This was possible before when olive.run used olive.workflows.run instead.

Checklist before requesting a review

  • Add unit tests for this change.
  • Make sure all tests can pass.
  • Update documents if necessary.
  • Lint and apply fixes to your code by running lintrunner -a
  • Is this a user-facing change? If yes, give a description of this change to be included in the release notes.

(Optional) Issue link

@jambayk jambayk enabled auto-merge (squash) October 10, 2025 01:10
@jambayk jambayk merged commit 5003e54 into main Oct 15, 2025
11 checks passed
@jambayk jambayk deleted the jambayk/run-dict branch October 15, 2025 23:52
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