Skip to content

Conversation

@mohiuddin-khan-shiam
Copy link

Changes

  • Fixed the previously skipped test_solver_order_and_type in test_scheduler_edm_dpmsolver_multistep.py
  • Properly separated testing of dpmsolver++ and sde-dpmsolver++ algorithms
  • Added comprehensive validation for all supported solver orders and types
  • Included output shape verification in test assertions
  • Improved error messages for better debugging

Testing

  • Verified all tests pass for both algorithm types
  • Confirmed proper handling of solver order constraints
  • Validated output shapes match expected dimensions

Impact

  • Improves test reliability for the EDM DPM Solver
  • Enhances maintainability with better test organization
  • Provides clearer feedback when tests fail

This PR resolves the previously skipped test_solver_order_and_type in the EDM DPM Solver tests by properly handling both dpmsolver++ and sde-dpmsolver++ algorithm types. The test now includes comprehensive validation for all supported solver orders and types, with improved error messages and additional assertions to verify output shapes. The changes ensure better test reliability and maintainability while providing clearer feedback for debugging.
@yiyixuxu
Copy link
Collaborator

can you take a look here? @DN6 @sayakpaul

expected_max_diff=2e-3,
additional_params_copy_to_batched_inputs=["num_inference_steps"],
):
# Set default test behavior based on device
Copy link
Member

Choose a reason for hiding this comment

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

(nit): indentation?

Copy link
Member

@sayakpaul sayakpaul left a comment

Choose a reason for hiding this comment

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

Thanks for your PR. Can we break this into smaller PRs? For example, the scheduler related changes go sit in one, and the pipelines-related ones could sit in another.

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