Comments (4)
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.
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.
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)
- validation output during finetuning HOT 2
- mistralai/Mistral-7B-v0.3 support HOT 4
- How to set max_iters HOT 5
- Specify cache for huggingface openwebtext download HOT 1
- Training lasts just 150 seconds for TinyLlama OpenWebtext dataset
- Mixtral 8x22B support HOT 4
- Using custom data for `Continue pretraining an LLM` HOT 4
- The difference between FSDPStrategy and DeepSpeedStrategy during pre-training
- Missing python dependencies for running pretrain tutorial HOT 1
- Finetune lora max_seq_length error HOT 4
- Continue finetuning HOT 2
- Support non-int batch_size argument "auto" with litgpt evaluate HOT 3
- Finetuning with multiple gpus extemely slow HOT 2
- Batched inference on a single node with multiple GPUs HOT 9
- Gradient Accumulation Step under Multi-node Pretaining HOT 5
- Support a new model HOT 7
- Compiled inference failed: "Global state changed while dynamo tracing" HOT 1
- serving with multi-GPU HOT 2
- Enable multi-turn prompts for supported LLMs HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from litgpt.