SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2405.17398 · NeurIPS · 2024

Vista: A Generalizable Driving World Model with High Fidelity and Versatile Controllability

Hongyang Li, Andreas Geiger, Kashyap Chitta, Jun Zhang, Chen Li, Shenyuan Gao, Jiazhi Yang, Yihang Qiu

arXiv · PDF · Open in the Atlas

Code that ran

11 of 23 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 1 honoured the contract we drafted, 0 violated it and 5 have no contract verdict; 5 failures of our instrument; 12 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/2405.17398.json · badge: /api/ran/2405.17398.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
opendrivelab/vista marked official in Papers with Code
Papers with Code archive
11 ran · 12 no recorded run
FunctionStatusWhere it lives
AE3DConv Ran
ran on a synthesized input
opendrivelab/vista/vwm/models/diffusion.py
code served (permissive licence) · get_code("5c64e7e669227c45")
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 4, dtype family float, shape (4, 4, 8, 8) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape 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 einops import rearrange
from typing import Iterable, Optional

class AE3DConv(torch.nn.Conv2d):

    def __init__(self, in_channels, out_channels, video_kernel_size=3, *args, **kwargs):
        super().__init__(in_channels, out_channels, *args, **kwargs)
        if isinstance(video_kernel_size, Iterable):
            padding = [int(k // 2) for k in video_kernel_size]
        else:
            padding = int(video_kernel_size // 2)
        self.time_mix_conv = torch.nn.Conv3d(in_channels=out_channels, out_channels=out_channels, kernel_size=video_kernel_size, padding=padding)

    def forward(self, input, timesteps, skip_video=False):
        x = super().forward(input)
        if skip_video:
            return x
        else:
            x = rearrange(x, '(b t) c h w -> b c t h w', t=timesteps)
            x = self.time_mix_conv(x)
            return rearrange(x, 'b c t h w -> (b t) c h w')


INIT_ARGS = {
    'in_channels': 3,
    'out_channels': 4,
    'video_kernel_size': 3,
    'kernel_size': 3,
    'padding': 1,
}

ARGS = {
    'input': torch.randn(4, 3, 8, 8),
    'timesteps': 2,
    'skip_video': False,
}

if __name__ == '__main__':
    model = AE3DConv(**INIT_ARGS)
    output = model(**ARGS)
    print(f"Output shape: {output.shape}")
    print(f"Expected shape: (4, 4, 8, 8)")
    assert output.shape == (4, 4, 8, 8), f"Shape mismatch: {output.shape}"
    print("Test passed!")
Setup block drafted by
a language model, class construct-then-call prompt, model not recorded
Imports
einops, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 4, dtype family float, shape (4, 4, 8, 8) — shape (4, 4, 8, 8) as a later run recorded it
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)
Conv2DWrapper Ran
ran on a synthesized input
opendrivelab/vista/vwm/models/diffusion.py
code served (permissive licence) · get_code("0c3b34cc52a71729")
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 4, 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

# Conv2DWrapper inherits from torch.nn.Conv2d
# torch.nn.Conv2d.__init__ signature:
# Conv2d(in_channels, out_channels, kernel_size, stride=1, padding=0, 
#        dilation=1, groups=1, bias=True, padding_mode='zeros', device=None, dtype=None)

INIT_ARGS = {
    'in_channels': 3,
    'out_channels': 5,
    'kernel_size': 3,
    'stride': 1,
    'padding': 1,
    'dilation': 1,
    'groups': 1,
    'bias': True,
    'padding_mode': 'zeros'
}

# forward(input: torch.Tensor, **kwargs) -> torch.Tensor
# Input should be (batch, in_channels, height, width)
ARGS = {
    'input': torch.randn(2, 3, 8, 7)
}
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 4, 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)
LinAttnBlock Ran
ran on a synthesized input
opendrivelab/vista/vwm/models/diffusion.py
code served (permissive licence) · get_code("75aa8f65b96515b2")
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 4, dtype family float, shape (2, 4, 3, 5) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape 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
from einops import rearrange

class LinearAttention(nn.Module):

    def __init__(self, dim, heads=4, dim_head=32):
        super().__init__()
        self.heads = heads
        hidden_dim = dim_head * heads
        self.to_qkv = nn.Conv2d(dim, hidden_dim * 3, 1, bias=False)
        self.to_out = nn.Conv2d(hidden_dim, dim, 1)

    def forward(self, x):
        b, c, h, w = x.shape
        qkv = self.to_qkv(x)
        q, k, v = rearrange(qkv, 'b (qkv heads c) h w -> qkv b heads c (h w)', heads=self.heads, qkv=3)
        k = k.softmax(dim=-1)
        context = torch.einsum('bhdn,bhen->bhde', k, v)
        out = torch.einsum('bhde,bhdn->bhen', context, q)
        out = rearrange(out, 'b heads c (h w) -> b (heads c) h w', heads=self.heads, h=h, w=w)
        return self.to_out(out)

class LinAttnBlock(LinearAttention):
    """
    To match AttnBlock usage.
    """

    def __init__(self, in_channels):
        super().__init__(dim=in_channels, heads=1, dim_head=in_channels)


INIT_ARGS = {
    'in_channels': 4
}

ARGS = {
    'x': torch.randn(2, 4, 3, 5)
}

if __name__ == '__main__':
    model = LinAttnBlock(**INIT_ARGS)
    output = model(**ARGS)
    print(f"Input shape: {ARGS['x'].shape}")
    print(f"Output shape: {output.shape}")
Setup block drafted by
a language model, class construct-then-call prompt, model not recorded
Imports
einops, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 4, dtype family float, shape (2, 4, 3, 5) — shape (2, 4, 3, 5) as a later run recorded it
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)
LinearAttention Ran
ran on a synthesized input
opendrivelab/vista/vwm/models/diffusion.py
code served (permissive licence) · get_code("b7508055b9e0c4d0")
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 4, dtype family float, shape (2, 8, 3, 4) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape 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
from einops import rearrange

class LinearAttention(nn.Module):

    def __init__(self, dim, heads=4, dim_head=32):
        super().__init__()
        self.heads = heads
        hidden_dim = dim_head * heads
        self.to_qkv = nn.Conv2d(dim, hidden_dim * 3, 1, bias=False)
        self.to_out = nn.Conv2d(hidden_dim, dim, 1)

    def forward(self, x):
        b, c, h, w = x.shape
        qkv = self.to_qkv(x)
        q, k, v = rearrange(qkv, 'b (qkv heads c) h w -> qkv b heads c (h w)', heads=self.heads, qkv=3)
        k = k.softmax(dim=-1)
        context = torch.einsum('bhdn,bhen->bhde', k, v)
        out = torch.einsum('bhde,bhdn->bhen', context, q)
        out = rearrange(out, 'b heads c (h w) -> b (heads c) h w', heads=self.heads, h=h, w=w)
        return self.to_out(out)


INIT_ARGS = {
    'dim': 8,
    'heads': 2,
    'dim_head': 4,
}

ARGS = {
    'x': torch.randn(2, 8, 3, 4),
}

if __name__ == '__main__':
    model = LinearAttention(**INIT_ARGS)
    output = model(**ARGS)
    print(f"Output shape: {output.shape}")
    print(f"Expected shape: {ARGS['x'].shape}")
Setup block drafted by
a language model, class construct-then-call prompt, model not recorded
Imports
einops, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 4, dtype family float, shape (2, 8, 3, 4) — shape (2, 8, 3, 4) as a later run recorded it
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)
LitEma Ran
ran on a synthesized input
opendrivelab/vista/vwm/models/diffusion.py
code served (permissive licence) · get_code("1eefb4280050c186")
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 NoneType. 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

class LitEma(nn.Module):

    def __init__(self, model, decay=0.9999, use_num_upates=True):
        super().__init__()
        if decay < 0.0 or decay > 1.0:
            raise ValueError('Decay must be between 0 and 1')
        else:
            self.m_name2s_name = dict()
            self.register_buffer('decay', torch.tensor(decay, dtype=torch.float32))
            self.register_buffer('num_updates', torch.tensor(0, dtype=torch.int) if use_num_upates else torch.tensor(-1, dtype=torch.int))
            for name, p in model.named_parameters():
                if p.requires_grad:
                    s_name = name.replace('.', '')
                    self.m_name2s_name.update({name: s_name})
                    self.register_buffer(s_name, p.clone().detach().data)
            self.collected_params = list()

    def reset_num_updates(self):
        del self.num_updates
        self.register_buffer('num_updates', torch.tensor(0, dtype=torch.int))

    def forward(self, model):
        decay = self.decay
        if self.num_updates >= 0:
            self.num_updates += 1
            decay = min(self.decay, (1 + self.num_updates) / (10 + self.num_updates))
        with torch.no_grad():
            m_param = dict(model.named_parameters())
            shadow_params = dict(self.named_buffers())
            for key in m_param:
                if m_param[key].requires_grad:
                    sname = self.m_name2s_name[key]
                    shadow_params[sname] = shadow_params[sname].type_as(m_param[key])
                    shadow_params[sname].sub_((1.0 - decay) * (shadow_params[sname] - m_param[key]))
                else:
                    assert key not in self.m_name2s_name

    def copy_to(self, model):
        m_param = dict(model.named_parameters())
        shadow_params = dict(self.named_buffers())
        for key in m_param:
            if m_param[key].requires_grad:
                m_param[key].data.copy_(shadow_params[self.m_name2s_name[key]].data)
            else:
                assert key not in self.m_name2s_name

    def store(self, parameters):
        """
        Save the current parameters for restoring later.

        Args:
            parameters: Iterable of `torch.nn.Parameter`; the parameters to be temporarily stored.
        """
        self.collected_params = [param.clone() for param in parameters]

    def restore(self, parameters):
        """
        Restore the parameters stored with the `store` method.
        Useful to validate the model with EMA parameters without affecting the
        original optimization process. Store the parameters before the `copy_to` method.
        After validation (or model saving), use this to restore the former parameters.

        Args:
            parameters: Iterable of `torch.nn.Parameter`; the parameters to be updated with the stored parameters.
        """
        for c_param, param in zip(self.collected_params, parameters):
            param.data.copy_(c_param.data)


class SimpleModel(nn.Module):
    def __init__(self):
        super().__init__()
        self.linear1 = nn.Linear(4, 3)
        self.linear2 = nn.Linear(3, 2)
    
    def forward(self, x):
        x = self.linear1(x)
        x = self.linear2(x)
        return x


model = SimpleModel()

INIT_ARGS = {
    'model': model,
    'decay': 0.9999,
    'use_num_upates': True
}

ARGS = {
    'model': model
}

ema = LitEma(**INIT_ARGS)
ema(**ARGS)
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 NoneType — a NoneType output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a NoneType 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: torch and numpy seeded to 0 by the harness immediately before the class was constructed from INIT_ARGS (fixture_check.py)
Normalize Ran
ran; our contract draft was wrong, not the code
opendrivelab/vista/vwm/models/diffusion.py
code served (permissive licence) · get_code("4c0a080d5b99b21b")
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) and returned GroupNorm. 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 = {
    "in_channels": 16,
    "num_groups": 8,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type GroupNorm — a GroupNorm output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a GroupNorm 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
default Ran
ran, honoured the contract we drafted
opendrivelab/vista/vwm/models/diffusion.py
code served (permissive licence) · get_code("80f84a2f0bef0561")
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) and returned int, ndim 0, dtype family int, shape () as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape 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 numpy as np
from inspect import isfunction

def exists(x):
    return x is not None

def default(val, d):
    if exists(val):
        return val
    else:
        return d() if isfunction(d) else d

# Test case 1: val is not None, should return val
test_val_1 = 42
test_d_1 = 100

# Test case 2: val is None, d is a function
test_val_2 = None
test_d_2 = lambda: 99

# Test case 3: val is None, d is a non-function value
test_val_3 = None
test_d_3 = 77

# Create ARGS dict with all parameter combinations
ARGS = {
    "val": test_val_1,
    "d": test_d_1
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
Imports
numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type int, ndim 0, dtype family int, shape () — shape () as a later run recorded it
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: none by the harness; any seed is in the setup block
disabled_train Ran
ran; our contract draft was wrong, not the code
opendrivelab/vista/vwm/models/diffusion.py
code served (permissive licence) · get_code("694551f4a162c92a")
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) and returned SimpleModel. 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)

class SimpleModel(nn.Module):
    def __init__(self):
        super().__init__()
        self.linear = nn.Linear(4, 3)
    
    def forward(self, x):
        return self.linear(x)

model = SimpleModel()

ARGS = {
    "self": model,
    "mode": True
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type SimpleModel — a SimpleModel output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a SimpleModel 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
get_obj_from_str Ran
ran; our contract draft was wrong, not the code
opendrivelab/vista/vwm/models/diffusion.py
code served (permissive licence) · get_code("30d11b7b4428ab6e")
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) and returned type. 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 importlib
import torch
import torch.nn as nn

torch.manual_seed(0)

# The function get_obj_from_str takes a string like "module.path.ClassName"
# and returns the class/object from that module.
# It uses: string (rsplit), reload (bool), invalidate_cache (bool)
# and calls: importlib.invalidate_caches(), importlib.import_module(), 
# importlib.reload(), getattr()

# We need to provide a valid string that points to an actual importable class
# Let's use a built-in class that's guaranteed to exist
string_value = "torch.nn.modules.linear.Linear"

ARGS = {
    "string": string_value,
    "reload": False,
    "invalidate_cache": True,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type type — a type output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a type 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
instantiate_from_config Ran
ran; our contract draft was wrong, not the code
opendrivelab/vista/vwm/models/diffusion.py
code served (permissive licence) · get_code("f3ff5ab8d2f07e10")
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) and returned Linear. 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)

# The function instantiate_from_config expects a config dict with:
# - 'target': a string path to a class (e.g., 'module.ClassName')
# - 'params': optional dict of parameters to pass to the class constructor

# Create a simple test class that can be instantiated
class SimpleModule(nn.Module):
    def __init__(self, hidden_dim=4):
        super().__init__()
        self.linear = nn.Linear(hidden_dim, hidden_dim)
    
    def forward(self, x):
        return self.linear(x)

# Create a valid config dict
config = {
    'target': 'torch.nn.Linear',
    'params': {
        'in_features': 4,
        'out_features': 3
    }
}

ARGS = {
    'config': config
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Linear — a Linear output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Linear 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
partialclass Ran
ran; our contract draft was wrong, not the code
opendrivelab/vista/vwm/models/diffusion.py
code served (permissive licence) · get_code("c91c205a5fcd562b")
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 type. 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 functools
import torch
import torch.nn as nn

torch.manual_seed(0)

# Create a simple base class to demonstrate partialclass
class SimpleModel(nn.Module):
    def __init__(self, input_dim, hidden_dim, multiplier=1):
        super().__init__()
        self.linear = nn.Linear(input_dim, hidden_dim)
        self.multiplier = multiplier
    
    def forward(self, x):
        return self.linear(x) * self.multiplier

# Set up arguments for partialclass
# cls: a class to partially initialize
# *args: positional arguments to fix
# **kwargs: keyword arguments to fix

ARGS = {
    "cls": SimpleModel,
    "args": (4, 3),  # input_dim=4, hidden_dim=3
    "kwargs": {"multiplier": 2}
}
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 type — a type output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a type 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
AttnBlock Not yet run
unverified (harvested, no recorded run)
opendrivelab/vista/vwm/models/diffusion.py
code served (permissive licence) · get_code("65943cc8c6a0822c")
How it ran

no invocation recorded.

Decoder Not yet run
unverified (harvested, no recorded run)
opendrivelab/vista/vwm/models/diffusion.py
code served (permissive licence) · get_code("77628e616403b945")
How it ran

no invocation recorded.

DiffusionEngine Not yet run
unverified (harvested, no recorded run)
opendrivelab/vista/vwm/models/diffusion.py
code served (permissive licence) · get_code("0827884f986ea385")
How it ran

no invocation recorded.

MemoryEfficientAttnBlock Not yet run
unverified (harvested, no recorded run)
opendrivelab/vista/vwm/models/diffusion.py
code served (permissive licence) · get_code("335d93824445f73a")
How it ran

no invocation recorded.

MemoryEfficientCrossAttention Not yet run
unverified (harvested, no recorded run)
opendrivelab/vista/vwm/models/diffusion.py
code served (permissive licence) · get_code("9a1320c38ff3a00b")
How it ran

no invocation recorded.

MemoryEfficientCrossAttentionWrapper Not yet run
unverified (harvested, no recorded run)
opendrivelab/vista/vwm/models/diffusion.py
code served (permissive licence) · get_code("7eeaf0d0942c8b14")
How it ran

no invocation recorded.

ResBlock Not yet run
unverified (harvested, no recorded run)
opendrivelab/vista/vwm/models/diffusion.py
code served (permissive licence) · get_code("30af670fe741ec02")
How it ran

no invocation recorded.

ResnetBlock Not yet run
unverified (harvested, no recorded run)
opendrivelab/vista/vwm/models/diffusion.py
code served (permissive licence) · get_code("3aba0be80d3762a9")
How it ran

no invocation recorded.

TimestepBlock Not yet run
unverified (harvested, no recorded run)
opendrivelab/vista/vwm/models/diffusion.py
code served (permissive licence) · get_code("3996f5eb1a63c585")
How it ran

no invocation recorded.

VideoDecoder Not yet run
unverified (harvested, no recorded run)
opendrivelab/vista/vwm/models/diffusion.py
code served (permissive licence) · get_code("634ba52fa75838b3")
How it ran

no invocation recorded.

VideoResBlock Not yet run
unverified (harvested, no recorded run)
opendrivelab/vista/vwm/models/diffusion.py
code served (permissive licence) · get_code("d865fe90a754a2c9")
How it ran

no invocation recorded.

make_attn Not yet run
unverified (harvested, no recorded run)
opendrivelab/vista/vwm/models/diffusion.py
code served (permissive licence) · get_code("df7cb18ec3f78d30")
How it ran

no invocation recorded.

Also present in other papers' code

Of 23 samples lifted from this paper's linked repositories, 23 carry a function identity and 0 do not. Of the 23 distinct functions with an identity, 4 are also present in other papers whose code we hold (4 with at least one paper dated earlier, 2 the same month, 3 later) and 19 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.

FunctionAlso present inEarliest-datedOthers named
disabled_train
brick of this paper's assembly: helper
173 other papers
104 dated earlier, 12 the same month, 49 later, 8 same year, order not determinable · 5 only as an assembly brick
2012.09841 (2020-12)
Taming Transformers for High-Resolution Image Synthesis
2102.05379 (2021-02)
Argmax Flows and Multinomial Diffusion: Learning Categorical Distributions
2104.07652 (2021-04)
Geometry-Free View Synthesis: Transformers and no 3D Priors
and 170 more not named here
LinAttnBlock
brick of this paper's assembly: helper
2 other papers
1 dated earlier, 1 later · 1 only as an assembly brick
2404.00815 (2024-04)
Towards Realistic Scene Generation with LiDAR Diffusion Models
2601.07692 (2026-01)
R3DPA: Leveraging 3D Representation Alignment and RGB Pretrained Priors for LiDAR Scene Generation
LinearAttention
brick of this paper's assembly: helper
2 other papers
1 dated earlier, 1 later · 1 only as an assembly brick
2404.00815 (2024-04)
Towards Realistic Scene Generation with LiDAR Diffusion Models
2601.07692 (2026-01)
R3DPA: Leveraging 3D Representation Alignment and RGB Pretrained Priors for LiDAR Scene Generation
get_obj_from_str
brick of this paper's assembly: helper
2 other papers
1 dated earlier, 1 the same month
2402.12376 (2024-02)
FiT: Flexible Vision Transformer for Diffusion Model
2405.13870 (2024-05)
FreeCustom: Tuning-Free Customized Image Generation for Multi-Concept Composition

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

World models can foresee the outcomes of different actions, which is of paramount importance for autonomous driving. Nevertheless, existing driving world models still have limitations in generalization to unseen environments, prediction fidelity of critical details, and action controllability for flexible application. In this paper, we present Vista, a generalizable driving world model with high fidelity and versatile controllability. Based on a systematic diagnosis of existing methods, we introduce several key ingredients to address these limitations. To accurately predict real-world dynamics at high resolution, we propose two novel losses to promote the learning of moving instances and structural information. We also devise an effective latent replacement approach to inject historical frames as priors for coherent long-horizon rollouts. For action controllability, we incorporate a versatile set of controls from high-level intentions (command, goal point) to low-level maneuvers (trajectory, angle, and speed) through an efficient learning strategy. After large-scale training, the capabilities of Vista can seamlessly generalize to different scenarios. Extensive experiments on multiple datasets show that Vista outperforms the most advanced general-purpose video generator in over 70% of comparisons and surpasses the best-performing driving world model by 55% in FID and 27% in FVD. Moreover, for the first time, we utilize the capacity of Vista itself to establish a generalizable reward for real-world action evaluation without accessing the ground truth actions.

For agents

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

get_harvested_code_for_paper("2405.17398")
get_code_for_paper("2405.17398")
have("2405.17398")

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

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

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

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

Connect an agent — have() is free.