diff --git a/run.c b/run.c index e1a4ec24..2fcd687a 100644 --- a/run.c +++ b/run.c @@ -944,7 +944,7 @@ int main(int argc, char *argv[]) { // build the Transformer via the model .bin file Transformer transformer; build_transformer(&transformer, checkpoint_path); - if (steps == 0 || steps > transformer.config.seq_len) steps = transformer.config.seq_len; // ovrerride to ~max length + if (steps == 0 || steps > transformer.config.seq_len) steps = transformer.config.seq_len; // override to ~max length // build the Tokenizer via the tokenizer .bin file Tokenizer tokenizer; diff --git a/runq.c b/runq.c index 8c95a912..b39e26b4 100644 --- a/runq.c +++ b/runq.c @@ -1063,7 +1063,7 @@ int main(int argc, char *argv[]) { // build the Transformer via the model .bin file Transformer transformer; build_transformer(&transformer, checkpoint_path); - if (steps == 0 || steps > transformer.config.seq_len) steps = transformer.config.seq_len; // ovrerride to ~max length + if (steps == 0 || steps > transformer.config.seq_len) steps = transformer.config.seq_len; // override to ~max length // build the Tokenizer via the tokenizer .bin file Tokenizer tokenizer; diff --git a/win.c b/win.c index 5cd7f1cb..bb404191 100644 --- a/win.c +++ b/win.c @@ -81,7 +81,7 @@ void* mmap(void *addr, size_t len, int prot, int flags, int fildes, ssize_t off) if (len == 0 /* Unsupported flag combinations */ || (flags & MAP_FIXED) != 0 - /* Usupported protection combinations */ + /* Unsupported protection combinations */ || prot == PROT_EXEC) { errno = EINVAL;