Skip to content
This repository was archived by the owner on Feb 7, 2025. It is now read-only.
This repository was archived by the owner on Feb 7, 2025. It is now read-only.

F.interpolate not compatible with bfloat16 #156

@Warvito

Description

@Warvito

As mentioned in pytorch/pytorch#86679, F.interpolate is not compatible with bfloat.

It is necessary to convert to float32 its usage in

x = F.interpolate(x, scale_factor=2.0, mode="nearest")

and

x = F.interpolate(x, scale_factor=2.0, mode="nearest")

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions