Skip to content

Build AMD64 Triton from ARM64 machine generate ARM64 architecture executable file #7745

@ti1uan

Description

@ti1uan

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 to tritonserver image docker run -it tritonserver /bin/bash and install file: apt-get update && apt-get install -y file, finally check the executable tritonserver file file /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.

Metadata

Metadata

Labels

buildIssues pertaining to buildsmodule: platformsIssues related to platforms, hardware, and support matrix

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions