Skip to content

Conversation

@stephen-nju
Copy link
Contributor

@stephen-nju stephen-nju commented Jan 8, 2025

What does this PR do?

fix get_ray_args when args not a dict

Before submitting

when I train model not using a yaml or a json config,the args may not be a dict

image

so get_ray_args function may raise error
image
because allow_extral_key is valid only when args is a dictionary.
image

Copy link
Owner

@hiyouga hiyouga left a comment

Choose a reason for hiding this comment

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

Nice catch

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

solved This problem has been already solved

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants