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: required rank 4 tensor to use channels_last format #114

Open
FatemehTahavori opened this issue Jul 3, 2024 · 0 comments
Open

Comments

@FatemehTahavori
Copy link

I encountered a RuntimeError related to tensor ranks while using the PatchTST library for pretraining on M3 Max OS.
"RuntimeError: required rank 4 tensor to use channels_last format"

I have updated the code to use mps device, do you know how to fix this issue?
Thanks

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

1 participant