Skip to content

[SW-182028] - set ds config "reduce scatter" to false#173

Merged
libinta merged 1 commit into
HabanaAI:habana-mainfrom
vineethanandh:flant5_perfissue
Apr 18, 2024
Merged

[SW-182028] - set ds config "reduce scatter" to false#173
libinta merged 1 commit into
HabanaAI:habana-mainfrom
vineethanandh:flant5_perfissue

Conversation

@vineethanandh
Copy link
Copy Markdown

What does this PR do?

This PR changes the deepspeed config of summarization models to
run with "reduce_scatter" : false by default.

Fixes # (issue)
FlanT5 performance issue where the 8x performance drops to 5% when ran with deepspeed.

Before submitting

  • This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
  • Did you make sure to update the documentation with your changes?
  • Did you write any new necessary tests?

- FlanT5 is giving a perf drop with "reduce_scatter"
value True in DS config

Signed-off-by: vineethanandh <vineethanandh@habana.ai>
Copy link
Copy Markdown

@MohitIntel MohitIntel left a comment

Choose a reason for hiding this comment

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

LGTM

@libinta libinta merged commit c1a6274 into HabanaAI:habana-main Apr 18, 2024
@vineethanandh vineethanandh deleted the flant5_perfissue branch April 19, 2024 05:38
@vineethanandh vineethanandh restored the flant5_perfissue branch April 19, 2024 07:20
astachowiczhabana pushed a commit that referenced this pull request Apr 22, 2024
- FlanT5 is giving a perf drop with "reduce_scatter"
value True in DS config

Signed-off-by: vineethanandh <vineethanandh@habana.ai>
@MohitIntel MohitIntel changed the title [SW-12028] - set ds config "reduce scatter" to false [SW-182028] - set ds config "reduce scatter" to false Apr 22, 2024
astachowiczhabana pushed a commit that referenced this pull request Apr 24, 2024
- FlanT5 is giving a perf drop with "reduce_scatter"
value True in DS config

Signed-off-by: vineethanandh <vineethanandh@habana.ai>
astachowiczhabana pushed a commit that referenced this pull request Apr 24, 2024
- FlanT5 is giving a perf drop with "reduce_scatter"
value True in DS config

Signed-off-by: vineethanandh <vineethanandh@habana.ai>
@vineethanandh vineethanandh deleted the flant5_perfissue branch April 30, 2024 11:56
@astachowiczhabana
Copy link
Copy Markdown

huggingface#908

astachowiczhabana added a commit that referenced this pull request Mar 4, 2025
* Squash deepseek commit

* Update optimum/habana/transformers/modeling_utils.py

Co-authored-by: Yaser Afshar <yaser.afshar@intel.com>

---------

Co-authored-by: Yaser Afshar <yaser.afshar@intel.com>
astachowiczhabana added a commit that referenced this pull request Mar 31, 2025
* Squash deepseek commit

* Update optimum/habana/transformers/modeling_utils.py

Co-authored-by: Yaser Afshar <yaser.afshar@intel.com>

---------

Co-authored-by: Yaser Afshar <yaser.afshar@intel.com>
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.

4 participants