Skip to content

Commit e7f58a5

Browse files
committed
fix
1 parent ddbddad commit e7f58a5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lightllm/common/triton_utils/autotuner.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,6 +215,7 @@ def __call__(self, *args, **kwargs):
215215
# 懒加载
216216
self._ensure_cache_loaded(static_key)
217217
best_config = None
218+
self.nargs = dict(zip(self.arg_names, args))
218219

219220
def _benchmark(_run_key):
220221
from lightllm.utils.dist_utils import get_global_rank
@@ -265,7 +266,6 @@ def _benchmark(_run_key):
265266
logger.info(f"Saved configs for {self.name} - {static_key} - {run_key}")
266267

267268
kwargs["run_config"] = self.cached_configs[static_key][run_key]
268-
self.nargs = dict(zip(self.arg_names, args))
269269
full_nargs = {**self.nargs, **kwargs}
270270
self.pre_hook(full_nargs, reset_only=True)
271271

0 commit comments

Comments
 (0)