Skip to content

Commit 14ce3e1

Browse files
authored
Merge branch 'pulp-platform:devel' into fix-gemm-nobias
2 parents 0641fc9 + 41baa7b commit 14ce3e1

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+1220
-1625
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,3 +96,4 @@ jobs:
9696
CCT/CCT_1_16_16_8
9797
CCT/CCT_2_32_32_128_Opset20
9898
testFloatDemoTinyViT
99+
Autoencoder1D

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,5 @@ jobs:
6969
ICCT
7070
ICCT_ITA
7171
ICCT_8
72-
ICCT_ITA_8
7372
miniMobileNet
7473
miniMobileNetv2

CHANGELOG.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@ This file contains the changelog for the Deeploy project. The changelog is divid
44
## Unreleased (Planned Release Target: v0.2.1)
55

66
### List of Pull Requests
7+
- Disallow shape inference [#128](https://github.com/pulp-platform/Deeploy/pull/128)
8+
- Remove memory-aware node bindings [#123](https://github.com/pulp-platform/Deeploy/pull/123)
9+
- Fix missing const's layout transformation and refactor NCHWtoNHWC passes [#122](https://github.com/pulp-platform/Deeploy/pull/122)
10+
- Fix aliasing [#125](https://github.com/pulp-platform/Deeploy/pull/125)
11+
- Support for 1D Autoencoder [#98](https://github.com/pulp-platform/Deeploy/pull/98)
712
- Refactor Logging for Improved Debugging [#115](https://github.com/pulp-platform/Deeploy/pull/115)
813
- Add reuse-tool as an SPDX license header linter [#113](https://github.com/pulp-platform/Deeploy/pull/113)
914
- Bug fixes, API Cleanup and Reduce Compiler Warning on PULP [#112](https://github.com/pulp-platform/Deeploy/pull/112)
@@ -46,6 +51,8 @@ This file contains the changelog for the Deeploy project. The changelog is divid
4651
- Buffer utilities: `checkNumLevels` validation and `sizeInBytes` method
4752
- Per–memory-level usage tracking and worst-case reporting in `NetworkContext`
4853
- Memory/I/O summaries and input/output logging in deployers
54+
- RequantHelpers.py for Neureka's TileConstraints
55+
- Added assertion that all the graph tensors after lowering have a shape annotated
4956

5057
### Changed
5158
- Replaced platform-specific tags (`*-amd64`, `*-arm64`) with direct digest references in `Noelware/docker-manifest-action`.
@@ -73,6 +80,15 @@ This file contains the changelog for the Deeploy project. The changelog is divid
7380
- Changed types and added correct casts to fix many compiler warnings in the PULP target library
7481
- Use [reuse-tool](https://github.com/fsfe/reuse-tool) in pre-commit, CI, and Makefile for SPDX license header linting
7582
- Deployer workflow now uses `prepare(...)` instead of `generateFunction(...)`.
83+
- Removed `fromVariableBuffer`
84+
- Refactored `hoistConstant`
85+
- Refactored TransientBuffer's `__init__`
86+
- Refactor of the NCHWtoNHWC passes
87+
- Removed NodeMemoryLevelChecker, MemoryAwareNodeBinding
88+
- Removed _parseNode from MemoryNetworkDeployer since we don't need the annotations before typeChecking anymore
89+
- Removed Wmem variants of bindings and tile constraints from Neureka
90+
- Disabled ICCT_ITA_8 MemPool test because it was using a lowering that created shapeless tensors
91+
- Added missing shape annotation to the testTypeInferenceDifferentTypes
7692

7793
### Fixed
7894
- Prevent node duplication for graphs generated via GraphSurgeon
@@ -83,6 +99,9 @@ This file contains the changelog for the Deeploy project. The changelog is divid
8399
- Corrected method usage in `importDeeployState` to call `NetworkContext.importNetworkContext` instead of the incorrect method name
84100
- Correctly return `signProp` from `setupDeployer` instead of hardcoding the value to `False` in `testMVP.py`
85101
- Fixed `Unsqueeze` Op. when using ONNX opset 13 or higher (from attribute to input)
102+
- Fixed aliasing
103+
- Missing layout transformation of the const's (bias, mul, add, shift in Conv/RequantizedConv)
104+
- Keep mul/add rank of requantized Neureka tile constraints
86105

87106
### Removed
88107
- Delete outdated and unused `.gitlab-ci.yml` file
@@ -158,6 +177,13 @@ This release containing major architectural changes, new platform support, enhan
158177

159178

160179
### Added
180+
- BatchNorm kernel
181+
- ConvTranspose kernel
182+
- MaxPool1D kernel
183+
- Template for 1D Convolution
184+
- Support for float32 data type in the previous kernels
185+
- Float binding for Pad1D kernel
186+
- Test for Autoencoder1D in the CI pipeline
161187
- ChimeraDeployer, currently mainly a placeholder
162188
- Allocate templates for Chimera
163189
- ChimeraPlatform, using appropriate allocation templates and using the generic Parser + Binding for the Add node
@@ -291,6 +317,8 @@ This release containing major architectural changes, new platform support, enhan
291317
- `dev-requirements.txt` tracking the dependencies of the build system, linting, documentation, and QOL.
292318

293319
### Changed
320+
- FloatConvTemplate file
321+
- Platform.py file
294322
- Bump the CMake version to 3.24 as required for the chimera-sdk
295323
- Bump GVSoC's version and add chimera simulation target
296324
- Rename the generic source util to utils to avoid name collision with chimera-sdk

Deeploy/CommonExtensions/CodeTransformationPasses/MemoryAllocation.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ def apply(self,
141141
assert buffer._live == True, f"Tried to deallocate already dead buffer {buffer.name}"
142142
buffer._live = False
143143
# Don't deallocate if it's an alias of a live buffer
144-
if not buffer.has_live_ancestors(ctxt = ctxt):
144+
if not buffer.has_live_aliases(ctxt):
145145
memoryLevel = "None" if not hasattr(buffer, "_memoryLevel") else buffer._memoryLevel
146146
if memoryLevel not in ctxt._dynamicSize:
147147
ctxt._dynamicSize[memoryLevel] = 0

Deeploy/CommonExtensions/NetworkDeployers/NetworkDeployerWrapper.py

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
#
33
# SPDX-License-Identifier: Apache-2.0
44

5-
from typing import Any, Tuple, Union
5+
from typing import Any, Union
66

77
import onnx_graphsurgeon as gs
88

@@ -63,11 +63,6 @@ def lower(self, graph: gs.Graph) -> gs.Graph:
6363
def codeTransform(self, verbose: CodeGenVerbosity = _NoVerbosity):
6464
return self._innerObject.codeTransform(verbose)
6565

66-
# MemoryAwareDeployer augment
67-
def _parseNode(self, node: ONNXLayer, ctxt: NetworkContext,
68-
default_channels_first: bool) -> Tuple[NetworkContext, bool]:
69-
return self._innerObject._parseNode(node, ctxt, default_channels_first)
70-
7166
# PULPDeployer augment
7267
def generateBufferAllocationCode(self) -> str:
7368
return self._innerObject.generateBufferAllocationCode()

0 commit comments

Comments
 (0)