Coder Social home page Coder Social logo

Comments (7)

ravenscroftj avatar ravenscroftj commented on July 18, 2024

Hey

What version of the model are you trying to use? Does it crash after you submit a prompt? If so, how big is the prompt?

Thanks

from turbopilot.

czkoko avatar czkoko commented on July 18, 2024

I tested codegen-2B, codegen-350m, and there was a problem with both models.
The model can be loaded successfully, but once it is receive a prompt, an error will be show.
the prompt very small, just like "func hello()"

from turbopilot.

ravenscroftj avatar ravenscroftj commented on July 18, 2024

Are you building with OpenBLAS or Apple Accelerate enabled by any chance

from turbopilot.

czkoko avatar czkoko commented on July 18, 2024

just cmake . and make
There is no problem with the program I compiled the code a few days ago.

from turbopilot.

ravenscroftj avatar ravenscroftj commented on July 18, 2024

Ok thanks - try now with commit bcf24e6 - I think I have identified an issue with the batch size setting which I changed today to enable BLAS. It seems to cause the memory issue for me on my laptop too.

from turbopilot.

czkoko avatar czkoko commented on July 18, 2024

thank you, It is working normally now.

from turbopilot.

ravenscroftj avatar ravenscroftj commented on July 18, 2024

great and now I know what is wrong - hopefully I can fix memory allocation AND bring a performance boost

from turbopilot.

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.