Comments (6)
This is the model dir and model file
,I use vLLm to run a server is OK, code like this.
nohup python -m vllm.entrypoints.openai.api_server --model="/data/python_workspace/text-generation-webui/models/neural-chat-7b-v3-1" --trust-remote-code --port=5000 --host="0.0.0.0" > output.log 2>&1 &
from deepspeed-mii.
@cninnovationai could you please try loading the model with pipeline
and let me know if that works? Thanks
import mii
pipe = mii.pipeline("/data/python_workspace/text-generation-webui/models/neural-chat-7b-v3-1/")
response = pipe("test")
from deepspeed-mii.
@cninnovationai could you please try loading the model with
pipeline
and let me know if that works? Thanksimport mii pipe = mii.pipeline("/data/python_workspace/text-generation-webui/models/neural-chat-7b-v3-1/") response = pipe("test")
[2023-12-26 14:40:25,529] [INFO] [real_accelerator.py:161:get_accelerator] Setting ds_accelerator to cuda (auto detect)
[2023-12-26 14:40:32,301] [INFO] [comm.py:637:init_distributed] cdb=None
[2023-12-26 14:40:32,305] [INFO] [comm.py:668:init_distributed] Initializing TorchBackend in DeepSpeed with backend nccl
[2023-12-26 14:40:32,360] [INFO] [engine_v2.py:82:init] Building model...
Using /home/bruce/.cache/torch_extensions/py310_cu121 as PyTorch extensions root...
always stay here,No further progress, gpu memory usage is 0
Do you know how to solve this problem? @mrwyattii
from deepspeed-mii.
@cninnovationai it looks like there is a lock file in your torch cache that is causing the issue. Try deleting your torch cache and run again:
rm -rf /home/bruce/.cache/torch*
from deepspeed-mii.
Cleared torch cache and worked for me
from deepspeed-mii.
after rm -rf /home/bruce/.cache/torch*,it work
from deepspeed-mii.
Related Issues (20)
- RuntimeError: server crashed for some reason, unable to proceed HOT 2
- The inference result is inconsistent with hf HOT 1
- TypeError: expected Tensor as element 0 in argument 0, but got bool HOT 1
- How to generate multiple responses in one time? HOT 1
- Is the DeepSpeed-MII will support habana (HPU) hardware? HOT 2
- How does GPT2/Bert models utilize continuous batching feature in MII? HOT 1
- Use of dtype in the mii fastgen HOT 1
- Fp6 eta HOT 2
- How to set trust_remote_code=True in pipeline HOT 2
- why all-reduce takes lots of time for mixtral which is quite larger than that of vllm and tensorrt-llm
- When I start server, after loading model, I got an error of 'grpc.aio._call.AioRpcError' HOT 5
- Add support for Gemma models HOT 1
- Speeding up loading in inference checkpoints HOT 2
- Requests.exceptions.ConnectionError: HOT 2
- How to use DeepSpeed-MII to deploy a LLM model from DeepSpeed/Megatron-DeepSpeed trained checkpoints? HOT 2
- MII Example shows that mii is "Slower" than Baseline!
- ValueError: Unsupported model type roberta HOT 2
- Can DeepSpeed-MII inference on multi gpus with only 1 replica? HOT 2
- Kernel execution error with long context length
- Workarounds for pre-Ampere devices 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 deepspeed-mii.