Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Documentation for DeepSpeed Accelerator Abstraction Interface#3184

Merged
jeffra merged 19 commits into
deepspeedai:masterfrom
delock:gma/accelerator_interface_doc
Jun 9, 2023
Merged

Documentation for DeepSpeed Accelerator Abstraction Interface#3184
jeffra merged 19 commits into
deepspeedai:masterfrom
delock:gma/accelerator_interface_doc

Conversation

@delock
Copy link
Copy Markdown
Collaborator

@delock delock commented Apr 11, 2023

This PR add a document as a tutorial how to use DeepSpeed Accelerator Abstraction Interface to write accelerator agnostic DeepSpeed models; how to run a DeepSpeed model on different accelerator through different environment; how to write accelerator extension for new accelerator.

@delock delock marked this pull request as ready for review April 11, 2023 14:28
@delock delock requested review from jeffra and mrwyattii as code owners April 11, 2023 14:28
* [Implement new accelerator extension](#implement-new-accelerator-extension)

# Introduction
The DeepSpeed Accelerator Abstraction allows user to run large language model seamlessly on various Deep Learning acceleration hardware seamlessly with DeepSpeed. It offers a set of accelerator runtime and accelerator op builder interface which can be implemented for different hardware. This means user can write large language model code without hardware specific code. With DeepSpeed Accelerator Abstraction, the same large language model can run on different hardware platform, without the need to rewrite model code. This makes running large language model on different hardware easier.
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove one 'seamlessly' from this line.

@delock
Copy link
Copy Markdown
Collaborator Author

delock commented May 26, 2023

Hi @tjruwase can you review and see if this PR needs further change? Hope this tutorial could be useful for people who want to write accelerator agonistic model or want to develop new accelerator for DeepSpeed.

@tjruwase
Copy link
Copy Markdown
Contributor

Hi @tjruwase can you review and see if this PR needs further change? Hope this tutorial could be useful for people who want to write accelerator agonistic model or want to develop new accelerator for DeepSpeed.

Thanks @delock. I will review asap.

@mrwyattii, @jeffra, FYI

Copy link
Copy Markdown
Collaborator

@jeffra jeffra left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you @delock!

@jeffra
Copy link
Copy Markdown
Collaborator

jeffra commented Jun 9, 2023

Once this is live it might be nice to update the formatter to link to this page when cuda references are found. We've had some folks ask for more details on why/how to fix the errors the formatter raises and your new doc i think will add further context for them :)

@jeffra jeffra merged commit 5289d69 into deepspeedai:master Jun 9, 2023
molly-smith pushed a commit that referenced this pull request Jun 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants