chrisuser commited on
Commit
8dd4f31
路
verified 路
1 Parent(s): 67e1d01

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +20 -1
README.md CHANGED
@@ -14,11 +14,30 @@ model-index:
14
  results: []
15
  ---
16
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
17
  # neuro-compiler 路 0.1.0-experimental
18
 
19
  Neuro-Compiler is an experimental, non-autoregressive neural compiler that
20
  translates a restricted subset of C++ directly into x86-64 machine code through
21
- a series of specialized neural networks. Rather than generating assembly text,
 
 
 
 
22
  it learns successive compilation transformations through syntax trees,
23
  intermediate representations, instruction selection, register allocation and
24
  binary encoding.
 
14
  results: []
15
  ---
16
 
17
+ # HUMAN
18
+
19
+ An experimental neural network that turns C++ code into binary code.
20
+
21
+ Take Qwen 0.5b, tear off everything after layer 6 and then
22
+ attach a custom-built compilation network. The network is
23
+ trained by first generating thousands of C++ samples and
24
+ then having LLVM produce both the output and all the intermediate
25
+ compiler artifacts (the AST trees, the first-pass IR, the optimized
26
+ IR, the register allocations, and finally the machine code). We
27
+ take each of those artifacts and use it to train an individual
28
+ slice of the custom network, then when we're done we slap it
29
+ all back together to have an end-to-end C++ compiler on the
30
+ GPU.
31
+
32
  # neuro-compiler 路 0.1.0-experimental
33
 
34
  Neuro-Compiler is an experimental, non-autoregressive neural compiler that
35
  translates a restricted subset of C++ directly into x86-64 machine code through
36
+ a series of specialized neural networks.
37
+
38
+ The core idea is use LLVM to generate the phases
39
+
40
+ Rather than generating assembly text,
41
  it learns successive compilation transformations through syntax trees,
42
  intermediate representations, instruction selection, register allocation and
43
  binary encoding.