An Chisel implementation of a PyTorch-Like Interface for Accelerator Generation
- Follow instructions (https://sdkman.io) on how to install SDKMan.
sdk
should be in your path after installation.
- Install JDK and SBT
To verify JDK and sbt is properly installed:
sdk install java 22.3.r11-grl sdk install sbt
java -version sdk version
- Install Berkeley Hardfloat from Apex's Berkeley Hardfloat Branch
Note: during installing berkely-hardfow, a non-critical warning
git clone git@github.com:Entropy-xcy/berkeley-hardfloat.git cd berkeley-hardfloat sbt publishLocal
-Xsource is outdated
might appear. Change-Xsource: 2.11
to-Xsource: 2.13
inbuild.sbt
can get rid of the warning.
- Clone and Run ChiselTorch
git clone git@github.com:Entropy-xcy/chisel-torch.git cd chisel-torch sbt "runMain chiseltorch.nn.module.SequentialBuild"
After that, Sequential.fir
and Sequential.v
should be available in the current working directory.