Skip to content

Commit f6e7aef

Browse files
blueswhenniushengxiaohiworldwzj
authored
fix: coordinate autotune_warmup sequence (#1156)
Co-authored-by: niushengxiao <[email protected]> Co-authored-by: hiworldwzj <[email protected]>
1 parent d5b0f27 commit f6e7aef

File tree

5 files changed

+7
-6
lines changed

5 files changed

+7
-6
lines changed

docker/cuda_version_12.8.0/Dockerfile.nixl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ RUN apt-get update && apt-get install -y cmake automake autotools-dev libtool l
8181
RUN apt-get update && apt-get install -y pkg-config tmux net-tools libaio-dev ; \
8282
cd /usr/local/src; \
8383
pip install --upgrade meson pybind11 patchelf; \
84-
git clone https://github.com/ai-dynamo/nixl.git -b main && \
84+
git clone https://github.com/ai-dynamo/nixl.git -b 0.8.0 && \
8585
cd nixl && \
8686
rm -rf build && \
8787
mkdir build && \

docker/cuda_version_12.8.0/Dockerfile.nixl.deepep

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ RUN apt-get update && apt-get install -y cmake automake autotools-dev libtool l
108108
RUN apt-get update && apt-get install -y pkg-config tmux net-tools libaio-dev ; \
109109
cd /usr/local/src; \
110110
pip install --upgrade meson pybind11 patchelf; \
111-
git clone https://github.com/ai-dynamo/nixl.git -b main && \
111+
git clone https://github.com/ai-dynamo/nixl.git -b 0.8.0 && \
112112
cd nixl && \
113113
rm -rf build && \
114114
mkdir build && \

docker/cuda_version_12.8.0/Dockerfile.nixl.deepep.cache

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ RUN apt-get update && apt-get install -y cmake automake autotools-dev libtool l
110110
RUN apt-get update && apt-get install -y pkg-config tmux net-tools libaio-dev ; \
111111
cd /usr/local/src; \
112112
pip install --upgrade meson pybind11 patchelf; \
113-
git clone https://github.com/ai-dynamo/nixl.git -b main && \
113+
git clone https://github.com/ai-dynamo/nixl.git -b 0.8.0 && \
114114
cd nixl && \
115115
rm -rf build && \
116116
mkdir build && \

lightllm/common/basemodel/basemodel.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,10 +112,10 @@ def __init__(self, kvargs):
112112
self._init_some_value()
113113
self._init_custom()
114114
self._init_inferstate_cls()
115-
self._autotune_warmup()
116-
self._init_padded_req()
117115
# wait必须在init cudagraph 之前,避免错误捕获
118116
self._wait_other_modules_ready()
117+
self._autotune_warmup()
118+
self._init_padded_req()
119119
self._init_cudagraph()
120120
self._init_prefill_cuda_graph()
121121
self._check_max_len_infer()

requirements.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,4 +92,5 @@ torchvision==0.23.0
9292
interegular==0.3.3
9393
partial_json_parser==0.2.1.1.post6
9494
websockets==15.0.1
95-
cupy-cuda12x==13.6.0
95+
cupy-cuda12x==13.6.0
96+
nixl==0.8.0

0 commit comments

Comments
 (0)