Build AMD64 Triton from ARM64 machine generate ARM64 architecture executable file #7745
Labels
build
Issues pertaining to builds
module: platforms
Issues related to platforms, hardware, and support matrix
Description
Hi, I tried to build x86_64 Triton from source using
build.py
script in an ARM64 machine, but the executable file was in arm64 architecture.command:
python3 build.py --target-platform=linux --target-machine=x86_64 --backend=python --backend=fil --endpoint=sagemaker --enable-logging --enable-metrics --enable-stats --build-type=Release
Triton Information
What version of Triton are you using?
24.09
Are you using the Triton container or did you build it yourself?
Build it by myself
To Reproduce
Steps to reproduce the behavior.
Run
python3 build.py --target-platform=linux --target-machine=x86_64 --backend=python --backend=fil --endpoint=sagemaker --enable-logging --enable-metrics --enable-stats --build-type=Release
in an ARM64 machine, then go totritonserver
imagedocker run -it tritonserver /bin/bash
and installfile
:apt-get update && apt-get install -y file
, finally check the executable tritonserver filefile /opt/tritonserver/bin/tritonserver
Describe the models (framework, inputs, outputs), ideally include the model configuration file (if using an ensemble include the model configuration file for that as well).
N/A
Expected behavior
A clear and concise description of what you expected to happen.
With
--target-machine=x86_64
option, the executable file should be amd64 architecture.The text was updated successfully, but these errors were encountered: