Andrej Karpathy:microgpt 式 Python 可作为规范,PyTorch 并非理想 IR
@ChrisJMcCormick The extrapolation is that your spec is something like microgpt (scalar valued python with for loops etc), everything else is just a matter of c
AI 导读
Andrej Karpathy 表示,规范可以采用类似 microgpt 的标量 Python,以 for 循环等基础结构表达。其余部分可视为编译问题,而 PyTorch 在这一流程中并不是理想的中间表示(IR)。
正文
当前显示原文,中文全文译文尚未就绪。
@ChrisJMcCormick The extrapolation is that your spec is something like microgpt (scalar valued python with for loops etc), everything else is just a matter of compilation and PyTorch etc is kind of a crappy IR