Skip to content

Conversation

@herman-ai
Copy link
Contributor

@herman-ai herman-ai commented Oct 21, 2025

This PR fixes the issue seen in tests:
Async save ckpt see TypeError: 'NoneType' object is not iterable with 0.5.0rc6

return AsyncRequest(save_fn, save_args, [finalize_fn])
return AsyncRequest(save_fn, save_args, [finalize_fn], async_fn_kwargs={})

assert not is_async
Copy link
Contributor

Choose a reason for hiding this comment

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

Copy link
Contributor Author

Choose a reason for hiding this comment

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

kwargs inside the function def async_save(self, state_dict, *args, **kwargs): should be {} if nothing is passed to async_save so I don't think this should cause any error.

@hexinw-nvidia hexinw-nvidia self-requested a review October 23, 2025 21:25
@hexinw-nvidia hexinw-nvidia merged commit c26242d into NVIDIA:main Oct 23, 2025
9 checks passed
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