Skip to content

Commit d336243

Browse files
committed
Relocated softmax
1 parent 7d0d72d commit d336243

File tree

25 files changed

+22
-19
lines changed

25 files changed

+22
-19
lines changed

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@ jobs:
3737
docker-image: ${{ needs.select-env.outputs.image }}
3838
test-names: |
3939
FP32Kernels/Activations/ReLU
40+
FP32Kernels/Activations/Softmax/Regular
41+
4042
FP32Kernels/Add/regular
4143
4244
FP32Kernels/Conv2D/DWBias
@@ -80,11 +82,10 @@ jobs:
8082
FP32Kernels/ReduceMean/NoKeepDims/ReduceMean_Add
8183
8284
FP32Kernels/SkipConnection/ReshapeWithSkipConnection
83-
FP32Kernels/Softmax/Regular
8485
FP32Kernels/Sqrt
8586
FP32Kernels/Transpose
8687
87-
IntKernels/Activations/iSoftmax
88+
IntKernels/Activations/Softmax/Regular
8889
8990
IntKernels/Add/MultIO
9091
IntKernels/Add/Regular

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

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,8 @@ jobs:
3838
tests-config: |
3939
[
4040
{"name":"FP32Kernels/Activations/ReLU","L1":[2000]},
41+
{"name":"FP32Kernels/Activations/Softmax/Regular","L1":[4000]},
42+
4143
{"name":"FP32Kernels/Add/large","L1":[220000]},
4244
4345
{"name":"FP32Kernels/Conv2D/DWBias","L1":[7200]},
@@ -74,11 +76,10 @@ jobs:
7476
{"name":"FP32Kernels/ReduceMean/NoKeepDims/ReduceMean_Add","L1":[8000]},
7577
7678
{"name":"FP32Kernels/SkipConnection/ReshapeWithSkipConnection","L1":[1400]},
77-
{"name":"FP32Kernels/Softmax/Regular","L1":[4000]},
7879
{"name":"FP32Kernels/Transpose","L1":[2000]},
7980
8081
{"name":"IntKernels/Activations/Hardswish","L1":[750]},
81-
{"name":"IntKernels/Activations/iSoftmax","L1":[800,500,300]},
82+
{"name":"IntKernels/Activations/Softmax/Regular","L1":[800,500,300]},
8283
8384
{"name":"IntKernels/Concat","L1":[32000,16000,8000]},
8485
@@ -104,6 +105,7 @@ jobs:
104105
tests-config: |
105106
[
106107
{"name":"FP32Kernels/Activations/ReLU","L1":[20]},
108+
{"name":"FP32Kernels/Activations/Softmax/Regular","L1":[8000]},
107109
108110
{"name":"FP32Kernels/Conv2D/DWBias","L1":[10000]},
109111
{"name":"FP32Kernels/Conv2D/DWNoBias","L1":[9800]},
@@ -139,11 +141,10 @@ jobs:
139141
{"name":"FP32Kernels/ReduceMean/NoKeepDims/ReduceMean_Add","L1":[8000]},
140142
141143
{"name":"FP32Kernels/SkipConnection/ReshapeWithSkipConnection","L1":[2600]},
142-
{"name":"FP32Kernels/Softmax/Regular","L1":[8000]},
143144
{"name":"FP32Kernels/Transpose","L1":[2000]},
144145
145146
{"name":"IntKernels/Activations/Hardswish","L1":[750]},
146-
{"name":"IntKernels/Activations/iSoftmax","L1":[1600,1000,600]},
147+
{"name":"IntKernels/Activations/Softmax/Regular","L1":[1600,1000,600]},
147148
148149
{"name":"IntKernels/Concat","L1":[64000,32000,16000]},
149150
{"name":"IntKernels/MatMul/regular","L1":[64000,32000,16000]},

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

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,12 @@ jobs:
3737
docker-image: ${{ needs.select-env.outputs.image }}
3838
test-names: |
3939
FP32Kernels/Activations/ReLU
40+
41+
FP32Kernels/Activations/Softmax/CrossEntropy
42+
FP32Kernels/Activations/Softmax/CrossEntropyGrad
43+
FP32Kernels/Activations/Softmax/Grad
44+
FP32Kernels/Activations/Softmax/Regular
45+
4046
FP32Kernels/Add/regular
4147
4248
FP32Kernels/Conv2D/DWBias
@@ -75,15 +81,10 @@ jobs:
7581
FP32Kernels/ReduceSum
7682
FP32Kernels/SkipConnection/ReshapeWithSkipConnection
7783
78-
FP32Kernels/Softmax/CrossEntropy
79-
FP32Kernels/Softmax/CrossEntropyGrad
80-
FP32Kernels/Softmax/Grad
81-
FP32Kernels/Softmax/Regular
82-
8384
FP32Kernels/Transpose
8485
8586
IntKernels/Activations/Hardswish
86-
IntKernels/Activations/iSoftmax
87+
IntKernels/Activations/Softmax/Regular
8788
8889
IntKernels/Add/MultIO
8990
IntKernels/Add/Regular

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,13 +38,13 @@ jobs:
3838
tests-config: |
3939
[
4040
{"name":"IntKernels/Add/Large","L1":[5000,10000]},
41-
{"name":"IntKernels/iSoftmaxLarge","L1":[5000,10000]},
41+
{"name":"IntKernels/Activations/Softmax/Large","L1":[5000,10000]},
42+
43+
{"name":"FP32Kernels/Activations/Softmax/Regular","L1":[2000,5000,10000]},
4244
4345
{"name":"FP32Kernels/GEMM/regular","L1":[2000,5000,10000]},
4446
{"name":"FP32Kernels/GEMM/transB","L1":[2000,5000,10000]}
4547
46-
{"name":"FP32Kernels/Softmax/Regular","L1":[2000,5000,10000]},
47-
4848
{"name":"Others/iNoNorm","L1":[5000,10000]},
4949
{"name":"Others/RQAdd","L1":[5000,10000]},
5050
{"name":"Others/RQGEMM","L1":[2000,5000]},

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,14 +36,14 @@ jobs:
3636
runner: ${{ needs.select-env.outputs.runner }}
3737
docker-image: ${{ needs.select-env.outputs.image }}
3838
test-names: |
39-
FP32Kernels/Softmax/Regular
39+
FP32Kernels/Activations/Softmax/Regular
4040
4141
IntKernels/Add/Large
4242
IntKernels/Add/Regular
4343
44-
IntKernels/Activations/iSoftmax
45-
46-
IntKernels/iSoftmaxLarge
44+
IntKernels/Activations/Softmax/Large
45+
IntKernels/Activations/Softmax/Regular
46+
4747
IntKernels/MatMul/regular
4848
4949
Others/iNoNorm

DeeployTest/Tests/FP32Kernels/Softmax/CrossEntropy/inputs.npz renamed to DeeployTest/Tests/FP32Kernels/Activations/Softmax/CrossEntropy/inputs.npz

File renamed without changes.

DeeployTest/Tests/FP32Kernels/Softmax/CrossEntropy/network.onnx renamed to DeeployTest/Tests/FP32Kernels/Activations/Softmax/CrossEntropy/network.onnx

File renamed without changes.

DeeployTest/Tests/FP32Kernels/Softmax/CrossEntropy/outputs.npz renamed to DeeployTest/Tests/FP32Kernels/Activations/Softmax/CrossEntropy/outputs.npz

File renamed without changes.

DeeployTest/Tests/FP32Kernels/Softmax/CrossEntropyGrad/inputs.npz renamed to DeeployTest/Tests/FP32Kernels/Activations/Softmax/CrossEntropyGrad/inputs.npz

File renamed without changes.

DeeployTest/Tests/FP32Kernels/Softmax/CrossEntropyGrad/network.onnx renamed to DeeployTest/Tests/FP32Kernels/Activations/Softmax/CrossEntropyGrad/network.onnx

File renamed without changes.

0 commit comments

Comments
 (0)