DeepSpeed icon indicating copy to clipboard operation
DeepSpeed copied to clipboard

[REQUEST] Is the cuda unified memory technology used in deepspeed? Where is its API?

Open gukejun1 opened this issue 1 year ago • 3 comments

such as that title, Is the cuda unified memory technology used in deepspeed? Where is its API?

gukejun1 avatar Apr 27 '23 07:04 gukejun1

No, cuda unified memory is not used in deepspeed.

tjruwase avatar Apr 27 '23 18:04 tjruwase

@tjruwase Thank you for solving the puzzle. There are two questions:

  1. What are the heterogeneous memory optimizations performed by DeepSpeed? Which of the following APIs is used? 2, Does it provides the GPU memory swapping mechanism with the CPU main memory ? What is this mechanism like? What about APIs?

gukejun1 avatar Apr 28 '23 01:04 gukejun1

The heterogenous memory optimizations are

  1. ZeRO-Offload
  2. ZeRO-Infinity.
  3. ZeRO-Inference

tjruwase avatar May 08 '23 19:05 tjruwase