Skip to content
This repository was archived by the owner on Oct 25, 2024. It is now read-only.

[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
Contributor

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
Contributor 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 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 ...)

# for free to subscribe to this conversation on GitHub. Already have an account? #.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants