Skip to content

Commit

Permalink
storing system desc
Browse files Browse the repository at this point in the history
  • Loading branch information
sdjukicTT committed Feb 19, 2025
1 parent 0a01029 commit f417828
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/common/module_builder.cc
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,7 @@ void ModuleBuilder::convertFromTTIRToTTNN(
mlir::PassManager ttir_to_ttnn_pm(mlir_module.get()->getName());

mlir::tt::ttnn::TTIRToTTNNBackendPipelineOptions options;
options.systemDescPath = "system_desc.ttsys";
mlir::tt::ttnn::createTTIRToTTNNBackendPipeline(ttir_to_ttnn_pm, options);

// Run the pass manager.
Expand Down
1 change: 1 addition & 0 deletions src/common/pjrt_implementation/client_instance.cc
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,7 @@ void ClientInstance::BindApi(PJRT_Api *api) {
tt_pjrt_status ClientInstance::PopulateDevices() {
DLOG_F(LOG_DEBUG, "ClientInstance::PopulateDevices");
auto [system_desc, chip_ids] = tt::runtime::getCurrentSystemDesc();
system_desc.store("system_desc.ttsys");
int devices_count = chip_ids.size();

devices_.resize(devices_count);
Expand Down

0 comments on commit f417828

Please sign in to comment.