Code Monkey home page Code Monkey logo

Comments (8)

baggiponte avatar baggiponte commented on May 30, 2024 1

Sorry, didn't have time yet to check. My instance has 60GB of disk but only 2 of RAM - that might be the problem.

from llm-guard.

asofter avatar asofter commented on May 30, 2024

Hey @baggiponte , thanks for reaching out.

Can you please share more information about your environment? Is it Macbook M1 or something else? Does it break immediately after starting?

It seems that Docker doesn't have enough storage to load models. I tried to run this command on my machine and had no errors.

from llm-guard.

baggiponte avatar baggiponte commented on May 30, 2024

Oh lol that might be it. Will prune everything and come back to it :)

from llm-guard.

baggiponte avatar baggiponte commented on May 30, 2024

heya, I pruned the whole docker partition and ran again the command but it failed. I am running on a M3 Mac.

from llm-guard.

asofter avatar asofter commented on May 30, 2024

Is it the same error? It needs quite a lot of space, can you check also the docker config if it has enough storage allocated?

from llm-guard.

asofter avatar asofter commented on May 30, 2024

We found another problem in our docker image which was fixed yesterday: e12b9a3

from llm-guard.

baggiponte avatar baggiponte commented on May 30, 2024

Hey there! Sorry for popping up late. The breakdown is definitely due to the container having allocated too little RAM. I bumped mine from 2GB to 8GB and the download proceeds well beyond the point it used to (but stil crashes).

Perhaps providing an approximate memory usage could be of help. Both in the docs for the container image but also for the scanner - something like an attribute or a staticmethod that provides one.

Feel free to close this issue and/or move it to another one or a discussion.

from llm-guard.

asofter avatar asofter commented on May 30, 2024

Hey @baggiponte , will add that information to the doc. And actually we also realized the image is quite heavy, and we will optimize it with a few tricks.

from llm-guard.

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.