Skip to content

fix(model_registration):add flexible type - #5007

Merged
qinxuye merged 1 commit into
xorbitsai:mainfrom
llyycchhee:fix/add-flexible-to-model-registration
Jun 9, 2026
Merged

qinxuye merged 1 commit into
xorbitsai:mainfrom
llyycchhee:fix/add-flexible-to-model-registration

Conversation

@llyycchhee

Copy link
Copy Markdown
Collaborator

Add flexible type.

@XprobeBot XprobeBot added the bug Something isn't working label Jun 9, 2026
@XprobeBot XprobeBot added this to the v2.x milestone Jun 9, 2026

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Code Review

This pull request adds support for registering and retrieving 'flexible' model types in the worker. Specifically, it updates the get_model_registration method in xinference/core/worker.py to import and search through flexible models when the requested model type is 'flexible'. There are no review comments, so I have no feedback to provide.

Important

The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.

@qinxuye qinxuye left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

@qinxuye
qinxuye merged commit cee8e82 into xorbitsai:main Jun 9, 2026
10 of 13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants