Skip to content
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

Add DeepSpeed easyblock #3450

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

VRehnberg
Copy link
Contributor

Adds an EasyBlock for building DeepSpeed. Main reason for not handling it in the easyconfig is to access cuda_compute_capabilities.

@@ -0,0 +1,61 @@
from easybuild.easyblocks.generic.pythonpackage import PythonPackage
Copy link
Contributor

Choose a reason for hiding this comment

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

please include comment block on + you as the author


# require that PyTorch is listed as dependency
if 'PyTorch' not in dep_names:
raise EasyBuildError('PyTorch not found as a dependency')
Copy link
Contributor

Choose a reason for hiding this comment

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

I think we shouldn't error inside the init method, maybe move this to the build steps instead? The test suite doesn't like this at all.

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.

2 participants