Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FEAT: Add --model-uid to launch sub command #529

Merged
merged 5 commits into from
Oct 13, 2023

Conversation

codingl2k1
Copy link
Contributor

  • In order to use xinference more flexibly, provide --model-uid for launch sub command. e.g. specify a fixed model uid for continue integration.

@XprobeBot XprobeBot added this to the v0.5.2 milestone Oct 12, 2023
@UranusSeven
Copy link
Contributor

There's already another PR for this: #358

The problem is by adding this feature, there's a way to attack the system by passing huge, or invalid model uid to the system.

@codingl2k1
Copy link
Contributor Author

Close this PR due to duplication.

@codingl2k1 codingl2k1 closed this Oct 12, 2023
@codingl2k1
Copy link
Contributor Author

There's already another PR for this: #358

The problem is by adding this feature, there's a way to attack the system by passing huge, or invalid model uid to the system.

But, the launch cmdline is only used for local user or xinference administrator. Currently, the model uid is generated by restful client which is vulnerable to attack the system.

@codingl2k1 codingl2k1 changed the title FEAT: Add --model-uid to launch_model sub command FEAT: Add --model-uid to launch sub command Oct 12, 2023
@codingl2k1 codingl2k1 reopened this Oct 12, 2023
@codingl2k1 codingl2k1 marked this pull request as ready for review October 12, 2023 08:26
@codingl2k1 codingl2k1 merged commit 6526cdd into xorbitsai:main Oct 13, 2023
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants