Warmcat homepage andy@warmcat.com
libwebsockets
{"schema":"libjg2-1", "vpath":"/git/", "avatar":"/git/avatar/", "alang":"", "gen_ut":1747389101, "reponame":"libclamma", "desc":"Modernized llama2.c inference engine", "owner": { "name": "Andy Green", "email": "andy@warmcat.com", "md5": "c50933ca2aa61e0fe2c43d46bb6b59cb" },"url":"https://warmcat.com/repo/libclamma", "f":3, "items": [ {"schema":"libjg2-1", "cid":"1a00c2a707f338eb7464b185786c2463", "commit": {"type":"commit", "time": 1691277071, "time_ofs": 0, "oid_tree": { "oid": "7219d0b8eefd9a26fcc43aa28707f163209a4858", "alias": []}, "oid":{ "oid": "49e3ff6d08902e9c7149fd78578ad6db4df668be", "alias": []}, "msg": "update makefile to use correct arg call after our argparse update", "sig_commit": { "git_time": { "time": 1691277071, "offset": 0 }, "name": "Andrej Karpathy", "email": "andrej.karpathy@gmail.com", "md5": "d06a9cdc46d537f09ccc4bd6b822dd78" }, "sig_author": { "git_time": { "time": 1691277071, "offset": 0 }, "name": "Andrej Karpathy", "email": "andrej.karpathy@gmail.com", "md5": "d06a9cdc46d537f09ccc4bd6b822dd78" }}, "body": "update makefile to use correct arg call after our argparse update\n" , "diff": "diff --git a/Makefile b/Makefile\nindex ced0d89..8debdc6 100644\n--- a/Makefile\n+++ b/Makefile\n@@ -8,17 +8,17 @@ run: run.c\n \t$(CC) -O3 -o run run.c -lm\n \n # useful for a debug build, can then e.g. analyze with valgrind, example:\n-# $ valgrind --leak-check\u003dfull ./run out/model.bin 1.0 3\n+# $ valgrind --leak-check\u003dfull ./run out/model.bin -n 3\n rundebug: run.c\n \t$(CC) -g -o run run.c -lm\n \n # https://gcc.gnu.org/onlinedocs/gcc/Optimize-Options.html\n # https://simonbyrne.github.io/notes/fastmath/\n-# -Ofast enables all -O3 optimizations. \n+# -Ofast enables all -O3 optimizations.\n # Disregards strict standards compliance.\n-# It also enables optimizations that are not valid for all standard-compliant programs. \n-# It turns on -ffast-math, -fallow-store-data-races and the Fortran-specific \n-# -fstack-arrays, unless -fmax-stack-var-size is specified, and -fno-protect-parens. \n+# It also enables optimizations that are not valid for all standard-compliant programs.\n+# It turns on -ffast-math, -fallow-store-data-races and the Fortran-specific\n+# -fstack-arrays, unless -fmax-stack-var-size is specified, and -fno-protect-parens.\n # It turns off -fsemantic-interposition.\n # In our specific application this is *probably* okay to use\n .PHONY: runfast\n@@ -33,7 +33,7 @@ runomp: run.c\n \t$(CC) -Ofast -fopenmp -march\u003dnative run.c -lm -o run\n \n .PHONY: win64\n-win64: \n+win64:\n \tx86_64-w64-mingw32-gcc -Ofast -D_WIN32 -o run.exe -I. run.c win.c\n \n # compiles with gnu99 standard flags for amazon linux, coreos, etc. compatibility\n","s":{"c":1747389101,"u": 950}} ],"g": 1779,"chitpc": 0,"ehitpc": 0,"indexed":0 , "ab": 0, "si": 0, "db":0, "di":0, "sat":0, "lfc": "0000"}