You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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
![Screenshot from 2021-10-19 02-23-44](https://user-images.githubusercontent.com/41125078/137807064-23fa8e37-89d5-4295-9559-2302bed1be7d.png)
use SparsityConfig instead
Screenshots
The text was updated successfully, but these errors were encountered: