ucb-bar / gemmini-rocc-tests

Fork of seldridge/rocket-rocc-examples with tests for a systolic array based matmul accelerator
Other
52 stars 40 forks source link

Transformer spike error #24

Closed alirezaamir closed 2 years ago

alirezaamir commented 2 years ago

Hi, I tried to run spike on the transformer code, but I got the following error: spike: ../gemmini/gemmini.cc:367: void gemmini_t::config(reg_t, reg_t): Assertion `false' failed.

my gemmini branch is v0.6.4, the shipyard is at 117624d8, and the gemmini-rocc-test is bert-softmax-hasan. I could run spike successfully for other applications such as resnet50 and mobilenet, but I got the error for the transformer.

Thanks in advance for the help.

hngenc commented 2 years ago

The transformer branch isn't "officially" supported yet. But if you want to use it right now, you need to use the gemmini-bert branch of Spike