Jittor: JIT-Compiled Deep Learning | Generated by AI

Home 2026.07

Question: What’s Jittor (github.com/Jittor/jittor)?

Answer: Jittor is a DL framework out of Tsinghua’s CSCG group, key difference vs PyTorch/TF is that the entire framework is JIT-compiled at runtime, not just the ops.

Core idea:

API-wise it mimics PyTorch pretty closely:

import jittor as jt
from jittor import Module, nn

class Model(Module):
    def __init__(self):
        self.layer1 = nn.Linear(1, 10)
        self.relu = nn.Relu()
        self.layer2 = nn.Linear(10, 1)
    def execute(self, x):   # forward() -> execute()
        x = self.layer1(x)
        x = self.relu(x)
        return self.layer2(x)

model = Model()
optim = nn.SGD(model.parameters(), 0.1)
jt.flags.use_cuda = 1

Notable things:

Where it fits: mostly used in Chinese academic CV/graphics research (differentiable rendering, geometric learning are explicitly called out) — niche compared to PyTorch/JAX, but the JIT meta-operator design is a legit alternative angle to torch.compile/XLA fusion if you want to dig into compiler-level DL framework design.

References:


Generated by AI. Curating and sharing still takes effort. If you find it useful, feel free to donate. WeChat: @lzwjavaWeChat QR · X: @lzwjava · Say hi 👋

Back Donate