To create a docker, run bin/run-docker.sh
from third_party/budabackend
. Then, enter it use docker exec -u $USER -it special-$USER bash
.
Grayskull, Wormhole and Blackhole machines require slightly different setups, so there are setup scripts for each. To build everything run the appropriate script:
source env_for_silicon.sh
(Grayskull)
or
source env_for_wormhole_b0.sh
(Wormhole B0)
or
source env_for_blackhole.sh
(Blackhole)
Now, you should be able to run pybuda pytests and python scripts.
For example, try:
pytest -svv pybuda/test/backend/test_silicon.py::test_basic_training[Grayskull-acc1-mbc1-microbatch1-s1]