Giter VIP home page Giter VIP logo

Comments (9)

Cabanera avatar Cabanera commented on August 22, 2024 1

With another model

can you try running with conda or using pipenv once just want to find out whether issue is with docker or not

i've just tried with conda, the models are showing but the error for each one is the following (paste just one of them but is the same ) :

[
'bin/main',
'-i',
'--seed',
'888777',
'-ins',
'-t',
'4',
'-b',
'256',
'--top_k',
'1000',
'--top_p',
'0.95',
 '--repeat_last_n',
 '64',
'--repeat_penalty',
'1',
 '--temp',
'0.2',
'--n_predict',
'200',
'-m',
'models/ggml-model-q4_0.bin',
'--interactive-first'
]
ERRoRERRoRERRoRERRoRERRoRERRoRERRoRERRoRERRoRERRoRERRoRERRoRERRoRERRoRERRoRERRoRERRoRERRoRERRoRERRoR
[

with another model the previous error disappears but in webui it remains stuck in loading. And the log fle is the following:

[
'bin/main',
'-i',
'--seed',
 '888777',
'-ins',
'-t',
 '4',
'-b',
'256',
'--top_k',
'1000',
'--top_p',
'0.95',
'--repeat_last_n',
'64',
'--repeat_penalty',
'1',
'--temp',
'0.2',
'--n_predict',
'200',
'-m',
'models/ggml-model-q4_0.bin',
'--interactive-first'
]

Working... ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 100% 0:00:00

That "Working" complete in 0 sec seems suspicious.

from alpaca-turbo.

ViperX7 avatar ViperX7 commented on August 22, 2024

what command you used to run alpaca turbo using Docker

from alpaca-turbo.

Cabanera avatar Cabanera commented on August 22, 2024

docker-compose up

from alpaca-turbo.

ViperX7 avatar ViperX7 commented on August 22, 2024

send me the output of

can you get inside the container using
docker-compose exec alpaca /bin/bash

and show me the output of
ls /app/models/

from alpaca-turbo.

Cabanera avatar Cabanera commented on August 22, 2024

send me the output of

can you get inside the container using docker-compose exec alpaca /bin/bash

and show me the output of ls /app/models/

ls /app/models/
ggml-alpaca-7b-q4.bin ggml-model-q4_0.bin ggml-model-q4_1.bin

from alpaca-turbo.

ViperX7 avatar ViperX7 commented on August 22, 2024

can you try running with conda or using pipenv once just want to find out whether issue is with docker or not

from alpaca-turbo.

Cabanera avatar Cabanera commented on August 22, 2024

can you try running with conda or using pipenv once just want to find out whether issue is with docker or not

i've just tried with conda, the models are showing but the error for each one is the following (paste just one of them but is the same ) :

[
'bin/main',
'-i',
'--seed',
'888777',
'-ins',
'-t',
'4',
'-b',
'256',
'--top_k',
'1000',
'--top_p',
'0.95',
 '--repeat_last_n',
 '64',
'--repeat_penalty',
'1',
 '--temp',
'0.2',
'--n_predict',
'200',
'-m',
'models/ggml-model-q4_0.bin',
'--interactive-first'
]
ERRoRERRoRERRoRERRoRERRoRERRoRERRoRERRoRERRoRERRoRERRoRERRoRERRoRERRoRERRoRERRoRERRoRERRoRERRoRERRoR
[

from alpaca-turbo.

samex avatar samex commented on August 22, 2024

Same issue, the model sits inside docker container but the webui is not showing it

from alpaca-turbo.

Spiider2020 avatar Spiider2020 commented on August 22, 2024

I had the same issue.
For me the problem was I was running Docker on my server (network machine).
The way I got it working is by getting the source code and editing it and then rebuilding.

Load the ui folder into your code editor.
Go to src/app/environments/environment.prod.ts and change the https site to http://(network machine ip):5000

Then go to angular.json find and change the config as bellow:

"configurations": {
            "production": {
              "fileReplacements": [
                {
                  "replace": "src/app/environments/environment.ts",
                  "with": "src/app/environments/environment.prod.ts"
                }
              ],
              "budgets": [
                {
                  "type": "initial",
                  "maximumWarning": "500kb",
                  "maximumError": "1mb"
                },
                {
                  "type": "anyComponentStyle",
                  "maximumWarning": "2kb",
                  "maximumError": "4kb"
                }
              ],
              "outputHashing": "all"
            },

Then

npm install
npm run build

Go into your docker folder where you have your project (alpaca-turbo folder), into templates , create a folder called whatever you like and move the contents of templates to it.
Then copy everything from /dist/angular-turbo where you built the angular ui to alpaca-turbo/templates .

Now you should see your .bin files

Edit:
Or even easier , you can do what this guy said
#39 (comment)

from alpaca-turbo.

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.