Skip to content

Conversation

@lancerts
Copy link
Contributor

Summary

  • Async sleep fix (radix_tree_middleware.py): Replaced blocking time.sleep(30) with await asyncio.sleep(30) in the async dispatch method to prevent blocking the event loop.
  • File handle leak fix (ray/rollout.py): Removed unnecessary open() call and pass path directly to torch.load(), which handles file I/O internally.

@lancerts
Copy link
Contributor Author

@yitianlian ty

@zhuzilin zhuzilin merged commit a71a832 into THUDM:main Jan 4, 2026
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