Git Product home page Git Product logo

Comments (19)

InfernalDread avatar InfernalDread commented on July 16, 2024 1

Ok, I have turned back on my PC, lets do this!

from gpt-llama.cpp.

keldenl avatar keldenl commented on July 16, 2024

can u screenshot what u see? also is anything printed in the terminal? thank u!

from gpt-llama.cpp.

InfernalDread avatar InfernalDread commented on July 16, 2024

image

image

from gpt-llama.cpp.

keldenl avatar keldenl commented on July 16, 2024

interesting.. can you make sure you run npm i again to install dependencies?
also, what do you get if you try to visit localhost:443/v1/models

from gpt-llama.cpp.

InfernalDread avatar InfernalDread commented on July 16, 2024

I will try that now.

from gpt-llama.cpp.

InfernalDread avatar InfernalDread commented on July 16, 2024

Same result for both sadly

from gpt-llama.cpp.

keldenl avatar keldenl commented on July 16, 2024

that is odd.. do you see any issues in the cmd window?

can you try instead of localhost use your ip address (192.168.0.33:443)

does going to localhost:443 even give you anything? it almost seems like the server isn't running at all..

from gpt-llama.cpp.

InfernalDread avatar InfernalDread commented on July 16, 2024

I can try that. I agree with you though, its almost like the server isn't running lol

from gpt-llama.cpp.

InfernalDread avatar InfernalDread commented on July 16, 2024

Nothing. No issues in the cmd window either, no errors or odd things showing up at all. Odd indeed.

from gpt-llama.cpp.

keldenl avatar keldenl commented on July 16, 2024

hmmmmmmm.. maybe try opening a new terminal and trying agin? or restarting ur pc? this gotta be the weirdest issue i've seen haha

from gpt-llama.cpp.

InfernalDread avatar InfernalDread commented on July 16, 2024

I guess I can try that too, lets hope for the best! In the meantime, is there any code that you are using that is specific to apple hardware? Or is everything "universally" supported?

from gpt-llama.cpp.

keldenl avatar keldenl commented on July 16, 2024

i wouldn't think that the issue you're seeing would be due to windows vs mac. i asked chatgpt and it has a couple good suggestions

  1. Make sure your server is actually running and listening on port 443. You can check this by running netstat -an | findstr :443 in your command prompt or terminal. This command will list all the active network connections and you should see a line with 127.0.0.1:443 or 0.0.0.0:443 indicating that your server is listening on port 443.

(i see TCP [::]:443 [::]:0. LISTENING for the server)

  1. Check your firewall settings to make sure that port 443 is open and not blocked. You can try temporarily disabling your firewall to see if that resolves the issue.

Maybe port 443 is blocked. try changing the PORT to something other than 443 in index.js (line 11), maybe try 8000?

const PORT = 8000;

from gpt-llama.cpp.

InfernalDread avatar InfernalDread commented on July 16, 2024

Lets gooo. Thank you for the assistance! Do I need to do anything with the docs? Or are the next steps specific to other programs that utilize this api?

image

from gpt-llama.cpp.

keldenl avatar keldenl commented on July 16, 2024

lets gooo!!!! what was the solution? was it because of the :443 port or did the restart do the job?

docs are a good place to test out the api (you NEED to "AUTHORIZE" for any of the endpoints to work, just throw in the path to the model in there), but otherwise you can start by trying out chatbot-ui's guide (only one i've written so far lol) https://github.com/keldenl/gpt-llama.cpp/blob/master/docs/chatbot-ui-setup-guide.md

from gpt-llama.cpp.

InfernalDread avatar InfernalDread commented on July 16, 2024

Ya, the restart did the trick. How do I authorize? I tried to look into the steps, but I am not too tech savvy lol

EDIT: I have a Vicuna 13B ggml bin file ready to go

from gpt-llama.cpp.

keldenl avatar keldenl commented on July 16, 2024

Screenshot 2023-04-19 at 2 57 56 PM

click on that button. then paste the path to your model bin. should be something like `C:/blahblahblah/llama.cpp/models/ggml-model.bin`

from gpt-llama.cpp.

InfernalDread avatar InfernalDread commented on July 16, 2024

Ohhhhh, man, please excuse my stupidity LOL

from gpt-llama.cpp.

keldenl avatar keldenl commented on July 16, 2024

u are good haha

from gpt-llama.cpp.

keldenl avatar keldenl commented on July 16, 2024

i'm going to go ahead and close this as resolved! tl;dr if anybody else in the future hits this – doesn't seem to be windows specific and a computer restart or cmd window restart should do the trick! thanks!

from gpt-llama.cpp.

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.