Skip to content

TinyViT on non-tiled Siracusa#117

Merged
Xeratec merged 48 commits intopulp-platform:develfrom
diaconuccalin:TinyViT_Siracusa
Nov 11, 2025
Merged

TinyViT on non-tiled Siracusa#117
Xeratec merged 48 commits intopulp-platform:develfrom
diaconuccalin:TinyViT_Siracusa

Conversation

@diaconuccalin
Copy link
Copy Markdown
Contributor

@diaconuccalin diaconuccalin commented Sep 24, 2025

This PR brings the changes required for a working minimal TinyViT on the Siracusa platform, without tiling.

Added

  • PULP 2D FP DW conv Im2Col template and kernel, with bias support.
  • Bias support for PULP 2D FP regular conv Im2Col in template & kernel.
  • PULP FP DW conv 2D parser.
  • FP conv 2D (simple & DW), reshape & skip connection, and TinyViT demo tests to the non-tiled Siracusa CI pipeline.
  • FP bindings and mappings for PULP slice, DW conv 2D, and reduce mean operations.
  • FP PULP DW conv lowering optimization pass similar to the existent one for integer version.
  • RemoveEmptyConvBiasPass to the PULP optimizer.
  • PULPClusterEngine now accepts a n_cores parameter to set the number of cores used
  • annotateNCores method to PULPDeployer that adds an n_cores key to all PULPClusterEngine templates' operatorRepresentations

Changed

  • Reduced size of reshape & skip connection test, for non-tiled Siracusa memory compatibility.
  • changed _mapNode to _selectEngine which reduces the responsibility of that function to, as the name states, just engine selection

Fixed

  • Fixed bug for non-batched elements in the PULPOpen FP GEMM and matmul templates.
  • Added underscore to the beginning of closure names to avoid naming issues when they start with unsupported first characters (like numbers).
  • Data types in the PULPOpen FP add and mul templates.

PR Merge Checklist

  1. The PR is rebased on the latest devel commit and pointing to devel.
  2. Your PR reviewed and approved.
  3. All checks are passing.
  4. The CHANGELOG.md file has been updated.
  5. If the docker was modified, change back its link after review.

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Bug Something isn't working Feature Addition of new features

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants