Skip to content

Commit

Permalink
Update test_gpt2_fp32.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
mspronesti authored Aug 4, 2024
1 parent 9170c8b commit 56cc536
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test_gpt2_fp32.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#define TESTING
#include "train_gpt2_fp32.cpp"

// poor man's tensor checker
// poor man's tensor checkerr
int check_tensor(float *a, float *b, int n, const char* label) {
int print_upto = 5;
bool ok = true;
Expand Down Expand Up @@ -186,4 +186,4 @@ int main(int argc, char *argv[]) {
gpt2_free(&model, q);

return 0;
}
}

0 comments on commit 56cc536

Please sign in to comment.