[Chore] dedup logs (#19955)
This commit is contained in:
@@ -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