-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changing how we setup simulator. #449
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice!
Has the code which is modified in this PR passed through a CI? If not, please comment briefly in the PR description on how did you manually test this (just a list of commands for reproducibility if it's that easy).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm thank you!
Previously, `tt_SimulationDevice` needed to be setup with two arguments: 1. Constructor argument with soc descriptor path. 2. Environment variable that points to simulator run script. Change in `tt_SimulationDevice` now requires only one argument, path to directory that contains all necessary files for simulator to run. That directory contains `soc_descriptor.yaml`, `run.sh` script and simulator application. This PR also removes need for two environment variables (`TT_METAL_SIMULATOR_EN` and `TT_REMOTE_EXE`) and replaces them with single `TT_METAL_SIMULATOR` variable that contains path to simulator build directory. In the future, when tt-metal is built only once for all architectures, this would mean that one would setup `TT_METAL_SIMULATOR` environment variable that point to simulator directory and would run it against architecture that is compiled in that directory. Related PRs: - [UMD simulators](https://yyz-gitlab.local.tenstorrent.com/tenstorrent/tt-metal/-/merge_requests/15) - [UMD](tenstorrent/tt-umd#449)
Previously,
tt_SimulationDevice
needed to be setup with two arguments:Change in
tt_SimulationDevice
now requires only one argument, path to directory that contains all necessary files for simulator to run. That directory containssoc_descriptor.yaml
,run.sh
script and simulator application.Related PRs:
Manual testing:
Checkout tt-metal repository branch
vjovanovic/umd_simulators
and built it.Checkout UMD simulators repository branch
vjovanovic/umd_simulators
) and follow either VCS or versim readme.