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

[NeuralChat] Support user management in backend server #952

Open
wants to merge 23 commits into
base: main
Choose a base branch
from

Conversation

lvliang-intel
Copy link
Collaborator

Type of Change

feature
API not changed

Description

Support user management in backend server

Expected Behavior & Potential Risk

Support user management in backend server

How has this PR been tested?

Local test and pre-CI test.

Dependency Change?

None

Signed-off-by: lvliang-intel <liang1.lv@intel.com>
@hshen14
Copy link
Contributor

hshen14 commented Dec 25, 2023

Let's take a look how vLLM and TGI supports. we can leverage them and add what we need if missing.

…ransformers into lvl/user_management

Signed-off-by: lvliang-intel <liang1.lv@intel.com>
Signed-off-by: lvliang-intel <liang1.lv@intel.com>
…ransformers into lvl/user_management

Signed-off-by: lvliang-intel <liang1.lv@intel.com>
@lvliang-intel lvliang-intel marked this pull request as ready for review January 24, 2024 15:46
Signed-off-by: lvliang-intel <liang1.lv@intel.com>
Signed-off-by: lvliang-intel <liang1.lv@intel.com>
@lvliang-intel
Copy link
Collaborator Author

Let's take a look how vLLM and TGI supports. we can leverage them and add what we need if missing.

They are serving framework, so they don't support user management.

Signed-off-by: lvliang-intel <liang1.lv@intel.com>
…ransformers into lvl/user_management

Signed-off-by: lvliang-intel <liang1.lv@intel.com>
…ransformers into lvl/user_management

Signed-off-by: lvliang-intel <liang1.lv@intel.com>
Signed-off-by: lvliang-intel <liang1.lv@intel.com>
…ransformers into lvl/user_management

Signed-off-by: lvliang-intel <liang1.lv@intel.com>
…ransformers into lvl/user_management

Signed-off-by: lvliang-intel <liang1.lv@intel.com>
Signed-off-by: lvliang-intel <liang1.lv@intel.com>
lvliang-intel and others added 2 commits January 31, 2024 17:56
…ransformers into lvl/user_management

Signed-off-by: lvliang-intel <liang1.lv@intel.com>
@lvliang-intel lvliang-intel removed the WIP label Jan 31, 2024
Signed-off-by: lvliang-intel <liang1.lv@intel.com>
…ransformers into lvl/user_management

Signed-off-by: lvliang-intel <liang1.lv@intel.com>
…extension-for-transformers into lvl/user_management

Signed-off-by: lvliang-intel <liang1.lv@intel.com>
Signed-off-by: lvliang-intel <liang1.lv@intel.com>
…ransformers into lvl/user_management

Signed-off-by: lvliang-intel <liang1.lv@intel.com>
Signed-off-by: lvliang-intel <liang1.lv@intel.com>
…ransformers into lvl/user_management

Signed-off-by: lvliang-intel <liang1.lv@intel.com>
fschat==0.2.32
git+https://github.com/EleutherAI/lm-evaluation-harness.git@cc9778fbe4fa1a709be2abed9deb6180fd40e7e2
neural-compressor
neural-compressor
Copy link
Contributor

Choose a reason for hiding this comment

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

already have neural-compressor

numpy==1.23.5
optimum
optimum-intel
peft
pydantic==1.10.13
python-dotenv
python-dotenv
Copy link
Contributor

Choose a reason for hiding this comment

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

python-dotenv is also there



class Settings(BaseSettings):
mysql_user: str = os.environ.get("MYSQL_USER", "root")
Copy link
Contributor

Choose a reason for hiding this comment

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

better to organize those settings in a more structured way e.g., database related, auth related (base auth, child auth ...)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants