Skip to content

Commit ee6af79

Browse files
Update install.md (#426)
1 parent b7cedba commit ee6af79

File tree

1 file changed

+11
-5
lines changed

1 file changed

+11
-5
lines changed

docs/install.md

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -64,20 +64,26 @@ errors showing which ones are missing. You will need to manually install them.
6464
## Build from Source
6565

6666
```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
6868

6969
# 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
7171

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
7379

7480
mkdir perf_analyzer/build
7581

7682
cmake -B perf_analyzer/build -S perf_analyzer
7783

78-
cmake --build perf_analyzer/build -- -j8
84+
cmake --build perf_analyzer/build --parallel 8
7985

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}}
8187

8288
perf_analyzer -m <model>
8389
```

0 commit comments

Comments
 (0)