diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 94a5219..b9bf317 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -3,22 +3,22 @@ name: CI/CD Process for Serge on: push: branches: - - 'main' + - "main" paths-ignore: - - '**.md' - - 'docker-compose.yml' - - 'docker-compose.dev.yml' - - '.github/ISSUE_TEMPLATE/*.yml' - - '.github/dependabot.yml' + - "**.md" + - "docker-compose.yml" + - "docker-compose.dev.yml" + - ".github/ISSUE_TEMPLATE/*.yml" + - ".github/dependabot.yml" pull_request: branches: - - '*' + - "*" paths-ignore: - - '**.md' - - 'docker-compose.yml' - - 'docker-compose.dev.yml' - - '.github/ISSUE_TEMPLATE/*.yml' - - '.github/dependabot.yml' + - "**.md" + - "docker-compose.yml" + - "docker-compose.dev.yml" + - ".github/ISSUE_TEMPLATE/*.yml" + - ".github/dependabot.yml" workflow_dispatch: release: types: [published, edited] @@ -30,7 +30,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-python@v4 with: - python-version: '3.11' + python-version: "3.11" - name: Run ruff check uses: chartboost/ruff-action@v1 with: @@ -51,7 +51,7 @@ jobs: uses: docker/metadata-action@v4 with: images: | - ghcr.io/nsarrazin/serge + ghcr.io/serge-chat/serge tags: | type=ref,event=branch type=ref,event=pr @@ -67,7 +67,7 @@ jobs: - name: Login to GitHub Container Registry if: github.event_name != 'pull_request' - uses: docker/login-action@v2 + uses: docker/login-action@v2 with: registry: ghcr.io username: ${{ github.repository_owner }} diff --git a/.github/workflows/untagged-cleanup.yml b/.github/workflows/untagged-cleanup.yml index 66147e8..36b2bf4 100644 --- a/.github/workflows/untagged-cleanup.yml +++ b/.github/workflows/untagged-cleanup.yml @@ -9,7 +9,7 @@ on: jobs: purge-untagged-images: - if: ${{ github.repository_owner == 'nsarrazin' }} + if: ${{ github.repository_owner == 'serge-chat' }} name: Delete untagged images from ghcr.io runs-on: ubuntu-latest steps: diff --git a/README.md b/README.md index 51663cb..ecf8769 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Serge - LLaMA made easy 🦙 - + [](https://discord.gg/62Hc6FEYQH) A chat interface based on [llama.cpp](https://github.com/ggerganov/llama.cpp) for running Alpaca models. Entirely self-hosted, no API keys needed. Fits on 4GB of RAM and runs on the CPU. @@ -21,7 +21,7 @@ docker run -d \ -v weights:/usr/src/app/weights \ -v datadb:/data/db/ \ -p 8008:8008 \ - ghcr.io/nsarrazin/serge:latest + ghcr.io/serge-chat/serge:latest ``` Then just go to http://localhost:8008/ and you're good to go! @@ -34,7 +34,7 @@ Make sure you have docker desktop installed, WSL2 configured and enough free RAM #### Kubernetes & docker compose -Setting up Serge on Kubernetes or docker compose can be found in the wiki: https://github.com/nsarrazin/serge/wiki/Integrating-Serge-in-your-orchestration#kubernetes-example +Setting up Serge on Kubernetes or docker compose can be found in the wiki: https://github.com/serge-chat/serge/wiki/Integrating-Serge-in-your-orchestration#kubernetes-example ## Models @@ -79,7 +79,6 @@ LLaMA will just crash if you don't have enough available memory for your model. - 13B requires about 12GB free - 30B requires about 20GB free - ## Support Feel free to join the discord if you need help with the setup: https://discord.gg/62Hc6FEYQH @@ -91,7 +90,7 @@ Serge is always open for contributions! If you catch a bug or have a feature ide If you want to run Serge in development mode (with hot-module reloading for svelte & autoreload for FastAPI) you can do so like this: ``` -git clone https://github.com/nsarrazin/serge.git +git clone https://github.com/serge-chat/serge.git DOCKER_BUILDKIT=1 docker compose -f docker-compose.dev.yml up -d --build ``` diff --git a/web/src/routes/chat/[id]/+page.svelte b/web/src/routes/chat/[id]/+page.svelte index 5cadff5..5b8e858 100644 --- a/web/src/routes/chat/[id]/+page.svelte +++ b/web/src/routes/chat/[id]/+page.svelte @@ -205,7 +205,7 @@ >