Skip to content
This repository was archived by the owner on Oct 9, 2024. It is now read-only.
This repository was archived by the owner on Oct 9, 2024. It is now read-only.

ds_inference success but OOM when use tp_presharded_mode=True #92

@LiuShixing

Description

@LiuShixing

I run bloom-ds-inference.py to inference bloom 176b, I successed run, and I set save_mp_checkpoint_path to deepspeed.init_inference for saving presharded tp checkpoints. Then I try to infer with setting tp_presharded_mode=True & load from the presharded tp checkpoints. The loading is faster but it OOM in deepspeed.init_inference.

How to reduce memory usage with fp16?
I use 16 * v100 (32G) GPUs, fp16

Thinks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions