File tree Expand file tree Collapse file tree 1 file changed +11
-5
lines changed Expand file tree Collapse file tree 1 file changed +11
-5
lines changed Original file line number Diff line number Diff line change @@ -64,20 +64,26 @@ errors showing which ones are missing. You will need to manually install them.
64
64
## Build from Source
65
65
66
66
``` bash
67
- docker run --rm --gpus= all -it --net= host ubuntu:24.04
67
+ docker run --rm --gpus all -it --network host ubuntu:24.04
68
68
69
69
# inside container, install build/runtime dependencies
70
- apt update && DEBIAN_FRONTEND=noninteractive apt install -y cmake g++ git libssl-dev nvidia-cuda-toolkit python3 rapidjson-dev zlib1g-dev
70
+ apt update && apt install -y curl
71
71
72
- git clone --depth=1 https://github.com/triton-inference-server/perf_analyzer.git
72
+ curl -LsSf https://apt.kitware.com/kitware-archive.sh | sh
73
+
74
+ CMAKE_VERSION_FULL=$( apt-cache madison cmake | awk ' /3.31.8/ {print $3; exit}' )
75
+
76
+ apt update && DEBIAN_FRONTEND=noninteractive apt install -y cmake=${CMAKE_VERSION_FULL} cmake-data=${CMAKE_VERSION_FULL} g++ git libssl-dev nvidia-cuda-toolkit python3 rapidjson-dev zlib1g-dev
77
+
78
+ git clone --depth 1 https://github.com/triton-inference-server/perf_analyzer.git
73
79
74
80
mkdir perf_analyzer/build
75
81
76
82
cmake -B perf_analyzer/build -S perf_analyzer
77
83
78
- cmake --build perf_analyzer/build -- -j8
84
+ cmake --build perf_analyzer/build --parallel 8
79
85
80
- export PATH=$( pwd) /perf_analyzer/build/perf_analyzer/src/perf-analyzer-build: $ PATH
86
+ export PATH=$( pwd) /perf_analyzer/build/perf_analyzer/src/perf-analyzer-build${PATH : + : ${ PATH} }
81
87
82
88
perf_analyzer -m < model>
83
89
```
You can’t perform that action at this time.
0 commit comments