Problem description
Dear Momentum team,
Thank you very much for the amazing work and for sharing this code!
I am currently working on a NVIDIA DGX Spark (ARM64 architecture) and have been attempting to build and run the pipeline there. Unfortunately, after a successful compilation, I am hitting a wall at runtime.
The very first error I encountered during the import of pymomentum.geometry was a missing Torch JIT symbol:
_ZN5torch3jit6detail19_tryToInferTypeImplEN8pybind116handleE. After attempting to bypass that, I encountered further ImportError issues where the geometry and solver modules fail to load due to missing symbols.
It appears the compiler is stripping template instantiations for IntVectorArrayAccessor, SkeletonStateAccessor, ModelParameters... during the build process on this architecture. I have attempted to manually stub/instantiate these in geometry_pybind.cpp, but the dependency chain for symbols across the .so files is quite complex.
Have you ever tested or officially supported the package on ARM64/AArch64 systems? Any guidance on CMake flags or explicit instantiation requirements for this architecture would be greatly appreciated.
Thank you very much in advance for your time and help.
Best regards,
Tommaso
System information
Momentum System Info v0.0.2
Commit: b56923d
CMake Version: 3.28.3
System: Linux-6.17.0-1008-nvidia
Arch: aarch64
C++ Compiler: /usr/bin/c++
C++ Compiler Version: 13.3.0
C Compiler: /usr/bin/cc
C Compiler Version: 13.3.0
CMake Prefix Path: /usr/local;/usr;/;/usr;/usr/local;/usr/X11R6;/usr/pkg;/opt
CMake log
Problem description
Dear Momentum team,
Thank you very much for the amazing work and for sharing this code!
I am currently working on a NVIDIA DGX Spark (ARM64 architecture) and have been attempting to build and run the pipeline there. Unfortunately, after a successful compilation, I am hitting a wall at runtime.
The very first error I encountered during the import of pymomentum.geometry was a missing Torch JIT symbol:
_ZN5torch3jit6detail19_tryToInferTypeImplEN8pybind116handleE. After attempting to bypass that, I encountered further ImportError issues where the geometry and solver modules fail to load due to missing symbols.
It appears the compiler is stripping template instantiations for IntVectorArrayAccessor, SkeletonStateAccessor, ModelParameters... during the build process on this architecture. I have attempted to manually stub/instantiate these in geometry_pybind.cpp, but the dependency chain for symbols across the .so files is quite complex.
Have you ever tested or officially supported the package on ARM64/AArch64 systems? Any guidance on CMake flags or explicit instantiation requirements for this architecture would be greatly appreciated.
Thank you very much in advance for your time and help.
Best regards,
Tommaso
System information
Momentum System Info v0.0.2
Commit: b56923d
CMake Version: 3.28.3
System: Linux-6.17.0-1008-nvidia
Arch: aarch64
C++ Compiler: /usr/bin/c++
C++ Compiler Version: 13.3.0
C Compiler: /usr/bin/cc
C Compiler Version: 13.3.0
CMake Prefix Path: /usr/local;/usr;/;/usr;/usr/local;/usr/X11R6;/usr/pkg;/opt
CMake log