-
Notifications
You must be signed in to change notification settings - Fork 175
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
did "mii.pipeline" support float16? #390
Comments
use legacy method still get OOM error, with Traceback (most recent call last): |
Hi @wangrendong-yition your 24GB of memory should be plenty to run the Llama-7B model. Could you share the GPU type, deepspeed/deepspeed-mii versions, and the script you are running? This will help me debug the OOM error you are seeing. Thanks! |
I don't know what happened before, but today I give it another try and The legacy method still got the OOM error on RTX3090, following codes: import mii
mii_configs = {"tensor_parallel": 1, "dtype": "fp16"}
mii.deploy(task="text-generation",
model="NousResearch/Llama-2-7b-hf",
model_path="/data/deepspeed_mii_models",
deployment_name="llama2_deployment",
mii_config=mii_configs) while I think this OOM doesn't matter now. Anyway this issue could be closed. Thanks! |
got OOM when load Llama2-7B on a 24GB GPU, and I cannot find the config of dtypes
The text was updated successfully, but these errors were encountered: