Add -funsafe-math-optimizations flag.
This commit is contained in:
@@ -22,7 +22,7 @@ wget https://karpathy.ai/llama2c/model.bin -P out
|
||||
(if that doesn't work try [google drive](https://drive.google.com/file/d/1aTimLdx3JktDXxcHySNrZJOOk8Vb1qBR/view?usp=share_link)). Compile and run the C code:
|
||||
|
||||
```bash
|
||||
gcc -O3 -o run run.c -lm
|
||||
gcc -O3 -funsafe-math-optimizations -o run run.c -lm
|
||||
./run out/model.bin
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user