A high-throughput and memory-efficient inference and serving engine for LLMs
Mirrored from https://github.com/tduncan-lum/Nvidia-Optimization-Stack---VLLM.git
Synced Nov 16, 17:00 UTC
[CI/Build] enable ccache/scccache for HIP builds (#8327)
Daniele committed
Sep 10, 2024 at 17:55 UTC
6234385f4a826edd5c4e0ca7dbdea480be215c5e
1 file changed
+4
-1
setup.py
+4
-1
@@ -170,14 +170,17 @@ class cmake_build_ext(build_ext):
170
171
if is_sccache_available():
172
cmake_args += [
173
+ '-DCMAKE_C_COMPILER_LAUNCHER=sccache',
174
'-DCMAKE_CXX_COMPILER_LAUNCHER=sccache',
175
'-DCMAKE_CUDA_COMPILER_LAUNCHER=sccache',
175
- '-DCMAKE_C_COMPILER_LAUNCHER=sccache',
176
+ '-DCMAKE_HIP_COMPILER_LAUNCHER=sccache',
177
]
178
elif is_ccache_available():
179
cmake_args += [
180
+ '-DCMAKE_C_COMPILER_LAUNCHER=ccache',
181
'-DCMAKE_CXX_COMPILER_LAUNCHER=ccache',
182
'-DCMAKE_CUDA_COMPILER_LAUNCHER=ccache',
183
+ '-DCMAKE_HIP_COMPILER_LAUNCHER=ccache',
184
]
185
186
# Pass the python executable to cmake so it can find an exact