Skip to content

Commit 6cd45a7

Browse files
committed
Fix errors
1 parent 9c7da3a commit 6cd45a7

12 files changed

+24
-24
lines changed

.github/workflows/ci-platform-generic.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ jobs:
8585
Kernels/FP32/Sqrt
8686
Kernels/FP32/Transpose
8787
88-
Kernels/Integer/Slice
88+
Kernels/Integer/Softmax/Regular
8989
9090
Kernels/Integer/Add/MultIO
9191
Kernels/Integer/Add/Regular
@@ -114,8 +114,7 @@ jobs:
114114
115115
Kernels/Mixed/Dequant
116116
Kernels/Mixed/Quant
117-
Kernels/Mixed/QuantizedLinear
118-
Kernels/Integer/Conv/Regular_2D_RQ
117+
Models/Transformer_DeepQuant
119118
Kernels/Integer/Conv/DW_2D_RQ
120119
Kernels/Integer/Conv/Regular_2D_RQ
121120
Kernels/Integer/MatMul/Regular_RQ

.github/workflows/ci-platform-siracusa.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ jobs:
8484
Kernels/FP32/Transpose
8585
8686
Kernels/Integer/Hardswish/Regular
87-
Kernels/Integer/Slice
87+
Kernels/Integer/Softmax/Regular
8888
8989
Kernels/Integer/Add/MultIO
9090
Kernels/Integer/Add/Regular
@@ -104,7 +104,7 @@ jobs:
104104
Others/Backtracking
105105
Kernels/Mixed/Dequant
106106
Kernels/Mixed/Quant
107-
Kernels/Mixed/QuantizedLinear
107+
Models/Transformer_DeepQuant
108108
Kernels/Integer/Conv/Regular_2D_RQ
109109
Kernels/Integer/Conv/DW_2D_RQ
110110
Kernels/Integer/Hardswish/Regular_RQ

.github/workflows/ci-platform-snitch-tiled.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
tests-config: |
3939
[
4040
{"name":"Kernels/Integer/Add/Large","L1":[5000,10000]},
41-
{"name":"Kernels/Integer/Concat","L1":[5000,10000]},
41+
{"name":"Kernels/Integer/Softmax/Large","L1":[5000,10000]},
4242
4343
{"name":"Kernels/FP32/Softmax/Regular","L1":[2000,5000,10000]},
4444

.github/workflows/ci-platform-snitch.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ jobs:
4141
Kernels/Integer/Add/Large
4242
Kernels/Integer/Add/Regular
4343
44-
Kernels/Integer/Concat
45-
Kernels/Integer/Slice
44+
Kernels/Integer/Softmax/Large
45+
Kernels/Integer/Softmax/Regular
4646
4747
Kernels/Integer/MatMul/Regular
4848

DeeployTest/deeployStateEqualityTest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
metavar = 'testdir',
2525
dest = 'dir',
2626
type = str,
27-
default = './Tests/Others/SimpleRegression',
27+
default = './Tests/Models/CNN_Linear2',
2828
help = 'Set the regression test\n')
2929
parser.add_argument('-d',
3030
metavar = 'dumpdir',

DeeployTest/generateNetwork.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,8 +134,8 @@ def generateNetwork(args):
134134
log.debug(f"Deployer: {deployer}")
135135

136136
if not isinstance(
137-
platform,
138-
CMSISPlatform) and not "simpleCNN" in args.dir and not "RQMatMul" in args.dir and not "RQGEMM" in args.dir:
137+
platform, CMSISPlatform
138+
) and not "CNN_Linear1" in args.dir and not "Regular_RQ" in args.dir and not "Regular_RQ" in args.dir:
139139
deployer.loweringOptimizer.passes.insert(0, EmulateCMSISRequantPass())
140140

141141
verbosityCfg = _NoVerbosity

DeeployTest/testEngineAwareOptimizerWrapper.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222

2323

2424
def _test_partial_coloring():
25-
test_dir = "Tests/Others/SimpleRegression"
25+
test_dir = "Tests/Models/CNN_Linear2"
2626

2727
model = onnx.load(os.path.join(test_dir, "network.onnx"))
2828
graph = gs.import_onnx(model).toposort()
@@ -79,7 +79,7 @@ def _test_pass(_pass: TopologyOptimizationPass, graph: gs.Graph, engineName: str
7979

8080

8181
def _test_passes():
82-
test_dir = "Tests/Others/SimpleRegression"
82+
test_dir = "Tests/Models/CNN_Linear2"
8383
model = onnx.load(os.path.join(test_dir, "network.onnx"))
8484
graph = gs.import_onnx(model).toposort()
8585
passes = [

DeeployTest/testMemoryLevelExtension.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@
6868
_type, offset = inferTypeAndOffset(num, signProp)
6969
inputTypes[f"input_{index}"] = _type
7070
inputOffsets[f"input_{index}"] = offset
71-
if "simpleRegression" in args.dir:
71+
if "CNN_Linear2" in args.dir:
7272
inputOffsets[f"input_{index}"] = 0
7373

7474
deployer = mapDeployer(platform, graph, inputTypes, deeployStateDir = _DEEPLOYSTATEDIR, inputOffsets = inputOffsets)

DeeployTest/testRegexMatching.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ def __init__(self):
4242

4343
if __name__ == "__main__":
4444
optimizer = TopologyOptimizer([ConvTestPass()])
45-
model = onnx.load_model('Tests/Models/simpleCNN/network.onnx')
45+
model = onnx.load_model('Tests/Models/CNN_Linear1/network.onnx')
4646
graph = gs.import_onnx(model)
4747

4848
match_count = 0

DeeployTest/testReplaceInsertSubgraph.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
from Deeploy.OptimizationPasses.TopologyOptimizationPasses.PULPPasses import PULPConvRequantMergePass
1212

1313
if __name__ == "__main__":
14-
test_dir = "Tests/Others/SimpleRegression"
14+
test_dir = "Tests/Models/CNN_Linear2"
1515

1616
model = onnx.load(os.path.join(test_dir, "network.onnx"))
1717
graph = gs.import_onnx(model).toposort()

0 commit comments

Comments
 (0)