Skip to content

Commit

Permalink
[tt-train] Adjust tests due to positional embedding changes (#15793)
Browse files Browse the repository at this point in the history
### Problem description
Tests for tt-train is currently broken.

### What's changed
Adjust test value due to changes in previous PR. 

### Checklist
- [x] Post commit CI passes
- [x] New/Existing tests provide coverage for changes
  • Loading branch information
rfurko-tt authored Dec 6, 2024
1 parent ebfc247 commit 5ba94f0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tt-train/tests/model/nano_gpt_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -168,9 +168,9 @@ void train_test(bool use_moreh_adamw = false) {
// verify program cache
auto program_cache_entries = device->num_program_cache_entries();
if (!use_moreh_adamw) {
EXPECT_EQ(program_cache_entries, 124);
EXPECT_EQ(program_cache_entries, 123);
} else {
EXPECT_EQ(program_cache_entries, 103);
EXPECT_EQ(program_cache_entries, 102);
}

// verify time per step
Expand Down

0 comments on commit 5ba94f0

Please sign in to comment.