Skip to content

Comments

fix: Float8Tensor as_strided workaround#503

Open
livepeer-robot wants to merge 1 commit intodaydreamlive:mainfrom
livepeer-robot:fix/issue-501
Open

fix: Float8Tensor as_strided workaround#503
livepeer-robot wants to merge 1 commit intodaydreamlive:mainfrom
livepeer-robot:fix/issue-501

Conversation

@livepeer-robot
Copy link

Float8Tensor (torchao) does not implement aten.as_strided which is used internally by unflatten/view/reshape. This adds a safe_unflatten helper that detects Float8Tensor and casts to float32 before the operation.

Applied to causal_vace_model.py where the error occurs in DenoiseBlock.

Fixes #501

Float8Tensor (torchao) does not implement aten.as_strided which is used
internally by unflatten/view/reshape. Add safe_unflatten helper that
detects Float8Tensor and casts to float32 before the operation.

Applied to causal_vace_model.py where the error occurs in DenoiseBlock.

Fixes daydreamlive#501
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.

Float8Tensor dispatch error: aten.as_strided not implemented in DenoiseBlock

1 participant