Repository navigation
Conversation
marchioa
added a commit
to FondazioneChipsIT/Deeploy
that referenced
this pull request
Dec 4, 2026
and convert one-element arrays explicitly and keep generated code identical
marchioa
added a commit
to FondazioneChipsIT/Deeploy
that referenced
this pull request
Dec 4, 2026
marchioa
force-pushed
the
am/plugin-interface
branch
from
December 4, 2026 11:08
29ead00 to
1acbe6f
Compare
- ConvTransposeLayer.computeShapes: in_shapes / out_shapes. - TilingVariableReplacement.apply: the snippet's representation becomes snippet_op_repr, which would otherwise collide with operatorRepresentation -> op_repr
- map: CSV of the derived module/package names, for review - apply: rename imports, paths and files; add the Deeploy.py alias
…ename/module_rename.py) Old import paths keep working through Deeploy.py for one release.
testEngineAwareOptimizerWrapper.py and testComponentGraph.py import modules that never existed in the public repository. No test or CI job runs them. test_utils/graph_coloring.py was used only by these two.
marchioa
force-pushed
the
am/plugin-interface
branch
from
December 4, 2026 14:11
1acbe6f to
4b2c8cf
Compare
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Platforms register themselves through Python entry points, so core and the test harness no longer name them. Cortex-M (
QEMU-ARM) is the pilot. After this PR, core, the harness and the CMake files do not mention it, and everything Cortex-M lives indeeploy/targets/cortexm/.Follow-up, in a separate PR: Extract
deeploy/targets/cortexm/into its owndeeploy-cortexmdistribution, and remove the last Cortex-M names from the CLI runners anddeeployStateEqualityTest.pyAfter pulling, existing clones need
git submodule sync && git submodule update --init(CMSIS-NN moved). The oldTargetLibraries/CMSIS/third_party/CMSIS-NNcheckout can be deleted.Added
deeploy/plugins.py:PlatformPluginand discovery through thedeeploy.platformsentry-point group (API version 1). Only the selected platform is imported.deeploy/targets/cortexm/plugin.py: Cortex-M registers itself asQEMU-ARM.deeploy/targets/cortexm/tests.py: the Cortex-M test list, registered under a separatedeeploy.platform_testsgroup so test data stays out of the plugin API.DeeployTest/test_utils/platform_tests.pyloads it;test_platforms.pygenerates the tests andconftest.pyregisters the markers.deeploy/targets/cortexm/cmake/platform.cmake: the Cortex-M build, included by the top-levelCMakeLists.txtfrom the plugin'scmake_dir.deeploy.targets.cortexmmay importdeeploy.targets.cortexm. The scripts directly inDeeployTest/are not packages and are not checked yet.DeeployTest/test_plugins.py: unit tests for plugin discovery.Changed
platform_mapping.pyandgenerateNetwork.pyget the platform, deployer and defaults from the plugin.emulate_cmsis_requantreplaces theisinstance(CMSISPlatform)check forEmulateCMSISRequantPass.testMemoryLevelExtension.pybuilds its mock deployer from any plugin, with no per-platform branch.cmake_diras-DDEEPLOY_PLATFORM_CMAKE_DIR. Configuring CMake by hand forQEMU-ARMnow also needs-DDEEPLOY_PLATFORM_CMAKE_DIR=deeploy/targets/cortexm/cmake.deeploy/targets/cortexm/(pure moves):cmake/cmsis→cmake/,TargetLibraries/CMSIS→lib/,DeeployTest/Platforms/QEMU_ARM→test_app/, CMSIS-NN →third_party/CMSIS-NN.packages.findexcludesthird_party, so CMSIS-NN's scripts stay out of the wheel.Fixed
\%escapes in the Cortex-M CLCA template: aSyntaxWarningsince Python 3.12, and an error under pytest'sfilterwarnings. The strings are the same, so the generated code is unchanged.Removed
test_cortexm_config.py: the tests come from the manifest.testEngineAwareOptimizerWrapper.py,testComponentGraph.pyandtest_utils/graph_coloring.py: they imported modules that never existed in the public repository, and no test ran them.Apollo3andApollo4platform names.PR Merge Checklist
develcommit and pointing todevel.CHANGELOG.mdfile has been updated.