Skip to content

Commit 107b893

Browse files
committed
Quickfix
1 parent c815faa commit 107b893

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

Deeploy/Targets/PULPOpen/Platform.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@
2626
TransposeParser, UniformRequantShiftParser, UnsqueezeParser, iHardswishParser, iRMSNormParser, iSoftmaxParser
2727
from Deeploy.Targets.Generic.Templates import AllocateTemplate as BasicAllocateTemplate
2828
from Deeploy.Targets.Generic.TopologyOptimizationPasses.Passes import DequantPatternPass, IntegerDivRequantMergePass, \
29-
MatMulAddMergePass, MergeConstAddAndRequantPass, MergeTrueIntegerDivRequantShiftPass, QuantPatternPass, \
30-
RQSSplitPass, SkipEmptyConcatPass, SkipUnityRequantPass, iGELURequantMergePass, iHardswishRequantMergePass
29+
MergeConstAddAndRequantPass, MergeTrueIntegerDivRequantShiftPass, QuantPatternPass, RQSSplitPass, \
30+
SkipEmptyConcatPass, SkipUnityRequantPass, iGELURequantMergePass, iHardswishRequantMergePass
3131
from Deeploy.Targets.PULPOpen.Bindings import BasicDequantBindings, BasicQuantBindings, PULPConv1DBinding, \
3232
PULPDMASliceBindings, PULPDWConv1DBinding
3333
from Deeploy.Targets.PULPOpen.Layers import PULPRQSConvLayer, PULPRQSGEMMLayer
@@ -233,7 +233,6 @@ class PULPStructBuffer(StructBuffer):
233233
PULPGEMMRequantMergePass(),
234234
PULPMatMulRequantMergePass(),
235235
PULPAddRequantMergePass(),
236-
MatMulAddMergePass(),
237236
RemoveEmptyConvBiasPass(),
238237
],
239238
name = "PULPOptimizer")

Deeploy/Targets/PULPOpen/TileConstraints/DWConvTileConstraint.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -260,8 +260,8 @@ def addGeometricalConstraint(tilerModel: TilerModel, parseDict: Dict, ctxt: Netw
260260
strides = parseDict['strides']
261261
dilations = parseDict['dilations']
262262
group = parseDict['group']
263+
n_cores = parseDict['n_cores']
263264

264-
n_cores = ctxt.n_cores
265265
im2col_buffer_size = ctxt.lookup(im2colBufferName).size
266266
weight_type_width = ctxt.lookup(weightBufferName)._type.typeWidth // 8
267267

0 commit comments

Comments
 (0)