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 Dashboard #334

Merged
merged 34 commits into from
Aug 17, 2023

Conversation

Bojun-Feng
Copy link
Contributor

@Bojun-Feng Bojun-Feng commented Aug 9, 2023

Replace the default Gradio page with a React.js framework for a multi-page dashboard. Right now there is only one page named "Running Models", which displays all running models, launches Gradio WebUIs for them, and terminates them. The file structure is set up such that it should be easy to add more pages in the future.

Created as a first step in resolving #93.
Resolves #221.
Resolves #311.

Here is the file structure overview:

  • Added folder /inference/xinference/web/ui/, where all frontend code is hosted
  • Each shared or public component used by multiple pages is stored ui/src/components folder
  • Each page has its own subdirectory in the ui/src/scenes folder
  • The ui/src/App.js file is used to route the pages and link them together

To-do list:

  • edit or remove README.md in /inference/xinference/web/ui/
  • test ChatGLM compactibility

@XprobeBot XprobeBot added this to the v0.2.0 milestone Aug 9, 2023
@Bojun-Feng Bojun-Feng marked this pull request as ready for review August 10, 2023 07:33
@Bojun-Feng Bojun-Feng force-pushed the feat/dashboard_running_models branch from c623be1 to 38eb3e2 Compare August 11, 2023 09:14
@Bojun-Feng Bojun-Feng changed the title Feat : Add Model Dashboard FEAT : Add Model Dashboard Aug 11, 2023
@UranusSeven UranusSeven merged commit 01acf76 into xorbitsai:main Aug 17, 2023
UranusSeven added a commit that referenced this pull request Aug 17, 2023
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.

ENH: avoid loading same model repeatedly in web UI ENH: gradio for pre-trained models
3 participants