Giter VIP home page Giter VIP logo

Comments (10)

nsarrazin avatar nsarrazin commented on August 16, 2024 1

I think this is due to the hot module reloading not going through nginx properly.

I fixed it on main with 58cf7d0 can you pull the latest main and tell me if it's fixed ? @kells1986 @nawalnew

from serge.

kells1986 avatar kells1986 commented on August 16, 2024

I can't get to the chat page. After I click "Start a New Chat" it just hangs forever before I eventually get a 504 error. This is on my M1 machine, tried firefox and chrome

from serge.

nawalnew avatar nawalnew commented on August 16, 2024

Sorry @kells1986 , I didnt run into this issue on my mac.
But look in your dev tools what is wrong there. Maybe the same underlying websocket issue.

from serge.

kells1986 avatar kells1986 commented on August 16, 2024

I'm seeing the same issue now too:

WebSocket connection to 'ws://localhost:8008/' failed: 
Direct websocket connection fallback. Check out https://vitejs.dev/config/server-options.html#server-hmr to remove the previous connection error.

More context: setupWebSocket @client.ts: 78

from serge.

kells1986 avatar kells1986 commented on August 16, 2024

Working! Thanks, this is awesome!

from serge.

nsarrazin avatar nsarrazin commented on August 16, 2024

I'm gonna close this now, if you still have issues let me know and I will reopen it!

from serge.

dylancl avatar dylancl commented on August 16, 2024

Hi,

Hopefully you don't mind me posting in a closed issue, but I'm still facing the same issue on the latest commit on main running on a M1 MacBook. I can see the request successfully reaches the API, but it's infinitely stuck on loading (and still showing the WebSocket connection failed error message).

Am I doing something wrong here? 🤔

SCR-20230322-vdt

from serge.

nsarrazin avatar nsarrazin commented on August 16, 2024

@dylancl No problem, if you have an issue I want to help!

Just as a last check, can you try rebuilding with docker compose build --no-cache ? if the issue persists, I'll re-open it no problem.

from serge.

vnktsh avatar vnktsh commented on August 16, 2024

I'm getting the same error too. Stuck on LOADING.

Running on Mac M2 Max 64gb RAM, 30B parameter.

This is the first run after downloading the repo, not likely cache issue.

image

from serge.

nawalnew avatar nawalnew commented on August 16, 2024

Hello, had the same issue.

Should use first: docker compose build --no-cache

Thank you need to lead the models somehow again. My downloaded Models werent there.

The Best way is to delete your folder and docker file. And then make all steps Again, worked then.

git clone https://github.com/nsarrazin/serge.git && cd serge

cp .env.sample .env

docker compose up -d
docker compose exec api python3 /usr/src/app/utils/download.py tokenizer 7B

I just tried 7B model. 13B Didnt work first try

from serge.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.