[Chore] dedup logs (#19955)
This commit is contained in:
@@ -1970,7 +1970,7 @@ class ParallelConfig:
|
||||
|
||||
if not current_platform.use_custom_allreduce():
|
||||
self.disable_custom_all_reduce = True
|
||||
logger.info(
|
||||
logger.debug(
|
||||
"Disabled the custom all-reduce kernel because it is not "
|
||||
"supported on current platform.")
|
||||
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.Config = self._dummy_decorator("Config")
|
||||
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):
|
||||
|
||||
|
||||
Reference in New Issue
Block a user