SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2606.05981 · 2026

Inverting the Streaming-Diffusion Bottleneck: Video-Rate MLLM-Conditioned Edit Diffusion on a Consumer GPU

Yoshiyuki Ootani

arXiv · PDF

Code that ran

22 of 26 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; 4 honoured the contract we drafted, 1 violated it and 0 have no contract verdict; 17 failures of our instrument; 4 no recorded run), measured 2026-11-23; 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/2606.05981.json · badge: /api/ran/2606.05981.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
otanl/dreamlite-stream canonical (classifier label)
classifier basis: census
22 ran · 4 no recorded run
FunctionStatusWhere it lives
compute_temporal Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
otanl/dreamlite-stream/src/dreamlite_stream/metrics.py
code served (permissive licence) · get_code("94ac824640f701b5")
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 TemporalMetrics. 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 numpy as np
import cv2

# Create small test frames (RGB format, uint8)
# Using distinct dimensions: height=4, width=6, channels=3
frame_shape = (4, 6, 3)

# Create input frames (2 frames minimum to compute temporal metrics)
input_frames = [
    np.random.randint(0, 256, frame_shape, dtype=np.uint8),
    np.random.randint(0, 256, frame_shape, dtype=np.uint8),
]

# Create output frames (same count as input frames)
output_frames = [
    np.random.randint(0, 256, frame_shape, dtype=np.uint8),
    np.random.randint(0, 256, frame_shape, dtype=np.uint8),
]

ARGS = {
    "input_frames": input_frames,
    "output_frames": output_frames,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
cv2, numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type TemporalMetrics — a TemporalMetrics output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a TemporalMetrics 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
encode_prompt_edit Ran
ran; our contract draft was wrong, not the code
otanl/dreamlite-stream/src/dreamlite_stream/pipeline_ops.py
code served (permissive licence) · get_code("40ee5de14d92d049")
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 tuple, 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
import torch.nn as nn
from PIL import Image
import numpy as np

torch.manual_seed(0)

# Create a mock pipeline that has an encode_prompt method
class MockPipeline(nn.Module):
    def __init__(self):
        super().__init__()
        self.text_encoder = nn.Linear(10, 8)
        self.vision_encoder = nn.Linear(12, 8)
    
    def encode_prompt(self, mode, prompts, image, device, dtype):
        # Simulate encoding by returning two tensors
        # First tensor: prompt embeddings (batch_size, seq_len, hidden_dim)
        # Second tensor: negative prompt embeddings (batch_size, seq_len, hidden_dim)
        batch_size = len(prompts)
        seq_len = 16
        hidden_dim = 8
        
        prompt_embeds = torch.randn(batch_size, seq_len, hidden_dim, dtype=dtype, device=device)
        negative_prompt_embeds = torch.randn(batch_size, seq_len, hidden_dim, dtype=dtype, device=device)
        
        return prompt_embeds, negative_prompt_embeds

# Create a small test image
image_array = np.random.randint(0, 256, (64, 64, 3), dtype=np.uint8)
test_image = Image.fromarray(image_array)

# Create pipeline instance
pipeline = MockPipeline()

# Define all arguments
ARGS = {
    'pipeline': pipeline,
    'prompt': 'a red car instead of a blue car',
    'image': test_image,
    'device': 'cpu',
    'dtype': torch.float32
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
PIL, numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple, ndim 4, dtype family float — a tuple output has no array shape of its own; none is stated
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
expand_linear Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
otanl/dreamlite-stream/src/dreamlite_stream/frame_interp.py
code served (permissive licence) · get_code("6f2901f8591bfae4")
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 list, ndim 4, dtype family int; 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 numpy as np
import cv2

# Create small test BGR frames (HxWx3 uint8)
# Using distinct dimensions: height=4, width=6, channels=3
frame1 = np.random.randint(0, 256, size=(4, 6, 3), dtype=np.uint8)
frame2 = np.random.randint(0, 256, size=(4, 6, 3), dtype=np.uint8)
frame3 = np.random.randint(0, 256, size=(4, 6, 3), dtype=np.uint8)

bgr_frames = [frame1, frame2, frame3]
factor = 2

ARGS = {
    "bgr_frames": bgr_frames,
    "factor": factor,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
cv2, numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type list, ndim 4, dtype family int — a list output has no array shape of its own; none is stated
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
expand_rife Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
otanl/dreamlite-stream/src/dreamlite_stream/frame_interp.py
code served (permissive licence) · get_code("1fbf2c7f5df23873")
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 list, ndim 4, dtype family int; no output shape is stated. The image it ran in was not recorded. The code mentions cuda, and the harness aliases cuda to the CPU for every sample; whether this run needed that is 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
import numpy as np
import torch.nn as nn

torch.manual_seed(0)

# Create minimal stand-in model that has inference method
class MinimalRIFE(nn.Module):
    def __init__(self):
        super().__init__()
        self.dummy_param = nn.Parameter(torch.zeros(1))
    
    def inference(self, frame0, frame1, timestep):
        """
        Minimal inference that takes two frames and returns interpolated frame.
        frame0, frame1: (1, 3, H, W) float32 tensors
        timestep: float
        Returns: (1, 3, H, W) float32 tensor
        """
        # Simple average as placeholder interpolation
        return (frame0 + frame1) / 2.0

# Create minimal BGR frames (HxWx3 uint8)
# Use distinct sizes: 64x96 to differentiate H and W
frame1 = np.random.randint(0, 256, (64, 96, 3), dtype=np.uint8)
frame2 = np.random.randint(0, 256, (64, 96, 3), dtype=np.uint8)
frame3 = np.random.randint(0, 256, (64, 96, 3), dtype=np.uint8)

bgr_frames = [frame1, frame2, frame3]
model = MinimalRIFE()

ARGS = {
    'bgr_frames': bgr_frames,
    'factor': 2,
    'model': model,
    'device': 'cpu'
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
cv2, numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type list, ndim 4, dtype family int — a list output has no array shape of its own; none is stated
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
farneback_flow Ran
ran, honoured the contract we drafted
otanl/dreamlite-stream/src/dreamlite_stream/flow.py
code served (permissive licence) · get_code("d6aadf4c98b84266")
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 ndarray, ndim 3, dtype family float, shape (32, 48, 2) 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 cv2
import numpy as np
import torch

torch.manual_seed(0)

# Create small grayscale images as numpy arrays
# Images need to be 2D numpy arrays (H, W) in uint8 or float format
prev_gray = np.random.randint(0, 256, size=(32, 48), dtype=np.uint8)
curr_gray = np.random.randint(0, 256, size=(32, 48), dtype=np.uint8)

ARGS = {
    "prev_gray": prev_gray,
    "curr_gray": curr_gray,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
cv2, numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ndarray, ndim 3, dtype family float, shape (32, 48, 2) — shape (32, 48, 2) 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
find_vision_tower Ran
ran; our contract draft was wrong, not the code
otanl/dreamlite-stream/src/dreamlite_stream/te_vit_compile.py
code served (permissive licence) · get_code("664ecef3a8f6336a")
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 VisionTower. 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)

# Create a minimal Vision Tower module
class VisionTower(nn.Module):
    def __init__(self):
        super().__init__()
        self.linear = nn.Linear(4, 3)
    
    def forward(self, x):
        return self.linear(x)

# Test case 1: Model with 'visual' attribute at top level
class Qwen3VLModel1(nn.Module):
    def __init__(self):
        super().__init__()
        self.visual = VisionTower()

# Test case 2: Model with 'vision_tower' attribute nested under 'model'
class Qwen3VLModel2(nn.Module):
    def __init__(self):
        super().__init__()
        self.model = nn.Module()
        self.model.vision_tower = VisionTower()

# Test case 3: Model with 'vision_model' attribute at top level
class Qwen3VLModel3(nn.Module):
    def __init__(self):
        super().__init__()
        self.vision_model = VisionTower()

# Test case 4: Model with no vision tower (should return None)
class Qwen3VLModel4(nn.Module):
    def __init__(self):
        super().__init__()
        self.other_attr = nn.Linear(4, 3)

# Use the first model as the primary test case
qwen_model = Qwen3VLModel1()

ARGS = {
    'qwen3vl_model': qwen_model
}
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 VisionTower — a VisionTower output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a VisionTower 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
find_visual_token_span Ran
ran, violated the contract we drafted
otanl/dreamlite-stream/src/dreamlite_stream/te_pruning.py
code served (permissive licence) · get_code("131822af3020f9d5")
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 Tensor, ndim 2, dtype family float, shape (2, 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

torch.manual_seed(0)

# Create a batch of input_ids with shape (B=2, L=4)
# These represent token sequences where some positions contain the image token
input_ids = torch.tensor([
    [101, 32000, 32000, 102],  # batch 0: two image tokens at positions 1-2
    [101, 32000, 103, 104]      # batch 1: one image token at position 1
], dtype=torch.long)

# The image token ID used by Qwen3-VL tokenizer
image_token_id = 32000

ARGS = {
    "input_ids": input_ids,
    "image_token_id": image_token_id,
}
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 Tensor, ndim 2, dtype family float, shape (2, 4) — shape (2, 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: none by the harness; any seed is in the setup block
hf_fft_log_ratio_loss Ran
ran; our contract draft was wrong, not the code
otanl/dreamlite-stream/src/dreamlite_stream/distillation_losses.py
code served (permissive licence) · get_code("b2521292eae86efd")
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 Tensor, ndim 0, dtype family float, 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

torch.manual_seed(0)

# Create small 4D tensors: (batch=2, channels=4, height=8, width=6)
# Grayscale conversion averages over channels, so channel dimension matters
student = torch.randn(2, 4, 8, 6)
teacher = torch.randn(2, 4, 8, 6)

ARGS = {
    "student": student,
    "teacher": teacher,
    "eps": 1e-06,
}
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 Tensor, ndim 0, dtype family float, 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
idpruner_select Ran
ran; our contract draft was wrong, not the code
otanl/dreamlite-stream/src/dreamlite_stream/te_pruning.py
code served (permissive licence) · get_code("f8725c10bbd1a52d")
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 Tensor, ndim 2, dtype family int, shape (2, 3) 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 dataclasses import dataclass

torch.manual_seed(0)

@dataclass
class IDPrunerConfig:
    """IDPruner configuration.

    Attributes:
        budget_k: target visual-token count after pruning. Choose to be a
            constant under ``reduce-overhead`` so CUDA-graph capture stays
            stable. Typical values for Qwen3-VL @ 256x256 input (~256
            visual tokens): 192 (25% prune), 128 (50%), 64 (75%), 32 (87%).
        lambda_balance: MMR balance between importance and diversity.
            1.0 = pure importance (collapses to top-K), 0.0 = pure
            diversity (greedy farthest-point sampling). Paper default 0.7.
        importance_metric: how to score per-token importance. ``"l2"``
            uses the projected visual embedding L2 norm (cheap, no extra
            matmul); ``"attn_diag"`` uses a forward through one attention
            layer to score (more expensive, may need eager attn).
        pad_with: how to fill positions beyond ``budget_k``. ``"zero"``
            zeros the embeddings and zeros the attention mask; ``"learned"``
            would use a trained pad embedding (not implemented).
    """
    budget_k: int = 128
    lambda_balance: float = 0.7
    importance_metric: str = 'l2'
    pad_with: str = 'zero'

    def __post_init__(self) -> None:
        if self.budget_k <= 0:
            raise ValueError(f'budget_k must be positive; got {self.budget_k}')
        if not 0.0 <= self.lambda_balance <= 1.0:
            raise ValueError(f'lambda_balance must be in [0, 1]; got {self.lambda_balance}')
        if self.importance_metric not in {'l2', 'attn_diag'}:
            raise ValueError(f'unknown importance_metric: {self.importance_metric}')
        if self.pad_with not in {'zero', 'learned'}:
            raise ValueError(f'unknown pad_with: {self.pad_with}')
        if self.pad_with == 'learned':
            raise NotImplementedError('learned pad embedding not implemented yet')


# Create a small visual tokens tensor (B=2, V=5, D=4)
visual_tokens = torch.randn(2, 5, 4)

# Create a valid config
cfg = IDPrunerConfig(
    budget_k=3,
    lambda_balance=0.7,
    importance_metric='l2',
    pad_with='zero'
)

ARGS = {
    'visual_tokens': visual_tokens,
    'cfg': cfg
}
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 Tensor, ndim 2, dtype family int, shape (2, 3) — shape (2, 3) 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
install_global_sdpa_patch Ran
ran; our contract draft was wrong, not the code
otanl/dreamlite-stream/src/dreamlite_stream/sage_attn.py
code served (permissive licence) · get_code("e00248d7166cad7c")
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 _GlobalPatchHandle. The image it ran in was not recorded. The code mentions cuda, and the harness aliases cuda to the CPU for every sample; whether this run needed that is 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.functional as F
from enum import Enum

torch.manual_seed(0)

# The function install_global_sdpa_patch takes one parameter: backend
# backend is Optional[SageBackend], so it can be None or a SageBackend enum value

class SageBackend(Enum):
    """Which SageAttention kernel to use."""
    SAGE3_FP4 = 'sage3_fp4'
    SAGE2_FP8_CUDA = 'sage2_fp8_cuda'
    SAGE2_INT8_TRITON = 'sage2_int8_triton'

ARGS = {
    'backend': 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 _GlobalPatchHandle — a _GlobalPatchHandle output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a _GlobalPatchHandle 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
load_results Ran
ran; our contract draft was wrong, not the code
otanl/dreamlite-stream/src/dreamlite_stream/paper_table.py
code served (permissive licence) · get_code("6ac440ade25a76fa")
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 list, ndim 1, 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 json
import tempfile
import os

# Create a temporary file with JSONL content
temp_dir = tempfile.mkdtemp()
results_file = os.path.join(temp_dir, "results.jsonl")

# Write sample JSONL data
with open(results_file, 'w', encoding='utf-8') as f:
    f.write(json.dumps({"id": 1, "value": "test1"}) + "\n")
    f.write(json.dumps({"id": 2, "value": "test2"}) + "\n")
    f.write(json.dumps({"id": 3, "value": "test3"}) + "\n")

ARGS = {
    "results_path": results_file
}
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 list, ndim 1, dtype family float — a list output has no array shape of its own; none is stated
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
make_main_table Ran
ran; our contract draft was wrong, not the code
otanl/dreamlite-stream/src/dreamlite_stream/paper_table.py
code served (permissive licence) · get_code("2f2dcbd8af52d9f0")
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 str. 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 collections import defaultdict
from statistics import mean, stdev

torch.manual_seed(0)

# Construct sample rows matching what make_main_table expects
rows = [
    {'method': 'base_4st', 'fps': 24.5, 'warp_err': 2.3, 'hit_rate': 0.92},
    {'method': 'base_4st', 'fps': 25.1, 'warp_err': 2.1, 'hit_rate': 0.93},
    {'method': 'base_2st', 'fps': 32.4, 'warp_err': 3.1, 'hit_rate': 0.88},
    {'method': 'base_2st', 'fps': 31.8, 'warp_err': 3.2, 'hit_rate': 0.87},
    {'method': 'blend_2st', 'fps': 29.7, 'warp_err': 2.8, 'hit_rate': 0.90},
    {'method': 'blend_2st', 'fps': 30.2, 'warp_err': 2.6, 'hit_rate': 0.91},
    {'method': 'lllite', 'fps': 28.1, 'warp_err': 2.4, 'hit_rate': 0.91},
    {'method': 'spec_t50', 'fps': 26.5, 'warp_err': 2.2, 'hit_rate': 0.94},
    {'method': 'spec_t200', 'fps': 27.3, 'warp_err': 2.5, 'hit_rate': 0.93},
]

ARGS = {
    'rows': rows,
}
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 str — a str output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a str 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
make_motion_table Ran
ran; our contract draft was wrong, not the code
otanl/dreamlite-stream/src/dreamlite_stream/paper_table.py
code served (permissive licence) · get_code("387f832f4dee3436")
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 str. 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 numpy as np
from collections import defaultdict

# Create sample rows with the required fields
rows = [
    # slow motion videos
    {'sequence': 'blackswan', 'method': 'base_4st', 'fps': 28.5, 'warp_err': 2.3},
    {'sequence': 'libby', 'method': 'base_4st', 'fps': 29.1, 'warp_err': 2.1},
    {'sequence': 'blackswan', 'method': 'base_2st', 'fps': 30.2, 'warp_err': 2.5},
    {'sequence': 'libby', 'method': 'base_2st', 'fps': 31.0, 'warp_err': 2.4},
    {'sequence': 'swing', 'method': 'blend_2st', 'fps': 32.1, 'warp_err': 2.2},
    {'sequence': 'camel', 'method': 'blend_2st', 'fps': 31.5, 'warp_err': 2.3},
    
    # medium motion videos
    {'sequence': 'dance-twirl', 'method': 'base_4st', 'fps': 25.3, 'warp_err': 3.1},
    {'sequence': 'goat', 'method': 'base_4st', 'fps': 24.8, 'warp_err': 3.2},
    {'sequence': 'dance-twirl', 'method': 'base_2st', 'fps': 27.5, 'warp_err': 3.3},
    {'sequence': 'kite-surf', 'method': 'base_2st', 'fps': 26.9, 'warp_err': 3.4},
    {'sequence': 'goat', 'method': 'lllite', 'fps': 28.1, 'warp_err': 3.0},
    {'sequence': 'kite-surf', 'method': 'lllite', 'fps': 27.8, 'warp_err': 3.2},
    
    # fast motion videos
    {'sequence': 'scooter-black', 'method': 'base_4st', 'fps': 20.5, 'warp_err': 4.5},
    {'sequence': 'bmx-trees', 'method': 'base_4st', 'fps': 19.8, 'warp_err': 4.7},
    {'sequence': 'scooter-black', 'method': 'spec_t50', 'fps': 22.3, 'warp_err': 4.2},
    {'sequence': 'parkour', 'method': 'spec_t50', 'fps': 21.9, 'warp_err': 4.3},
    {'sequence': 'bmx-trees', 'method': 'spec_t200', 'fps': 23.5, 'warp_err': 4.1},
    {'sequence': 'parkour', 'method': 'spec_t200', 'fps': 24.1, 'warp_err': 4.0},
]

ARGS = {
    'rows': rows,
}
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 str — a str output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a str 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
make_time_ids Ran
ran, honoured the contract we drafted
otanl/dreamlite-stream/src/dreamlite_stream/pipeline_ops.py
code served (permissive licence) · get_code("8c1796bb03fc6458")
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 Tensor, ndim 2, dtype family float, shape (1, 2) 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

torch.manual_seed(0)

ARGS = {
    "width": 512,
    "height": 768,
    "device": torch.device("cpu"),
    "dtype": torch.float32,
}
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 Tensor, ndim 2, dtype family float, shape (1, 2) — shape (1, 2) 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
pixel_mse_loss Ran
ran; our contract draft was wrong, not the code
otanl/dreamlite-stream/src/dreamlite_stream/distillation_losses.py
code served (permissive licence) · get_code("03890a2e010a35d9")
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 Tensor, ndim 0, dtype family float, 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 torch.nn.functional as F

torch.manual_seed(0)

# Create small tensors for the function
# student_v_pred: model predictions in latent space
student_v_pred = torch.randn(2, 4, dtype=torch.float32)

# target_v: ground truth values in latent space
target_v = torch.randn(2, 4, dtype=torch.float32)

ARGS = {
    "student_v_pred": student_v_pred,
    "target_v": target_v,
}
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 Tensor, ndim 0, dtype family float, 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
prune_and_pad Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
otanl/dreamlite-stream/src/dreamlite_stream/te_pruning.py
code served (permissive licence) · get_code("6e9846d2b9b3cb1e")
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 tuple. 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)

# Set up small tensors for testing
B = 2  # batch size
L = 8  # sequence length
D = 4  # embedding dimension
V = 5  # number of visual tokens (at most)
K = 3  # budget_k - number of tokens to keep

# Create inputs_embeds: (B, L, D)
inputs_embeds = torch.randn(B, L, D)

# Create attention_mask: (B, L)
# All ones initially, will be zeroed for dropped positions
attention_mask = torch.ones(B, L, dtype=torch.long)

# Create visual_mask: (B, L) bool
# Mark some positions as visual tokens
visual_mask = torch.zeros(B, L, dtype=torch.bool)
# For batch 0: visual tokens at positions [1, 2, 3, 4, 5]
visual_mask[0, 1:6] = True
# For batch 1: visual tokens at positions [2, 3, 4, 5, 6]
visual_mask[1, 2:7] = True

# Create selected: (B, K) long indices
# These are indices into the V dimension (which visual token to select)
# selected[b, k] tells us which of the V visual tokens to keep at position k
selected = torch.tensor(
    [[0, 2, 4],   # batch 0: select visual tokens at indices 0, 2, 4
     [1, 2, 3]],  # batch 1: select visual tokens at indices 1, 2, 3
    dtype=torch.long
)

budget_k = K

ARGS = {
    "inputs_embeds": inputs_embeds,
    "attention_mask": attention_mask,
    "visual_mask": visual_mask,
    "selected": selected,
    "budget_k": budget_k,
}
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 tuple — a tuple output has no array shape of its own; none is 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
read_video_frames Ran
ran, honoured the contract we drafted
otanl/dreamlite-stream/src/dreamlite_stream/metrics.py
code served (permissive licence) · get_code("875aed342a241567")
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 list, ndim 4, dtype family int; 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 cv2
import numpy as np
import tempfile
import os

# Create a temporary video file for testing
def create_test_video(filepath, width=640, height=480, num_frames=5):
    """Create a simple test video file."""
    fourcc = cv2.VideoWriter_fourcc(*'mp4v')
    out = cv2.VideoWriter(filepath, fourcc, 30.0, (width, height))
    
    for i in range(num_frames):
        # Create a simple frame with changing color
        frame = np.zeros((height, width, 3), dtype=np.uint8)
        frame[:, :, i % 3] = (i * 50) % 256  # Vary one channel
        out.write(frame)
    
    out.release()

# Create a temporary video file
temp_dir = tempfile.gettempdir()
video_path = os.path.join(temp_dir, "test_video.mp4")
create_test_video(video_path, width=640, height=480, num_frames=5)

ARGS = {
    "path": video_path,
    "size": 224,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
cv2, numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type list, ndim 4, dtype family int — a list output has no array shape of its own; none is stated
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
reference_l1 Ran
ran, honoured the contract we drafted
otanl/dreamlite-stream/src/dreamlite_stream/metrics.py
code served (permissive licence) · get_code("71266c34bb2712c4")
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 float, ndim 0, dtype family float, 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 numpy as np

# Create small test frames and reference frames
# Each frame is a uint8 RGB image (H, W, C) with pixel values in range 0-255
test_frames = [
    np.random.randint(0, 256, size=(4, 3, 3), dtype=np.uint8),
    np.random.randint(0, 256, size=(4, 3, 3), dtype=np.uint8),
]

ref_frames = [
    np.random.randint(0, 256, size=(4, 3, 3), dtype=np.uint8),
    np.random.randint(0, 256, size=(4, 3, 3), dtype=np.uint8),
]

ARGS = {
    "test_frames": test_frames,
    "ref_frames": ref_frames,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type float, ndim 0, dtype family float, 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
set_timesteps Ran
ran; our contract draft was wrong, not the code
otanl/dreamlite-stream/src/dreamlite_stream/pipeline_ops.py
code served (permissive licence) · get_code("0bab832f9408af04")
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 tuple. 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 numpy as np
from torch import nn
from typing import Tuple

torch.manual_seed(0)

# Create a minimal VAE mock
class MinimalVAE(nn.Module):
    def __init__(self):
        super().__init__()
        self.scale_factor = 8
    
    @property
    def vae_scale_factor(self):
        return self.scale_factor

# Create a minimal scheduler mock
class MinimalScheduler:
    def __init__(self):
        self.config = {
            'base_image_seq_len': 256,
            'max_image_seq_len': 4096,
            'base_shift': 0.5,
            'max_shift': 1.16
        }
        self.timesteps = torch.tensor([])
    
    def set_timesteps(self, sigmas, device, mu):
        # Store the timesteps as a tensor
        self.timesteps = torch.tensor(sigmas, dtype=torch.float32, device=device)

# Create a minimal pipeline mock
class MinimalPipeline:
    def __init__(self):
        self.vae = MinimalVAE()
        self.scheduler = MinimalScheduler()
    
    @property
    def vae_scale_factor(self):
        return self.vae.vae_scale_factor

# Construct the pipeline
pipeline = MinimalPipeline()

# Define arguments
ARGS = {
    'pipeline': pipeline,
    'height': 512,
    'width': 512,
    'num_inference_steps': 20,
    'device': 'cpu'
}
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 tuple — a tuple output has no array shape of its own; none is 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
temporal_blend Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
otanl/dreamlite-stream/src/dreamlite_stream/frame_interp.py
code served (permissive licence) · get_code("73537ff2f1ae66bf")
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 list, ndim 4, dtype family int; 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 numpy as np
import cv2

# Create small test BGR frames (numpy arrays in BGR format)
# Using shape (H, W, 3) where H and W are distinct
frame1 = np.random.randint(0, 256, (64, 128, 3), dtype=np.uint8)
frame2 = np.random.randint(0, 256, (64, 128, 3), dtype=np.uint8)
frame3 = np.random.randint(0, 256, (64, 128, 3), dtype=np.uint8)

bgr_frames = [frame1, frame2, frame3]

# prev_anchor: either None or a BGR frame from previous batch
prev_anchor = np.random.randint(0, 256, (64, 128, 3), dtype=np.uint8)

# alpha: blending factor between 0 and 0.95
alpha = 0.5

# use_flow_warp: boolean flag for using optical flow warping
use_flow_warp = False

ARGS = {
    "bgr_frames": bgr_frames,
    "prev_anchor": prev_anchor,
    "alpha": alpha,
    "use_flow_warp": use_flow_warp,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
cv2, numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type list, ndim 4, dtype family int — a list output has no array shape of its own; none is stated
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
to_gray Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
otanl/dreamlite-stream/src/dreamlite_stream/flow.py
code served (permissive licence) · get_code("f35c51dfae843774")
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 ndarray, ndim 2, dtype family int, shape (4, 3) 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 cv2
import numpy as np

# Create a small RGB image as uint8
# Use distinct dimensions: 4 height, 3 width, 3 channels for RGB
rgb_image = np.random.randint(0, 256, size=(4, 3, 3), dtype=np.uint8)

ARGS = {
    "rgb_uint8": rgb_image
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
cv2, numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ndarray, ndim 2, dtype family int, shape (4, 3) — shape (4, 3) 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
warp_latent Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
otanl/dreamlite-stream/src/dreamlite_stream/flow.py
code served (permissive licence) · get_code("6573d5a392a0b60b")
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 Tensor, ndim 4, dtype family float, shape (2, 4, 8, 6) 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 cv2
import numpy as np
import torch
import torch.nn.functional as F

torch.manual_seed(0)

# Create a small latent tensor: shape (B, C, h, w) = (2, 4, 8, 6)
latent = torch.randn(2, 4, 8, 6, dtype=torch.float32)

# Create a flow image: shape (H, W, 2) where H=16, W=12
# The flow should be larger than the latent spatial dims
flow_img = np.random.randn(16, 12, 2).astype(np.float32)

# VAE scale factor
vae_scale_factor = 8

ARGS = {
    "latent": latent,
    "flow_img": flow_img,
    "vae_scale_factor": vae_scale_factor,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
cv2, numpy, 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, 8, 6) — shape (2, 4, 8, 6) 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
compile_vision_tower Not yet run
unverified (harvested, no recorded run)
otanl/dreamlite-stream/src/dreamlite_stream/te_vit_compile.py
code served (permissive licence) · get_code("fac55ef25434014c")
How it ran

no invocation recorded.

perceptual_lpips_loss Not yet run
unverified (harvested, no recorded run)
otanl/dreamlite-stream/src/dreamlite_stream/distillation_losses.py
code served (permissive licence) · get_code("39a8904499b25fcd")
How it ran

no invocation recorded.

sage_sdpa Not yet run
unverified (harvested, no recorded run)
otanl/dreamlite-stream/src/dreamlite_stream/sage_attn.py
code served (permissive licence) · get_code("8927cc97a76a68c4")
How it ran

no invocation recorded.

select_backend Not yet run
unverified (harvested, no recorded run)
otanl/dreamlite-stream/src/dreamlite_stream/sage_attn.py
code served (permissive licence) · get_code("825052fb031a5108")
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

Aggressive distillation of the diffusion U-Net inverts the per-frame bottleneck of real-time text-to-image pipelines: once the denoiser is a 4-step or 1-step distilled student, the text encoder becomes the critical path. This inversion is most acute in vision-aware edit diffusion, where the encoder is a multimodal large language model (MLLM). We study the case of a 0.39 B distilled edit U-Net paired with a 2.13 B MLLM text encoder (Qwen3-VL) and present a streaming pipeline targeted at this regime, addressing the inversion with three mechanisms that keep the encoder off the denoiser's critical path rather than trying to shrink the encoder itself: asymmetric side-stream / main-stream CUDA pipelining with batched text-encoder amortisation (and optional static-prompt caching), a compile-friendly ControlNet-LLLite reformulation that folds the entire U-Net + adapter stack into a single fused graph, and a periodic conditioningrefresh schedule with a hook subset that amortises the perframe conditioning cost. On a single consumer RTX 3090 Ti at 512×512 this sustains 27-30 FPS over a 480-frame run; at the same operating point steady-state throughput scales to 55 FPS on RTX 4090 and 74 FPS on RTX 5090 (full operating points in Table II). This demonstrates that once denoiser distillation is aggressive enough, further per-frame gains come from encoderside systems work rather than from compressing the denoiser further -the opposite lever from the one the streaming-diffusion literature has optimised to date. We report video-rate streaming throughput rather than interactive low latency, and locate our numbers against same-stack StreamDiffusion re-runs as systems context, not as a benchmark superiority claim. For the trained oilpainting style, the released temporal adapter generalises within in-clip noise to 19 unused DAVIS-2017 sequences and 15 non-DAVIS clips from seven sources; prompt-level generalisation to unseen style families is bounded and reported separately.

For agents

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

get_harvested_code_for_paper("2606.05981")
get_code_for_paper("2606.05981")
have("2606.05981")

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

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

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

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

Connect an agent — have() is free.