Giter Club home page Giter Club logo

Comments (14)

voronind-com avatar voronind-com commented on August 23, 2024 3

@nsarrazin yup, all works fine now. thank you very much! 💛

from serge.

dontflipmybits avatar dontflipmybits commented on August 23, 2024 2

Thanks main works(for me). It's actually the first container build that has worked for me thus far. Worked flawlessly.

from serge.

nsarrazin avatar nsarrazin commented on August 23, 2024 1

Looks like your models are not loaded. Did you download one ?

from serge.

FenarkSEC avatar FenarkSEC commented on August 23, 2024 1

I'm encountering the exact same issue with Nginx as an IngressController in K8S. As soon as I try to put an ingress in front of the serge service (reverse proxy to http://serge:8008) with a TLS certificate I get a 405 Method not allowed.

from serge.

skyface753 avatar skyface753 commented on August 23, 2024

same problem. Already downloaded a model with
docker compose exec serge python3 /usr/src/app/api/utils/download.py tokenizer 7B

from serge.

MirProg avatar MirProg commented on August 23, 2024

Looks like your models are not loaded. Did you download one?

yes, I do have the models downloaded, it was working before the update, but now it doesn't. Also, I am unable to run it on my GPU when after installing stuff to run it on GPU

from serge.

RahulVivekNair avatar RahulVivekNair commented on August 23, 2024

Yeah, I have the same problem

from serge.

mrg358 avatar mrg358 commented on August 23, 2024

Same problem. Fresh deploy, latest release. After click to Start New Chat serge throws a 405 Method Not Allowed in log output.
My instance is behind Nginx Proxy Manager. Here is the related log output.

"GET /chat?temp=0.1&top_k=50&max_length=256&top_p=0.95&ctx_length=512&repeat_last_n=64&model=ggml-alpaca-7B-q4_0.bin&n_threads=4&repeat_penalty=1.3&init_prompt=Below+is+an+instruction+that+describes+a+task.+Write+a+response+that+appropriately+completes+the+request.+The+response+must+be+accurate%2C+concise+and+evidence-based+whenever+possible.+A+complete+answer+is+always+ended+by+%5Bend+of+text%5D. HTTP/1.1" 405 Method Not Allowed

from serge.

include avatar include commented on August 23, 2024

+1

from serge.

voronind-com avatar voronind-com commented on August 23, 2024

have same issue when using nginx proxy with TLS. direct 8008 access works.
maybe it is related to address name? it expects localhost, but gets whatever proxy is passing.

also I get proxy errors when my service in docker-compose is not called 'serge'.

from serge.

nsarrazin avatar nsarrazin commented on August 23, 2024

Hey everyone! I might have improved the situation with the latest version on main. Can you pull, rebuild and see if it fixed things ?

from serge.

FenarkSEC avatar FenarkSEC commented on August 23, 2024

I've just tried with the new released production image, it now works on K8S with a reverse proxy and TLS like a charm !
@nsarrazin I think the issue can be closed :)

from serge.

nsarrazin avatar nsarrazin commented on August 23, 2024

Good to hear, feel free to open it if you have issues again

from serge.

include avatar include commented on August 23, 2024

<3 working :) #FunResumed

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.