Skip to content
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

TT-Metal VCS Simulator #11101

Merged
merged 1 commit into from
Aug 8, 2024
Merged

TT-Metal VCS Simulator #11101

merged 1 commit into from
Aug 8, 2024

Conversation

vtangTT
Copy link
Contributor

@vtangTT vtangTT commented Aug 5, 2024

Ticket

#11099
UMD PR: tenstorrent/tt-umd#25

Problem description

Connect tt-metal to VCS simulator. Will allow us to start development on future chips (i.e. quasar) without silicon.

What's changed

Instead of building VCS libraries into metal, send the DPI read/write calls over the network using NNG + Flatbuffers to a remote VCS instance (kicked off by libuv in a separate process in tt_SimulationDevice. Remote VCS will then send read responses back, completely isolating metal from anything VCS related.

Metal changes include:

  • bump UMD to get simulator infra
  • new soc and core descriptor yaml files for simulator
  • CPM for NNG, Flatbuffers for networking and libuv for process management (all used at UMD level)
  • completely removed anything related to Versim

Checklist

dockerfile/tt-metal.def Outdated Show resolved Hide resolved
Copy link
Contributor

@abhullar-tt abhullar-tt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Working simulator 🚀

 - bump umd to pick up simulator infra changes
 - soc + core descriptors for VCS simulator
 - CPM package for Google flatbuffer, NNG and libuv
 - apptainer .def for `aus` machines
 - TT_METAL_SIMULATOR_EN env var to target VCS simulator
 - remove everything versim related
@vtangTT vtangTT merged commit dd63ec2 into main Aug 8, 2024
94 checks passed
@vtangTT vtangTT deleted the vtangTT/vcs_simulator branch August 8, 2024 20:45
@vtangTT vtangTT restored the vtangTT/vcs_simulator branch August 8, 2024 20:47
@vtangTT vtangTT deleted the vtangTT/vcs_simulator branch October 12, 2024 20:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants