-
Notifications
You must be signed in to change notification settings - Fork 40
Open
Description
Hello @fzyzcjy , currently I see a wheel available only for x86 - https://pypi.org/project/torch-memory-saver/0.0.9rc3/#files. Can we also get a wheel for aarch64?
When I try to install torch-memory-saver for ARM, it is unable to find the wheel (like it does in x86) and starts building from source instead and fails
× Failed to build `torch-memory-saver @ file:///home/torch_memory_saver`
├─▶ The build backend returned an error
╰─▶ Call to `setuptools.build_meta:__legacy__.build_wheel` failed (exit status: 1)
[stdout]
Detected platform: cuda
running bdist_wheel
running build
running build_py
creating build/lib.linux-aarch64-cpython-312/torch_memory_saver
copying torch_memory_saver/__init__.py -> build/lib.linux-aarch64-cpython-312/torch_memory_saver
copying torch_memory_saver/binary_wrapper.py -> build/lib.linux-aarch64-cpython-312/torch_memory_saver
copying torch_memory_saver/entrypoint.py -> build/lib.linux-aarch64-cpython-312/torch_memory_saver
copying torch_memory_saver/testing_utils.py -> build/lib.linux-aarch64-cpython-312/torch_memory_saver
copying torch_memory_saver/utils.py -> build/lib.linux-aarch64-cpython-312/torch_memory_saver
creating build/lib.linux-aarch64-cpython-312/torch_memory_saver/hooks
copying torch_memory_saver/hooks/__init__.py -> build/lib.linux-aarch64-cpython-312/torch_memory_saver/hooks
copying torch_memory_saver/hooks/base.py -> build/lib.linux-aarch64-cpython-312/torch_memory_saver/hooks
copying torch_memory_saver/hooks/mode_preload.py -> build/lib.linux-aarch64-cpython-312/torch_memory_saver/hooks
copying torch_memory_saver/hooks/mode_torch.py -> build/lib.linux-aarch64-cpython-312/torch_memory_saver/hooks
running build_ext
building 'torch_memory_saver_hook_mode_preload' extension
creating build/temp.linux-aarch64-cpython-312/csrc
aarch64-linux-gnu-g++ -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O2 -Wall -fPIC -DPy_LIMITED_API=0x03090000
-DUSE_CUDA=1 -DTMS_HOOK_MODE_PRELOAD=1 -I/usr/local/cuda/include -I/home/.cache/uv/builds-v0/.tmpwYZ4kV/include
-I/usr/include/python3.12 -c csrc/api_forwarder.cpp -o build/temp.linux-aarch64-cpython-312/csrc/api_forwarder.o -std=c++17
-O3
[stderr]
In file included from csrc/api_forwarder.h:3,
from csrc/api_forwarder.cpp:2:
csrc/macro.h:46:10: fatal error: cuda_runtime_api.h: No such file or directory
46 | #include <cuda_runtime_api.h>
| ^~~~~~~~~~~~~~~~~~~~
compilation terminated.
error: command '/usr/bin/aarch64-linux-gnu-g++' failed with exit code 1
hint: This error likely indicates that you need to install a library that provides "cuda_runtime_api.h" for
`file:///home/torch_memory_saver`
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels