-
Notifications
You must be signed in to change notification settings - Fork 143
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
[Feature Request / Question] Modifications Required to run on ARM / M1 #159
Comments
Could you maybe try to use |
I attempted. I think maybe this is the wrong way to do it.
|
Weirdly enough this conda package (https://anaconda.org/conda-forge/torchsparse) actually builds but when I execute an example script. from torch import nn
from torchsparse import nn as spnn
model = nn.Sequential(
spnn.Conv3d(in_channels, out_channels, kernel_size),
spnn.BatchNorm(out_channels),
spnn.ReLU(True),
) It gives me an error.
I think this is indicative of some sort of dependacy collision. Related Stackoverflow |
I think you could try setting |
I'm sorry @zhijian-liu I'm not sure how I can do that. Could you maybe provide what flag I should set since I feel out of my depth here. |
No worries! I'm not very certain either. Could you maybe try |
@The-Real-Thisas, I'm just checking in to see if this issue has been resolved. Thanks! |
Sorry @zhijian-liu I was busy for the past few weeks and was unable to focus on this. I tested with setting CXX
It's a different error so I think it is progress ? I think it's a problem with pytorch since it gives a ModuleNotFoundError but I have torch installed, maybe it is a version issue ?
I'm not sure where to go from here, maybe try building from the repo manually ? |
@zhijian-liu, Sorry for the delay, just wondering what I can do from here ? |
Sorry for the late reply. Could you double-check in your Python that you could import |
Nope it gives me a |
Hmmm, this seems to be a PyTorch issue. Could you double-check the PyTorch version? |
From
|
Could you maybe try downgrading PyTorch to 1.11.0? |
Now
|
Trying to run, from torch import nn
from torchsparse import nn as spnn
import torch.utils.cpp_extension
model = nn.Sequential(
spnn.Conv3d(in_channels, out_channels, kernel_size),
spnn.BatchNorm(out_channels),
spnn.ReLU(True),
) with the conda package of
|
Could you please try |
|
Did this ever get fixed? |
No building the latest version from source does not seem to work, conda version did build through so you can try that. https://anaconda.org/conda-forge/torchsparse Maybe its fixed ? |
Since I didn't see any mention of M1 or ARM and the current build fails. I was wondering what changes may be needed to support the architecture.
Short Version:
Full Log:
fail.log
The text was updated successfully, but these errors were encountered: