DeepSpeed icon indicating copy to clipboard operation
DeepSpeed copied to clipboard

[REQUEST] M1 Max support

Open alecl opened this issue 3 years ago • 9 comments

Is your feature request related to a problem? Please describe. I'm looking to do some fine tuning of GPT-J on a Macbook Pro M1 Max w/ 64GB RAM

Describe the solution you'd like Given the CPU, GPU, and memory are significant for this chip it seems a reasonable target and would skip the hassle and cost management/budget asks for cloud based training.

alecl avatar Nov 20 '21 23:11 alecl

We’ve definitely been watching if/when pytorch will support M1, it sounds like it’s planned though.

https://github.com/pytorch/pytorch/issues/47702

Specifically see this comment: https://github.com/pytorch/pytorch/issues/47702#issuecomment-965625139

In terms of DeepSpeed support for M1 I suspect (depending on final design on torch side) many of our features will work well. However, we’ll have to reassess once torch releases their updated plan and final support here.

jeffra avatar Nov 21 '21 17:11 jeffra

Looks like pytorch released support.

alecl avatar Jun 11 '22 16:06 alecl

any updates?

amoghmishra-sl avatar Jul 21 '22 20:07 amoghmishra-sl

+1 on the request

stan-kirdey avatar Sep 29 '22 19:09 stan-kirdey

+1 for this, would be very helpful to have support from deepspeed in addition to torch.

ianbstewart avatar Oct 26 '22 00:10 ianbstewart

+1 on the update, it would be very cool to have deepspeed now working on Apple M1/M2 machines now that PyTorch is supporting them..

dseddah avatar Nov 06 '22 23:11 dseddah

It is exciting to see PyTorch support for M1/M2. We very open to extending deepspeed support to more and more accelerators but we currently lack bandwidth and hardware to explore this at the moment. However, we would gladly support any PRs for this similar to our ongoing support for the following Intel accelerator PR: https://github.com/microsoft/DeepSpeed/pull/2221

tjruwase avatar Nov 08 '22 19:11 tjruwase

Any update? it's been a long time.

phnessu4 avatar Apr 14 '23 14:04 phnessu4

@phnessu4, unfortunately no update here as we have not had bandwidth or hardware access to drive this line. We would gladly accept any PR in this direction. Our accelerator abstraction is completed, and Intel XPU is now fully supported.

tjruwase avatar Apr 17 '23 12:04 tjruwase