Hasan Genc

Results 108 comments of Hasan Genc

There's not a great method right now for applying a scalar offset. One way would be to replicate the scalar "offset" value into a vector, and then feed that vector...

I suspect you may not be on Gemmini's correct commit. The line which failed in the error message is supposed to look like this: https://github.com/ucb-bar/gemmini/blob/master/src/main/scala/gemmini/PixelRepeater.scala#L87 whereas in your error message,...

Sounds great; thank you!

We basically just do im2col on Gemmini by default now. Everything that the old im2col unit was doing has been subsumed by the [LoopConv](https://github.com/ucb-bar/gemmini/blob/master/src/main/scala/gemmini/LoopConv.scala#L1157) and [PixelRepeater](https://github.com/ucb-bar/gemmini/blob/master/src/main/scala/gemmini/PixelRepeater.scala#L28) modules. If you want...

After looking into this further, I believe we ran this pre-processing transform on images from ImageNet: ``` transform = transforms.Compose([ transforms.Resize(256), transforms.CenterCrop(224), transforms.ToTensor(), transforms.Normalize(mean=[0.485, 0.456, 0.406], std=[0.229, 0.224, 0.225]), ])...

Yup, the weights and activations are quantized to 8-bit signed integers

I'm not sure why this bug is happening (maybe you just need to use the most recent Firesim version?), but I ran into it too. My workaround was to find...

This is great, thank you! Do you think you could update [`gemmini_config_ld`](https://github.com/ucb-bar/gemmini-rocc-tests/blob/dev/include/gemmini.h#L272) and [`gemmini_loop_ws`](https://github.com/ucb-bar/gemmini-rocc-tests/blob/dev/include/gemmini.h#L343) in `gemmini.h` to reflect the new `padding_value` parameter? Also, could you update [`ConfigMvinRs1`](https://github.com/ucb-bar/gemmini/blob/master/src/main/scala/gemmini/GemminiISA.scala#L97) to also reflect...

You might want to look into adding a `+permissive +dump-start=X +permissive-off` option to [this line](https://github.com/ucb-bar/gemmini/blob/master/scripts/run-verilator.sh#L91). That will delay generating the VCD file until a `X` number of cycles of passed....

The `im2col` module was basically replaced by the `LoopConv.scala` module, which is used by default by `tiled_conv_auto`. It should be used by default by [`resnet50.c` and `mobilenet.c`](https://github.com/ucb-bar/gemmini-rocc-tests/tree/dev/imagenet), if you want...