[Triton-MLIR][RUNTIME] Fix ir metadata lookup bug (#910)
This commit is contained in:
committed by
GitHub
parent
b688f7b7b8
commit
ace7d28736
@@ -1417,6 +1417,7 @@ def compile(fn, **kwargs):
|
|||||||
if ir == ext:
|
if ir == ext:
|
||||||
next_module = parse(fn)
|
next_module = parse(fn)
|
||||||
elif os.path.exists(path) and \
|
elif os.path.exists(path) and \
|
||||||
|
ir in metadata["ctime"] and \
|
||||||
os.path.getctime(path) == metadata["ctime"][ir]:
|
os.path.getctime(path) == metadata["ctime"][ir]:
|
||||||
next_module = parse(path)
|
next_module = parse(path)
|
||||||
else:
|
else:
|
||||||
|
Reference in New Issue
Block a user