NVlabs / timeloop

Timeloop performs modeling, mapping and code-generation for tensor algebra workloads on various accelerator architectures.
https://timeloop.csail.mit.edu/
BSD 3-Clause "New" or "Revised" License
325 stars 101 forks source link

No valid mapping found for a custom architecture. #99

Closed Olivier-Dopeli closed 1 year ago

Olivier-Dopeli commented 3 years ago

Hello,

I tried to describe myself in Timeloop an architecture of an accelerator. For the workload, I use the 5 convolution layers of AlexNet available in the tutorial.

When I run Timeloop with the AlexNet_layer1.yaml workload, the mapper succeeds in giving an energetic efficiency. But for the other 4 layers the mapper displays the following message:

MESSAGE: no valid mappings found within search criteria. Some suggestions:
(1) Observe each mapper thread's termination message. If it terminated due to
    consecutive failed mappings, it will tell you the number of mappings that
    failed because of a spatial fanout violation and the number that failed
    because of a buffer capacity violation.
(2) Check your architecture configuration (especially mapspace constraints).
    Try to find the offending constraints that are likely to have caused the
    above violations, and disable those constraints.
(3) Try other search algorithms, and relax the termination criteria:
    victory-condition, timeout and/or search-size.
(4) Enable mapper's diagnostics (mapper.diagnostics = True) to track and emit
    more information about failed mappings.

Here is my question:

Thanks

poant commented 3 years ago

Hi,

Can you share your arch.yaml and constraints.yaml so that we reproduce the issue here? The diagnostic feature should be orthogonal to Accelergy. Thanks!

angshuman-parashar commented 1 year ago

Stale issue, closing.