Code Monkey home page Code Monkey logo

Comments (4)

rasbt avatar rasbt commented on June 29, 2024 1

We recently updated the CLI, and it looks like the LitGPT version you are using requires the old --checkpoint_dir. I can make a new version release today for PyPI to address that. In the meantime, please upgrade LitGPT by

pip install litgpt==0.4.0.dev0

Let me know if it works or doesn't work.

from litgpt.

VamsiYK avatar VamsiYK commented on June 29, 2024

Yeah it is working , One more issue is when running this -> i# 3) Use the server (in a separate session) import requests, json response = requests.post( "http://127.0.0.1:8000/predict", json={"prompt": "Why people don't check cctv footage of all poling booths in INDIA to check if any malpractices occured? Is this not a big threat to democracy? "} ) print(response.json()) am getting output as "{'detail': 'Request timed out'}"

from litgpt.

rasbt avatar rasbt commented on June 29, 2024

Thanks for the feedback. Could you try a smaller model to test it with. Maybe the model is too large for your hardware and that's why it could be slow. E.g,. can you try

litgpt download EleutherAI/pythia-160m
litgpt serve EleutherAI/pythia-160m

from litgpt.

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.