even better more structured throughput scheduling
Validate Operations / validate-operations (push) Has been cancelled
Validate Operations / validate-operations (push) Has been cancelled
plot adjustments validation adjustments
This commit is contained in:
@@ -9,18 +9,35 @@ behavior defines the hardware model used for Raptor/PIMCOMP comparisons.
|
||||
- Changes to pimsim-nn must preserve simulation behavior exactly. Acceptable
|
||||
changes are limited to behavior-neutral maintenance proven not to alter
|
||||
simulated timing, scheduling, power, energy, or supported input programs.
|
||||
- Unsupported pimsim-nn operations must remain unsupported; do not approximate
|
||||
their timing or map them onto another operation.
|
||||
- Other unsupported or unknown pimsim-nn operations remain unsupported. Do not
|
||||
approximate their timing or map them onto another operation.
|
||||
- Validation must report an explicit unsupported-op diagnostic as
|
||||
`UNSUPPORTED`, not as a simulator failure.
|
||||
- A compiled artifact with zero active PIM cores has no meaningful
|
||||
non-functional simulation and must be reported as `SKIP`.
|
||||
- Adapt compiler inputs to the oracle instead. For YOLO, use
|
||||
`validation/networks/pimcomp_models/yolo11n/yolo11n-pimsim-nn.onnx`, the
|
||||
dedicated pimsim-ready performance artifact with Softmax operations removed.
|
||||
Use `validation/networks/yolo11n/depth_51/yolo11n_depth_51.onnx` for YOLO
|
||||
functional validation; removing Softmax changes the model's numerical
|
||||
behavior, so the pimsim-ready artifact is not a correctness reference.
|
||||
|
||||
## Explicit `vsoftmax` exception
|
||||
|
||||
`vsoftmax` has no Pimsim-nn hardware timing model. This one explicitly
|
||||
authorized exception does not permit other simulator approximations.
|
||||
|
||||
- Pimsim-nn omits `vsoftmax` while loading JSON or binary instructions, before
|
||||
fetch. Omitted instructions consume no fetch, issue, execution, memory, or
|
||||
dynamic-energy service.
|
||||
- Pimsim-nn warns once per process that Softmax timing and energy are excluded.
|
||||
- Functional simulation executes Softmax normally.
|
||||
- Raptor's queue estimator applies the same zero-cost omission. All surrounding
|
||||
instructions, materialization, transfers, and synchronization remain modeled.
|
||||
- `state.instructions` intentionally counts `vsoftmax`: it is a real encoded
|
||||
PIM instruction, although Pimsim-nn does not simulate it.
|
||||
- No additional Pimsim-nn behavior changes are authorized.
|
||||
|
||||
Current comparisons use the full YOLO11n model, including both Softmax
|
||||
operations, at `validation/networks/yolo11n/depth_51/yolo11n_depth_51.onnx`.
|
||||
GoogLeNet uses
|
||||
`validation/networks/pimcomp_models/googlenet/googlenet-12-no-lrn.onnx`,
|
||||
with only its two unsupported LRN nodes bypassed. Terminal Softmax is retained.
|
||||
Historical Softmax-free artifacts are not matched baselines for these graphs.
|
||||
|
||||
Any proposed pimsim-nn behavior change requires explicit user authorization and
|
||||
must not be introduced as part of a compiler optimization.
|
||||
|
||||
Reference in New Issue
Block a user