Compiler Engineer, Model to Circuit编译器工程师(从模型到电路)
Shanghai · Hong Kong · San Jose上海 · 香港 · 圣何塞
Apply by email邮件申请A model is mostly numbers it learned in training. On most chips those numbers are read from memory again and again. On ours they are built straight into the circuit. A zero needs no multiplier at all; multiplying by 0.5 is just a shift. Small choices like these, made for every number in the model, decide how big the chip is. You’ll write the compiler that makes them.模型主要由训练出来的一大堆数组成。在大多数芯片上,这些数要一遍遍从存储器里读出来;在我们的芯片上,它们直接做进电路。遇到 0,连乘法器都不用;乘以 0.5,挪一位就够了。这样的小决定,落到模型里的每一个数上,就决定了芯片有多大。你要写的,就是做这些决定的编译器。
What you’ll do你会做什么
- Build the passes that take a frozen layer and its numeric formats and produce a datapath: constant folding, sharing sub-expressions across weights, and choosing how each product is formed.编写编译流程:输入一层冻结的权重和它的数值格式,输出数据通路。包括常数折叠、在权重之间共享公共子表达式,以及决定每个乘积怎样实现。
- Generate synthesizable SystemVerilog that the RTL team can read, with a record of where every weight ended up.生成 RTL 团队读得懂、可综合的 SystemVerilog,并记下每个权重最终落在电路的哪个位置。
- Prove the generated circuit matches the bit-accurate reference, with equivalence checking or exhaustive tests on each block.用等价性检查或逐模块的穷举测试,证明生成的电路和位精确参考实现一致。
- Report area and timing per layer after synthesis, so model and silicon engineers can see what each choice costs.综合之后按层报告面积和时序,让模型和芯片工程师都看得到每个选择的代价。
Who we’re looking for我们想找的人
- You’ve written a compiler, high-level synthesis tool or hardware generator that other people relied on, in C++, Python, Scala or Rust.写过别人依赖的编译器、高层次综合工具或硬件生成器,语言可以是 C++、Python、Scala 或 Rust。
- You know digital logic well enough to guess, before synthesis, roughly what a piece of generated RTL will cost.数字电路基础扎实,综合之前就能大致估出一段生成的 RTL 要花多少面积。
- You test a compiler the way you’d test a chip: it is wrong until a check says otherwise.像验证芯片一样测试编译器:没通过检查之前,默认它是错的。
Nice to have加分项
- MLIR, CIRCT, Chisel or LLVM, or logic synthesis tools such as Yosys and ABC.用过 MLIR、CIRCT、Chisel、LLVM,或 Yosys、ABC 这类逻辑综合工具。
- Multiplierless arithmetic: shift-and-add, canonical signed digit, distributed arithmetic.了解无乘法器运算:移位相加、CSD 编码、分布式算术。
How to apply怎么申请
Email us with SIL-02 in the subject line. Attach a résumé or a link to your work, and tell us about one thing:发邮件给我们,标题写上 SIL-02,附上简历或作品链接。邮件里请讲一件事:
A compiler or generator you built: one optimization that paid off, and one bug that took you a long time to find.一个你写过的编译器或生成器:一个真正起作用的优化,和一个花了很久才找到的 bug。
careers@littlegravity.aiPay is set by the role, your experience and the city you work in.薪酬按岗位、经验和工作城市确定。
