Skip to content

RuntimeError: memory format option is only supported by strided tensors #7

@eran88

Description

@eran88

Im only using the activation in a simple model:
class KAT(nn.Module):
def init(
self,

) -> None:
    super().__init__()
    self.act1 = KAT_Group(mode="identity")

def forward(self, x: Tensor) -> Tensor:
    x = self.act1(x)

and getting the following error:

x = kat_rational_cu.rational_fwd_1dgroup(input, weight_numerator, weight_denominator, group)
RuntimeError: memory format option is only supported by strided tensors

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions