Skip to content

Conversation

@valarLip
Copy link
Collaborator

@valarLip valarLip commented Jan 9, 2026

Motivation

Technical Details

Test Plan

Test Result

Submission Checklist

Copilot AI review requested due to automatic review settings January 9, 2026 07:29
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR performs a code cleanup refactoring of the model runner, focusing on lazy loading of model classes via string references instead of direct imports, removing unused code, and improving code style.

Key changes include:

  • Replaced direct model class imports with dynamic loading using resolve_obj_by_qualname
  • Removed unused instance variables and imports (token_ids_gpu, envs, get_open_port, use_kv_indptr)
  • Improved logging by replacing print with logger.info

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@valarLip valarLip merged commit cf049cb into main Jan 9, 2026
4 checks passed
@valarLip valarLip deleted the model_runner_cleanup branch January 9, 2026 12:55
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