Tuple -> tuple, List -> list [pr] (#8936)

This commit is contained in:
chenyu
2025-02-06 14:21:19 -05:00
committed by GitHub
parent d5183e1584
commit a092b6395d
9 changed files with 43 additions and 47 deletions

View File

@@ -1,4 +1,3 @@
from typing import List, Tuple
from extra.models.resnet import ResNet50
from extra.mcts_search import mcts_search
from examples.mlperf.helpers import get_mlperf_bert_model
@@ -79,7 +78,7 @@ if __name__ == "__main__":
rawbufs = bufs_from_lin(Kernel(si.ast))
# "linearize" the op into uops in different ways
lins: List[Tuple[Kernel, str]] = []
lins: list[tuple[Kernel, str]] = []
# always try hand coded opt
lin = Kernel(si.ast, opts=device.renderer)