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

ImportError: cannot import name 'LocalSlidingWindowSparsityConfig' from 'deepspeed.ops.sparse_attention.sparsity_config #431

Closed
rokosbasilisk opened this issue Oct 18, 2021 · 0 comments
Labels
bug Something isn't working

Comments

@rokosbasilisk
Copy link

Describe the bug
ImportError: cannot import name 'LocalSlidingWindowSparsityConfig' from 'deepspeed.ops.sparse_attention.sparsity_config' Megatron-DeepSpeed/deepspeed-big-science/deepspeed/ops/sparse_attention/sparsity_config.py)

To Reproduce
run ./deepy.py pretrain_gpt2.py -d configs small.yml local_setup.yml

Expected behavior
LocalSlidingWindowSparsityConfig class not found in deepspeed.ops.sparse_attention

Proposed solution
use SparsityConfig instead
Screenshots
Screenshot from 2021-10-19 02-23-44

@rokosbasilisk rokosbasilisk added the bug Something isn't working label Oct 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant