Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
eran88 opened this issue Sep 25, 2024 · 2 comments
Open

Comments

@eran88
Copy link

eran88 commented Sep 25, 2024

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

@Adamdad
Copy link
Owner

Adamdad commented Sep 25, 2024

Could you please provide more context about the problem? For example, the environment version, system details, and any other relevant information. Also, are you using ROCm devices?

@eran88
Copy link
Author

eran88 commented Sep 26, 2024

PyTorch Version: 2.2.0+cu118
CUDA Available: True
CUDA Version: 11.8
Number of CUDA devices: 8
CUDA Device Name: NVIDIA A100-SXM4-80GB
ROCm Available: False
Python Version: 3.10.9

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

No branches or pull requests

2 participants