Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/sdsc-ordes/sdschat


https://github.com/sdsc-ordes/sdschat

ai containers

Last synced: about 15 hours ago
JSON representation

Awesome Lists containing this project

README

        

# sdschat

Fastchat implementation for SDSC.

## How to run this app in SDSC

```
runai submit sdschat-$USER -i caviri/sdschat:latest --service-type=portforward --port 8000:8000 --port 7860:7860 --attach --interactive --node-type "A100" -g 0.5
```

## How to build this image?

```
docker build -t caviri/sdschat:latest .
```

```
docker push caviri/sdschat:latest
```

```
docker run -it --rm -p 7860:7860 -p 8000:8000 --gpus all caviri/sdschat:latest
```

Add as many huggingface models as you want to use in `MODELS`. Separate each model by a comma.

```
docker run -it --rm -p 7860:7860 -p 8000:8000 -e MODELS="lmsys/fastchat-t5-3b-v1.0,lmsys/vicuna-7b-v1.3" --gpus all caviri/sdschat:root
```

If you want to use the OPENAI API. Use the variable: `-e OPENAIMODEL="nomic-ai/gpt4all-13b-snoozy"`