Unverified Commit ce4ddd2d authored by DefTruth's avatar DefTruth Committed by GitHub
Browse files

[Misc] remove warning if triton>=3.2.0 (#16553)


Signed-off-by: default avatarDefTruth <qiustudent_r@163.com>
parent e51929eb
...@@ -39,11 +39,12 @@ is_hip_ = current_platform.is_rocm() ...@@ -39,11 +39,12 @@ is_hip_ = current_platform.is_rocm()
logger = logging.getLogger(__name__) logger = logging.getLogger(__name__)
# TODO: Remove this when triton>=3.2.0. This issue will not affect performance # Only print the following warnings when triton version < 3.2.0.
# and accuracy. # The issue won't affect performance or accuracy.
logger.warning( if triton.__version__ < '3.2.0':
"The following error message 'operation scheduled before its operands' " logger.warning(
"can be ignored.") "The following error message 'operation scheduled before its operands' "
"can be ignored.")
@triton.jit @triton.jit
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment