SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2412.14169 · ICLR · 2025

Autoregressive Video Generation without Vector Quantization

Xinlong Wang, Zhengxiong Luo, Shiguang Shan, Yufeng Cui, Huchuan Lu, Haiwen Diao, Haoge Deng, Ting Pan, Yonggang Qi

arXiv · PDF · Open in the Atlas

Code that ran

19 of 26 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (18 of them constructed an object rather than computing a result; 0 honoured the contract we drafted, 0 violated it and 19 have no contract verdict; 0 failures of our instrument; 7 no recorded run), measured 2026-11-23; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2412.14169.json · badge: /api/ran/2412.14169.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
baaivision/nova canonical (classifier label)
classifier basis: classifier_2025
19 ran · 7 no recorded run
FunctionStatusWhere it lives
AdaLayerNorm Ran
ran on a synthesized input · constructed an object; no result was computed
baaivision/nova/diffnext/models/transformers/transformer_nova.py
code served (permissive licence) · get_code("60c4cd0d5289ebda")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned an instance of its own class, AdaLayerNorm: the run constructed the object and did not call it, so no result was computed. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
from torch import nn

torch.manual_seed(0)

# Create small tensors for testing
# x: input tensor (batch_size=2, dim=4)
x = torch.randn(2, 4)

# z: conditioning tensor (batch_size=2, dim=4)
z = torch.randn(2, 4)

# Create an instance of AdaLayerNorm to test
dim = 4
rank = 3  # LoRA rank, smaller than dim
eps = 1e-06

model = nn.Module()

ARGS = {
    "dim": dim,
    "rank": rank,
    "eps": eps,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
scipy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type AdaLayerNorm — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a AdaLayerNorm output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
AdaLayerNormZero Ran
ran on a synthesized input · constructed an object; no result was computed
baaivision/nova/diffnext/models/transformers/transformer_nova.py
code served (permissive licence) · get_code("85377e46ac705725")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned an instance of its own class, AdaLayerNormZero: the run constructed the object and did not call it, so no result was computed. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
from torch import nn

torch.manual_seed(0)

# Analyze the function signature and body:
# __init__(self, dim, rank=None, num_stats=2, eps=1e-06)
# - dim: integer dimension size
# - rank: optional integer for LoRA projection dimension
# - num_stats: number of statistics to project to
# - eps: epsilon for LayerNorm
#
# The forward method uses:
# - self.lora(self.activation(z)): expects z to be passable through activation then lora
# - self.proj(...).chunk(self.num_stats, dim=-1): projects and chunks
# - self.norm(x): normalizes x
# - stats[0], stats[1], stats[2:]: accesses multiple stat tensors
#
# For forward to work, we need:
# - x: tensor of shape (batch, ..., dim) to be normalized
# - z: tensor of shape (batch, ..., dim) to pass through activation->lora->proj

# Create test tensors
dim = 4
batch_size = 2
rank = 3
num_stats = 2

# Input tensors for forward pass
x = torch.randn(batch_size, dim)
z = torch.randn(batch_size, dim)

ARGS = {
    'dim': dim,
    'rank': rank,
    'num_stats': num_stats,
    'eps': 1e-06
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
scipy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type AdaLayerNormZero — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a AdaLayerNormZero output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
Attention Ran
ran on a synthesized input · constructed an object; no result was computed
baaivision/nova/diffnext/models/transformers/transformer_nova.py
code served (permissive licence) · get_code("d627a66e082b5f70")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned an instance of its own class, Attention: the run constructed the object and did not call it, so no result was computed. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
from torch import nn

torch.manual_seed(0)

# Set up the Attention module with minimal valid arguments
dim = 4
num_heads = 2
qkv_bias = True

# Create a small input tensor: (batch_size=2, seq_len=3, dim=4)
x = torch.randn(2, 3, 4)

ARGS = {
    "dim": dim,
    "num_heads": num_heads,
    "qkv_bias": qkv_bias,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Attention — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a Attention output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
Block Ran
ran on a synthesized input · constructed an object; no result was computed
baaivision/nova/diffnext/models/transformers/transformer_nova.py
code served (permissive licence) · get_code("a6b18aefa9c30394")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned an instance of its own class, Block: the run constructed the object and did not call it, so no result was computed. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
from torch import nn

torch.manual_seed(0)

# Construct ARGS dict for Block.__init__
ARGS = {
    'dim': 4,
    'num_heads': 2,
    'mlp_ratio': 4,
    'qkv_bias': True,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Block — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a Block output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
DiffusionBlock Ran
ran on a synthesized input · constructed an object; no result was computed
baaivision/nova/diffnext/models/transformers/transformer_nova.py
code served (permissive licence) · get_code("9252010cba1de0c1")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned an instance of its own class, DiffusionBlock: the run constructed the object and did not call it, so no result was computed. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
from torch import nn

torch.manual_seed(0)

class DiffusionBlock(nn.Module):
    """Diffusion block."""

    def __init__(self, dim):
        super(DiffusionBlock, self).__init__()
        self.dim, self.mlp_checkpointing = (dim, False)
        self.norm1 = nn.LayerNorm(dim)
        self.proj = nn.Linear(dim, dim)
        self.norm2 = nn.LayerNorm(dim)

    def forward(self, x, z) -> torch.Tensor:
        h = self.norm1(x)
        return self.norm2(self.proj(h)).add_(x)


ARGS = {
    "dim": 4
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
scipy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type DiffusionBlock — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a DiffusionBlock output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
DiffusionMLP Ran
ran on a synthesized input · constructed an object; no result was computed
baaivision/nova/diffnext/models/transformers/transformer_nova.py
code served (permissive licence) · get_code("c06a16a8febb2446")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned an instance of its own class, DiffusionMLP: the run constructed the object and did not call it, so no result was computed. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn

torch.manual_seed(0)

ARGS = {
    "depth": 2,
    "embed_dim": 8,
    "cond_dim": 4,
    "patch_size": 2,
    "image_dim": 4,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
scipy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type DiffusionMLP — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a DiffusionMLP output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
GuidanceScaler Ran
ran on a synthesized input · constructed an object; no result was computed
baaivision/nova/diffnext/models/transformers/transformer_nova.py
code served (permissive licence) · get_code("028ca8089a24ed40")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned an instance of its own class, GuidanceScaler: the run constructed the object and did not call it, so no result was computed. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch

torch.manual_seed(0)

ARGS = {
    'guidance_scale': 7.5,
    'guidance_trunc': 0.0,
    'guidance_renorm': 1.0,
    'image_guidance_scale': 0.0,
    'spatiotemporal_guidance_scale': 0.0,
    'min_guidance_scale': None,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type GuidanceScaler — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a GuidanceScaler output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
LabelEmbed Ran
ran on a synthesized input · constructed an object; no result was computed
baaivision/nova/diffnext/models/transformers/transformer_nova.py
code served (permissive licence) · get_code("876ccd77339d9625")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned an instance of its own class, LabelEmbed: the run constructed the object and did not call it, so no result was computed. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
from torch import nn

torch.manual_seed(0)

ARGS = {
    "embed_dim": 4,
    "num_classes": 1000,
    "dropout": 0.1,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type LabelEmbed — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a LabelEmbed output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
MLP Ran
ran on a synthesized input · constructed an object; no result was computed
baaivision/nova/diffnext/models/transformers/transformer_nova.py
code served (permissive licence) · get_code("8785a25e456048ac")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned an instance of its own class, MLP: the run constructed the object and did not call it, so no result was computed. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
from torch import nn

torch.manual_seed(0)

ARGS = {
    "dim": 8,
    "mlp_ratio": 4,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type MLP — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a MLP output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
MaskEmbed Ran
ran on a synthesized input · constructed an object; no result was computed
baaivision/nova/diffnext/models/transformers/transformer_nova.py
code served (permissive licence) · get_code("7a41a8cdb50f38e6")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned an instance of its own class, MaskEmbed: the run constructed the object and did not call it, so no result was computed. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
from torch import nn
import numpy as np

torch.manual_seed(0)

ARGS = {
    'embed_dim': 4,
    'mask_ratios': (0.7, 1.0),
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, scipy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type MaskEmbed — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a MaskEmbed output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
MotionEmbed Ran
ran on a synthesized input
baaivision/nova/diffnext/models/transformers/transformer_nova.py
code served (permissive licence) · get_code("d1412392f9460cc0")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, class construct-then-call prompt, model not recorded) and returned Tensor, ndim 3, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
from torch import nn

class MotionEmbed(nn.Module):
    """Motion embedding layer."""

    def __init__(self, dim, base_flow=5, base_fps=12):
        super(MotionEmbed, self).__init__()
        self.base_flow, self.base_fps = (base_flow, base_fps)
        self.flow_proj = nn.Sequential(nn.Linear(256, dim), nn.SiLU(), nn.Linear(dim, dim))
        self.fps_proj = nn.Sequential(nn.Linear(256, dim), nn.SiLU(), nn.Linear(dim, dim))
        self.freq_m = 1 / 10000 ** (torch.arange(128, dtype=torch.float32).unsqueeze(0) / 128)

    def get_embed(self, c, x, k) -> torch.Tensor:
        x = [getattr(self, f'base_{k}')] * c.size(0) if x is None else x
        freq_m = torch.as_tensor(x).view(-1, 1, 1).float().mul(self.freq_m)
        sincos = torch.cat([freq_m.sin(), freq_m.cos()], dim=-1)
        return getattr(self, f'{k}_proj')(sincos.to(device=c.device, dtype=c.dtype))

    def forward(self, c, flow=None, fps=None) -> torch.Tensor:
        outputs = [self.get_embed(c, x, k) for k, x in [('flow', flow), ('fps', fps)]]
        return torch.cat(outputs, dim=1) if len(outputs) > 1 else outputs[0]


INIT_ARGS = {
    'dim': 4,
    'base_flow': 5,
    'base_fps': 12,
}

ARGS = {
    'c': torch.randn(2, 3),
    'flow': None,
    'fps': None,
}

if __name__ == '__main__':
    model = MotionEmbed(**INIT_ARGS)
    output = model(**ARGS)
    print(f"Output shape: {output.shape}")
    print(f"Output: {output}")
Setup block drafted by
a language model, class construct-then-call prompt, model not recorded
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 3, dtype family float — no output shape is stated: observe_signature.py observed this class with its constructor sizes canonicalised where it could, which the node does not record, so its shape is not stated as this setup block's
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: torch and numpy seeded to 0 by the harness immediately before the class was constructed from INIT_ARGS (fixture_check.py)
PatchEmbed Ran
ran on a synthesized input · constructed an object; no result was computed
baaivision/nova/diffnext/models/transformers/transformer_nova.py
code served (permissive licence) · get_code("803f92207c86ec75")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned an instance of its own class, PatchEmbed: the run constructed the object and did not call it, so no result was computed. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
from torch import nn

torch.manual_seed(0)

# PatchEmbed expects:
# - image_dim: int (number of input channels)
# - embed_dim: int (number of output embedding dimensions)
# - patch_size: int (size of patches)

ARGS = {
    "image_dim": 3,
    "embed_dim": 64,
    "patch_size": 4,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type PatchEmbed — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a PatchEmbed output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
PosEmbed Ran
ran on a synthesized input · constructed an object; no result was computed
baaivision/nova/diffnext/models/transformers/transformer_nova.py
code served (permissive licence) · get_code("14e66b780fcd44af")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned an instance of its own class, PosEmbed: the run constructed the object and did not call it, so no result was computed. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
from torch import nn

torch.manual_seed(0)

class PosEmbed(nn.Module):
    """Position embedding layer."""

    def __init__(self, dim, base_size=(16, 16)):
        super(PosEmbed, self).__init__()
        (self.base_h, self.base_w), self.space_embed = (base_size, None)
        self.freq_hw = 1 / 10000 ** (torch.arange(dim // 4, dtype=torch.float32) / (dim // 4))

    def get_space_embed(self, device=None, dtype=None) -> torch.Tensor:
        h, w = (self.base_h, self.base_w)
        if self.space_embed is not None and self.space_embed.size(0) == h * w:
            return self.space_embed
        grid_h = torch.arange(h, dtype=torch.float32) * (self.base_h / h)
        grid_w = torch.arange(w, dtype=torch.float32) * (self.base_w / w)
        grid_w, grid_h = torch.meshgrid(grid_w, grid_h, indexing='xy')
        freq_w, freq_h = [_.reshape(-1, 1) * self.freq_hw.unsqueeze(0) for _ in (grid_w, grid_h)]
        embed = torch.cat([freq_w.sin(), freq_w.cos(), freq_h.sin(), freq_h.cos()], dim=-1)
        self.space_embed = embed.to(device=device, dtype=dtype)
        return self.space_embed

    def forward(self, x) -> torch.Tensor:
        return x.add_(self.get_space_embed(x.device, x.dtype))


# Create test input tensor: batch_size=2, embedding_dim=4
# The space_embed will have shape (base_h * base_w, dim) = (16*16, 4) = (256, 4)
# But x needs to match this for add_ to work, so x should be (256, 4)
x = torch.randn(256, 4, dtype=torch.float32)

ARGS = {
    "dim": 4,
    "base_size": (16, 16),
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type PosEmbed — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a PosEmbed output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
Projector Ran
ran on a synthesized input · constructed an object; no result was computed
baaivision/nova/diffnext/models/transformers/transformer_nova.py
code served (permissive licence) · get_code("76ede3fc8a37f868")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned an instance of its own class, Projector: the run constructed the object and did not call it, so no result was computed. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
from torch import nn

torch.manual_seed(0)

ARGS = {
    "dim": 4,
    "mlp_dim": 8,
    "out_dim": 3,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Projector — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a Projector output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
Registry Ran
ran on a synthesized input · constructed an object; no result was computed
baaivision/nova/diffnext/models/transformers/transformer_nova.py
code served (permissive licence) · get_code("1f02d40b2da1f5fe")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned an instance of its own class, Registry: the run constructed the object and did not call it, so no result was computed. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import collections
import functools

# The Registry class only takes a 'name' parameter in __init__
# It doesn't use the name for anything complex - just stores it
# So we just need a simple string

ARGS = {
    'name': 'test_registry'
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Registry — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a Registry output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
RotaryEmbed3D Ran
ran on a synthesized input · constructed an object; no result was computed
baaivision/nova/diffnext/models/transformers/transformer_nova.py
code served (permissive licence) · get_code("5ec9478ced359867")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned an instance of its own class, RotaryEmbed3D: the run constructed the object and did not call it, so no result was computed. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
from torch import nn
import sys

torch.manual_seed(0)

ARGS = {
    'dim': 64,
    'base_size': (16, 16),
    'theta': 10000.0,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type RotaryEmbed3D — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a RotaryEmbed3D output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
TextEmbed Ran
ran on a synthesized input · constructed an object; no result was computed
baaivision/nova/diffnext/models/transformers/transformer_nova.py
code served (permissive licence) · get_code("aa91355939326691")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned an instance of its own class, TextEmbed: the run constructed the object and did not call it, so no result was computed. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
from torch import nn
import numpy as np

torch.manual_seed(0)

class StandInTokenizer:
    def __init__(self, vocab_size=256):
        self.vocab_size = vocab_size
    
    def __call__(self, text, max_length=512, truncation=True, padding=None):
        # Return a mock tokenizer output with input_ids
        tokens = [i % self.vocab_size for i in range(min(len(text), max_length))]
        if padding == 'max_length':
            tokens = tokens + [0] * (max_length - len(tokens))
        class TokenizerOutput:
            def __init__(self, ids):
                self.input_ids = ids
        return TokenizerOutput(tokens)

class StandInEncoder(nn.Module):
    def __init__(self, vocab_size=256, hidden_dim=8):
        super().__init__()
        self.embedding = nn.Embedding(vocab_size, hidden_dim)
        self.device_val = 'cpu'
    
    @property
    def device(self):
        return self.device_val
    
    def forward(self, token_ids):
        # Return mock encoder output with last_hidden_state
        embeds = self.embedding(token_ids)
        class EncoderOutput:
            def __init__(self, hidden_state):
                self.last_hidden_state = hidden_state
        return EncoderOutput(embeds)

# Create stand-in tokenizer and encoder
tokenizer = StandInTokenizer(vocab_size=256)
encoder = StandInEncoder(vocab_size=256, hidden_dim=8)

ARGS = {
    'token_dim': 4,
    'embed_dim': 3,
    'num_tokens': 256,
    'dropout': 0.1,
}

# Build the model and set up encoders for string prompt testing
model = nn.Module()
model.encoders = [tokenizer, encoder]

# Verify we can call the model with both tensor and string inputs
x_tensor = torch.randn(2, 4)
x_strings = ["hello world", "test prompt"]

print("Setup complete - model can be called with tensor or string inputs")
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type TextEmbed — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a TextEmbed output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
TimeCondEmbed Ran
ran on a synthesized input · constructed an object; no result was computed
baaivision/nova/diffnext/models/transformers/transformer_nova.py
code served (permissive licence) · get_code("8103232d2040cad8")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned an instance of its own class, TimeCondEmbed: the run constructed the object and did not call it, so no result was computed. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
from torch import nn

torch.manual_seed(0)

# Parameters for TimeCondEmbed.__init__
cond_dim = 8
embed_dim = 16
freq_dim = 256

ARGS = {
    "cond_dim": cond_dim,
    "embed_dim": embed_dim,
    "freq_dim": freq_dim,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type TimeCondEmbed — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a TimeCondEmbed output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
VideoPosEmbed Ran
ran on a synthesized input · constructed an object; no result was computed
baaivision/nova/diffnext/models/transformers/transformer_nova.py
code served (permissive licence) · get_code("f36aa3555265a176")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned an instance of its own class, VideoPosEmbed: the run constructed the object and did not call it, so no result was computed. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
from torch import nn

torch.manual_seed(0)

# VideoPosEmbed.__init__ requires:
# - dim: int (embedding dimension)
# - base_size: tuple (temporal, height, width)

ARGS = {
    "dim": 64,
    "base_size": (8, 16, 16)
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type VideoPosEmbed — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a VideoPosEmbed output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
FlexAttentionCausal2D Not yet run
unverified (harvested, no recorded run)
baaivision/nova/diffnext/models/transformers/transformer_nova.py
code served (permissive licence) · get_code("ade0129d1a45e0b9")
How it ran

no invocation recorded.

NOVATransformer3DModel Not yet run
unverified (harvested, no recorded run)
baaivision/nova/diffnext/models/transformers/transformer_nova.py
code served (permissive licence) · get_code("97f6bd68a990166d")
How it ran

no invocation recorded.

Transformer3DModel Not yet run
unverified (harvested, no recorded run)
baaivision/nova/diffnext/models/transformers/transformer_nova.py
code served (permissive licence) · get_code("634c92dbdd87cfe9")
How it ran

no invocation recorded.

VisionTransformer Not yet run
unverified (harvested, no recorded run)
baaivision/nova/diffnext/models/transformers/transformer_nova.py
code served (permissive licence) · get_code("3a44328c8bf72fe3")
How it ran

no invocation recorded.

image_decoder Not yet run
unverified (harvested, no recorded run)
baaivision/nova/diffnext/models/transformers/transformer_nova.py
code served (permissive licence) · get_code("7d03ff4b172aacee")
How it ran

no invocation recorded.

image_encoder Not yet run
unverified (harvested, no recorded run)
baaivision/nova/diffnext/models/transformers/transformer_nova.py
code served (permissive licence) · get_code("9dc11e1a48d18afe")
How it ran

no invocation recorded.

video_encoder Not yet run
unverified (harvested, no recorded run)
baaivision/nova/diffnext/models/transformers/transformer_nova.py
code served (permissive licence) · get_code("bb1ef5506cb864f5")
How it ran

no invocation recorded.

Also present in other papers' code

Of 26 samples lifted from this paper's linked repositories, 26 carry a function identity and 0 do not. Of the 26 distinct functions with an identity, 0 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 0 later) and 26 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-23.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

This paper presents a novel approach that enables autoregressive video generation with high efficiency. We propose to reformulate the video generation problem as a non-quantized autoregressive modeling of temporal frame-by-frame prediction and spatial set-by-set prediction. Unlike raster-scan prediction in prior autoregressive models or joint distribution modeling of fixed-length tokens in diffusion models, our approach maintains the causal property of GPT-style models for flexible in-context capabilities, while leveraging bidirectional modeling within individual frames for efficiency. With the proposed approach, we train a novel video autoregressive model without vector quantization, termed NOVA. Our results demonstrate that NOVA surpasses prior autoregressive video models in data efficiency, inference speed, visual fidelity, and video fluency, even with a much smaller model capacity, i.e., 0.6B parameters. NOVA also outperforms state-of-the-art image diffusion models in text-to-image generation tasks, with a significantly lower training cost. Additionally, NOVA generalizes well across extended video durations and enables diverse zero-shot applications in one unified model. Code and models are publicly available at https://github.com/baaivision/NOVA.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2412.14169")
get_code_for_paper("2412.14169")
have("2412.14169")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2412.14169.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2412.14169.svg)](https://syntology.ai/paper/2412.14169)

Connect an agent — have() is free.