Upgrade optimum-habana diffusers dependency from 0.26.3 to 0.29.2 #1150
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Upgrade optimum-habana diffusers from 0.26.3 to 0.29.2
setup.py
tensor2vid
and instead usevideo_processor.postprocess_video
check_inputs
API in 0.29.2tests/test_diffusers.py
to useto(dtype=...)
instead ofto(torch_dtype=...)
which is deprecated starting diffusers 0.27.0 (See here)Tests
Ran tests on G2:
Diffusers test results before diffusers upgrade:
17 failed, 106 passed, 13 skipped, 65 warnings in 2304.15s (0:38:24)
Diffusers test results after diffusers upgrade:
16 failed, 107 passed, 13 skipped, 316 warnings in 2157.94s (0:35:57)
Note: Update is needed for supporting enabling newest pipelines such as Stable Diffusion 3, etc.