Merge branch 'TestRottoConDeadLock' of chef.heaplab.deib.polimi.it:nnicolosi/Raptor into TestRottoConDeadLock
Validate Operations / validate-operations (push) Has been cancelled

This commit is contained in:
ilgeco
2026-07-30 18:44:18 +02:00
114 changed files with 26 additions and 18 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
# Match the minimum required version of onnx-mlir # Match the minimum required version of onnx-mlir
cmake_minimum_required(VERSION 3.20.0) cmake_minimum_required(VERSION 3.20.0)
project(raptor) project(Raptor)
# Materialize a CMake shim directory # Materialize a CMake shim directory
function(raptor_write_external_cmake_shim shim_dir external_source_dir description) function(raptor_write_external_cmake_shim shim_dir external_source_dir description)
@@ -1 +0,0 @@
../../resnet/depth_68/resnetv2_depth_68.onnx
@@ -0,0 +1 @@
../../resnet18/depth_68/resnet18_depth_68.onnx
+12 -12
View File
@@ -9,12 +9,12 @@ and energy results.
## Models and provenance ## Models and provenance
| Directory | Model | Input | Provenance | | Directory | Model | Input | Provenance |
| --- | --- | --- | --- | |--------------|----------------------|---------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `resnet18/` | ResNet-18 v1 | `1x3x224x224` | Symlink to the complete ONNX Model Zoo model already present at `../resnetv2/depth_68/resnetv2_depth_68.onnx`. | | `resnet18/` | ResNet-18 v1 | `1x3x224x224` | Symlink to the complete [ONNX Model Zoo `resnet18-v1-7`](https://huggingface.co/onnxmodelzoo/resnet18-v1-7) model already present at `../resnet18/depth_68/resnet18_depth_68.onnx`. |
| `resnet34/` | ResNet-34 v1 | `1x3x224x224` | [ONNX Model Zoo `resnet34-v1-7`](https://huggingface.co/onnxmodelzoo/resnet34-v1-7), with its symbolic batch fixed to 1 as PIMCOMP's frontend does. | | `resnet34/` | ResNet-34 v1 | `1x3x224x224` | [ONNX Model Zoo `resnet34-v1-7`](https://huggingface.co/onnxmodelzoo/resnet34-v1-7), with its symbolic batch fixed to 1 as PIMCOMP's frontend does. |
| `googlenet/` | GoogLeNet | `1x3x224x224` | Unmodified [ONNX Model Zoo `googlenet-12`](https://huggingface.co/onnxmodelzoo/googlenet-12). | | `googlenet/` | GoogLeNet | `1x3x224x224` | Unmodified [ONNX Model Zoo `googlenet-12`](https://huggingface.co/onnxmodelzoo/googlenet-12). |
| `vgg8/` | VGG-8 reconstruction | `1x1x28x28` | Deterministic compiler workload with six convolution and two fully connected layers. | | `vgg8/` | VGG-8 reconstruction | `1x1x28x28` | Reconstruction of the [PIMCOMP VGG-8 benchmark](https://arxiv.org/html/2411.09159#S8.SS1), with six convolution and two fully connected layers. |
`googlenet/googlenet-12-latency.onnx` is the explicit common latency model. `googlenet/googlenet-12-latency.onnx` is the explicit common latency model.
It exposes the original model's final FC logits (`loss3/classifier_1`) and It exposes the original model's final FC logits (`loss3/classifier_1`) and
@@ -52,11 +52,11 @@ Each profile subdirectory contains pre-generated latency and throughput
`pimsim-nn` configs plus its matching mesh; comparison and validation select `pimsim-nn` configs plus its matching mesh; comparison and validation select
these checked-in artifacts without generating configs at runtime. these checked-in artifacts without generating configs at runtime.
| Config | Cores | Crossbars/core | Crossbar | Cell | PIMCOMP layout | | Config | Cores | Crossbars/core | Crossbar | Cell | PIMCOMP layout |
| --- | ---: | ---: | --- | ---: | --- | |------------------------------|------------------:|---------------:|------------|------:|-----------------|
| `arch-a/latency_config.json` | 168 | 96 | `128x128` | 2-bit | `12x14` | | `arch-a/latency_config.json` | 168 | 96 | `128x128` | 2-bit | `12x14` |
| `arch-b/latency_config.json` | 138 | 128 | `128x128` | 2-bit | `6x23` | | `arch-b/latency_config.json` | 138 | 128 | `128x128` | 2-bit | `6x23` |
| `arch-c/latency_config.json` | 64 (16 chips x 4) | 8 | `512x1024` | 2-bit | flattened `8x8` | | `arch-c/latency_config.json` | 64 (16 chips x 4) | 8 | `512x1024` | 2-bit | flattened `8x8` |
`adc_count` is 16, matching the paper's 16-bit fixed-point weight precision. `adc_count` is 16, matching the paper's 16-bit fixed-point weight precision.
The paper does not give a two-dimensional core topology for Arch-A/B, so the The paper does not give a two-dimensional core topology for Arch-A/B, so the
@@ -244,7 +244,7 @@ longer be a paper-matched comparison.
The local `monolith` SSH alias points to the high-memory host. Copy only this The local `monolith` SSH alias points to the high-memory host. Copy only this
suite and the comparison driver; `-L` materializes the ResNet-18 symlink because suite and the comparison driver; `-L` materializes the ResNet-18 symlink because
the canonical `resnetv2/depth_68` file may not exist remotely: the canonical `resnet18/depth_68/resnet18_depth_68.onnx` file may not exist remotely:
```bash ```bash
REMOTE_REPO=/home/gmagnani/Project/Raptor REMOTE_REPO=/home/gmagnani/Project/Raptor
@@ -1 +1 @@
../../resnet/depth_68/resnetv2_depth_68.onnx ../../resnet18/depth_68/resnet18_depth_68.onnx
Binary file not shown.

Some files were not shown because too many files have changed in this diff Show More