mirror of
https://git.datalinker.icu/vllm-project/vllm.git
synced 2025-12-10 02:05:01 +08:00
[Chore] dedup logs (#19955)
This commit is contained in:
parent
2c11a29f0b
commit
e91386cde1
@ -1970,7 +1970,7 @@ class ParallelConfig:
|
|||||||
|
|
||||||
if not current_platform.use_custom_allreduce():
|
if not current_platform.use_custom_allreduce():
|
||||||
self.disable_custom_all_reduce = True
|
self.disable_custom_all_reduce = True
|
||||||
logger.info(
|
logger.debug(
|
||||||
"Disabled the custom all-reduce kernel because it is not "
|
"Disabled the custom all-reduce kernel because it is not "
|
||||||
"supported on current platform.")
|
"supported on current platform.")
|
||||||
if self.ray_workers_use_nsight and not self.use_ray:
|
if self.ray_workers_use_nsight and not self.use_ray:
|
||||||
|
|||||||
@ -74,10 +74,6 @@ class TritonPlaceholder(types.ModuleType):
|
|||||||
self.heuristics = self._dummy_decorator("heuristics")
|
self.heuristics = self._dummy_decorator("heuristics")
|
||||||
self.Config = self._dummy_decorator("Config")
|
self.Config = self._dummy_decorator("Config")
|
||||||
self.language = TritonLanguagePlaceholder()
|
self.language = TritonLanguagePlaceholder()
|
||||||
logger.warning_once(
|
|
||||||
"Triton is not installed. Using dummy decorators. "
|
|
||||||
"Install it via `pip install triton` to enable kernel"
|
|
||||||
" compilation.")
|
|
||||||
|
|
||||||
def _dummy_decorator(self, name):
|
def _dummy_decorator(self, name):
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user