Skip to content

Commit

Permalink
Hack to enable n300 until #9 is resolved
Browse files Browse the repository at this point in the history
  • Loading branch information
AleksKnezevic committed Sep 23, 2024
1 parent 896c37e commit cf369db
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ jobs:
matrix:
build: [
{runs-on: n150, name: "run"},
# {runs-on: n300, name: "run"}, #TODO: https://github.com/tenstorrent/tt-xla/issues/9
{runs-on: n300, name: "run"},
]

runs-on:
Expand Down
2 changes: 1 addition & 1 deletion src/common/api_impl.cc
Original file line number Diff line number Diff line change
Expand Up @@ -646,7 +646,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();
int device_info_count_ = chip_ids.size();
int device_info_count_ = 1; // TODO: revert to chip_ids.size(); once https://github.com/tenstorrent/tt-xla/issues/9 is fixed

devices_.resize(device_info_count_);
for (size_t i = 0; i < device_info_count_; ++i) {
Expand Down

0 comments on commit cf369db

Please sign in to comment.