deeprcurs-staff commited on
Commit
f99c9ae
Β·
verified Β·
1 Parent(s): d5a6b72

Upload iknn.cpp with huggingface_hub

Browse files
Files changed (1) hide show
  1. iknn.cpp +4 -4
iknn.cpp CHANGED
@@ -4,7 +4,7 @@
4
  // Status: PUBLISHABLE β€” EN ONLY β€” Main Runtime OFFICIAL
5
  // Repo: deeprcurs/IKNN-Rl1-A1 β€” org deeprcurs, model IKNN-Rl1-A1
6
  // Format: .iknn native magic IKNN β€” NOT GGUF β€” GGUF artifact DELETED per audit
7
- // Model file: benchmarks/IKNN-Rl1-A1-150M.iknn 42MB 86 tensors magic IKNN arch IKNN-Rl1-A1
8
 
9
  #include <iostream>
10
  #include <vector>
@@ -228,11 +228,11 @@ int main(int argc, char* argv[]) {
228
  std::cout << "Repo: deeprcurs/IKNN-Rl1-A1 β€” Integrated Knowledge-phase Neural Network β€” Recursive Language Iteration 1 β€” Architecture 1" << std::endl;
229
  std::cout << "Format: .iknn native β€” magic IKNN β€” NOT GGUF β€” GGUF DELETED per audit β€” free naming iknn.cpp + .iknn OFFICIAL" << std::endl;
230
  std::cout << "Model: IKNN-Rl1-A1 is LLM β€” 19.5B parametric (17B SatU1 1-bit +1.7B NoeSA 4.58-bit +0.8B Ntarra 3.17-bit) +8B N-Gram β€” 4.12GB RAM" << std::endl;
231
- std::cout << "File: benchmarks/IKNN-Rl1-A1-150M.iknn 42MB 86 tensors magic IKNN arch IKNN-Rl1-A1 β€” OFFICIAL" << std::endl;
232
  std::cout << "Prototype: 150M (10x smaller) 130.5M SatU1 +13.5M NoeSA +6M Ntarra active 34.5M 26MB memory" << std::endl;
233
 
234
  if (argc > 1 && std::string(argv[1]) == "--write-iknn") {
235
- IknnFile iknn("/home/user/benchmarks/IKNN-Rl1-A1-150M.iknn");
236
  iknn.add_tensor("token_embd", TensorType::SATU1, {32000, 768});
237
  for (int layer=0; layer<12; ++layer) {
238
  iknn.add_tensor("blk."+std::to_string(layer)+".attn_q", TensorType::SATU1, {768,768});
@@ -253,7 +253,7 @@ int main(int argc, char* argv[]) {
253
  return 0;
254
  }
255
 
256
- IknnFile iknn_check("/home/user/benchmarks/IKNN-Rl1-A1-150M.iknn");
257
  if (iknn_check.read_header()) {
258
  std::cout << "[iknn.cpp] Found native model " << iknn_check.filename << " magic IKNN OK arch " << iknn_check.header.arch << std::endl;
259
  } else {
 
4
  // Status: PUBLISHABLE β€” EN ONLY β€” Main Runtime OFFICIAL
5
  // Repo: deeprcurs/IKNN-Rl1-A1 β€” org deeprcurs, model IKNN-Rl1-A1
6
  // Format: .iknn native magic IKNN β€” NOT GGUF β€” GGUF artifact DELETED per audit
7
+ // Model file: IKNN-Rl1-A1-150M.iknn 42MB 86 tensors magic IKNN arch IKNN-Rl1-A1
8
 
9
  #include <iostream>
10
  #include <vector>
 
228
  std::cout << "Repo: deeprcurs/IKNN-Rl1-A1 β€” Integrated Knowledge-phase Neural Network β€” Recursive Language Iteration 1 β€” Architecture 1" << std::endl;
229
  std::cout << "Format: .iknn native β€” magic IKNN β€” NOT GGUF β€” GGUF DELETED per audit β€” free naming iknn.cpp + .iknn OFFICIAL" << std::endl;
230
  std::cout << "Model: IKNN-Rl1-A1 is LLM β€” 19.5B parametric (17B SatU1 1-bit +1.7B NoeSA 4.58-bit +0.8B Ntarra 3.17-bit) +8B N-Gram β€” 4.12GB RAM" << std::endl;
231
+ std::cout << "File: IKNN-Rl1-A1-150M.iknn 42MB 86 tensors magic IKNN arch IKNN-Rl1-A1 β€” OFFICIAL" << std::endl;
232
  std::cout << "Prototype: 150M (10x smaller) 130.5M SatU1 +13.5M NoeSA +6M Ntarra active 34.5M 26MB memory" << std::endl;
233
 
234
  if (argc > 1 && std::string(argv[1]) == "--write-iknn") {
235
+ IknnFile iknn("/home/user/IKNN-Rl1-A1-150M.iknn");
236
  iknn.add_tensor("token_embd", TensorType::SATU1, {32000, 768});
237
  for (int layer=0; layer<12; ++layer) {
238
  iknn.add_tensor("blk."+std::to_string(layer)+".attn_q", TensorType::SATU1, {768,768});
 
253
  return 0;
254
  }
255
 
256
+ IknnFile iknn_check("/home/user/IKNN-Rl1-A1-150M.iknn");
257
  if (iknn_check.read_header()) {
258
  std::cout << "[iknn.cpp] Found native model " << iknn_check.filename << " magic IKNN OK arch " << iknn_check.header.arch << std::endl;
259
  } else {