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

Enhance testing: Skip fused_optimizer tests if not supported. #5159

Merged

Conversation

vshekhawat-hlab
Copy link
Contributor

Enhance testing: Skip fused_optimizer tests if not supported.

Added condition check to skip fused_optimizer tests if FusedAdam and FusedLamb are not supported by the accelerator. This enhancement ensures that the tests are appropriately skipped when the hardware configuration does not support these optimizers, preventing potential issues.

Details:

  • Introduced a condition check to determine support for FusedAdam and FusedLamb.
  • If not supported, fused_optimizer tests are skipped to improve test reliability.
  • Improved compatibility and stability across different hardware configurations.

…ccelerator.

Added condition check to skip fused_optimizer tests if FusedAdam and FusedLamb are not supported by the accelerator. This enhancement ensures that the tests are appropriately skipped when the hardware configuration does not support these optimizers, preventing potential issues.

Details:
- Introduced a condition check to determine support for FusedAdam and FusedLamb.
- If not supported, fused_optimizer tests are skipped to improve test reliability.
- Improved compatibility and stability across different hardware configurations.
@tjruwase tjruwase added this pull request to the merge queue Feb 24, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Feb 24, 2024
@loadams
Copy link
Contributor

loadams commented Mar 12, 2024

Sorry @vshekhawat-hlab - looks like we have merge conflicts with another PR, could you fix the merge conflicts and we can merge this? Thanks!

@loadams
Copy link
Contributor

loadams commented Mar 28, 2024

@vshekhawat-hlab - could you resolve the merge conflicts on this PR?

@loadams loadams added this pull request to the merge queue Apr 23, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Apr 23, 2024
@vshekhawat-hlab
Copy link
Contributor Author

@vshekhawat-hlab - could you resolve the merge conflicts on this PR?

@loadams,

Can you please check it again.

@loadams loadams enabled auto-merge May 15, 2024 18:19
@loadams loadams disabled auto-merge May 15, 2024 18:19
@loadams loadams added this pull request to the merge queue May 16, 2024
Merged via the queue into microsoft:master with commit 7f55b20 May 16, 2024
12 checks passed
sfc-gh-reyazda pushed a commit to Snowflake-Labs/DeepSpeed that referenced this pull request Jun 10, 2024
…oft#5159)

Enhance testing: Skip fused_optimizer tests if not supported.

Added condition check to skip fused_optimizer tests if FusedAdam and
FusedLamb are not supported by the accelerator. This enhancement ensures
that the tests are appropriately skipped when the hardware configuration
does not support these optimizers, preventing potential issues.

Details:
- Introduced a condition check to determine support for FusedAdam and
FusedLamb.
- If not supported, fused_optimizer tests are skipped to improve test
reliability.
- Improved compatibility and stability across different hardware
configurations.

---------

Co-authored-by: Logan Adams <[email protected]>
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