SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2209.14988 · 2022

DreamFusion: Text-to-3D using 2D Diffusion

Ben Poole, Ajay Jain, Jonathan Barron, Ben Mildenhall

arXiv · PDF · Open in the Atlas

Code that ran

10 of 11 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (6 of them constructed an object rather than computing a result; 0 honoured the contract we drafted, 0 violated it and 6 have no contract verdict; 4 failures of our instrument; 1 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/2209.14988.json · badge: /api/ran/2209.14988.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
muelea/buddi community
Papers with Code archive
6 ran · 0 no recorded run
chinhsuanwu/dreamfusionacc community
Papers with Code archive
4 ran · 1 no recorded run
FunctionStatusWhere it lives
BUDDI Ran
ran on a synthesized input · constructed an object; no result was computed
muelea/buddi/llib/models/regressors/buddi.py
code served (permissive licence) · get_code("ca268ca473be1a33")
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, BUDDI: 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
import numpy as np
import math

torch.manual_seed(0)

# Define ARGS dict with all parameters for BUDDI
ARGS = {
    'dim': 64,
    'depth': 2,
    'heads': 4,
    'mlp_dim': 128,
    'dropout': 0.1,
    'embed_guidance_config': {
        'orient_h0': 6,
        'pose_h0': 126,
        'shape_h0': 11,
        'transl_h0': 3,
        'orient_h1': 6,
        'pose_h1': 126,
        'shape_h1': 11,
        'transl_h1': 3,
        'orient_bev_h0': 6,
        'pose_bev_h0': 126,
        'shape_bev_h0': 11,
        'transl_bev_h0': 3,
        'orient_bev_h1': 6,
        'pose_bev_h1': 126,
        'shape_bev_h1': 11,
        'transl_bev_h1': 3,
        'human_h0': 146,
        'human_h1': 146,
        'action': 1,
        'contact': 5625
    },
    'embed_target_config': {
        'orient_h0': 6,
        'pose_h0': 126,
        'shape_h0': 11,
        'transl_h0': 3,
        'orient_h1': 6,
        'pose_h1': 126,
        'shape_h1': 11,
        'transl_h1': 3,
        'human_h0': 146,
        'human_h1': 146
    },
    'use_human_embedding': False,
    'use_param_embedding': False,
    'use_positional_encoding': False,
    'use_positional_embedding': False,
    'use_cross_attention': False,
    'share_linear_layers': False,
    'encode_target': False,
    'max_tokens': 100
}
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 BUDDI — 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 BUDDI 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
GuidanceEmbedder Ran
ran on a synthesized input · constructed an object; no result was computed
muelea/buddi/llib/models/regressors/buddi.py
code served (permissive licence) · get_code("24e90b5fae9e1139")
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, GuidanceEmbedder: 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 = {
    "input_dim": 4,
    "output_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 GuidanceEmbedder — 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 GuidanceEmbedder 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
PositionalEmbedding Ran
ran on a synthesized input · constructed an object; no result was computed
muelea/buddi/llib/models/regressors/buddi.py
code served (permissive licence) · get_code("2a245d7aeebe03eb")
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, PositionalEmbedding: 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,
    "max_positions": 200,
}
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 PositionalEmbedding — 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 PositionalEmbedding 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
PositionalEncoding Ran
ran on a synthesized input · constructed an object; no result was computed
muelea/buddi/llib/models/regressors/buddi.py
code served (permissive licence) · get_code("3ef471acb4f26961")
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, PositionalEncoding: 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)

# PositionalEncoding expects:
# - dim: int (embedding dimension)
# - max_positions: int (default 200, maximum sequence length)

ARGS = {
    'dim': 4,
    'max_positions': 8,
}
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 PositionalEncoding — 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 PositionalEncoding 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
TimestepEmbedder Ran
ran on a synthesized input · constructed an object; no result was computed
muelea/buddi/llib/models/regressors/buddi.py
code served (permissive licence) · get_code("7da551910bbe5ecf")
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, TimestepEmbedder: 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 math

torch.manual_seed(0)

# TimestepEmbedder requires:
# - latent_dim: int (even number, based on the TimestepEncoding check)

# Create a small valid latent_dim (must be even)
latent_dim = 4

ARGS = {
    'latent_dim': latent_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 TimestepEmbedder — 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 TimestepEmbedder 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
TimestepEncoding Ran
ran on a synthesized input · constructed an object; no result was computed
muelea/buddi/llib/models/regressors/buddi.py
code served (permissive licence) · get_code("ca7edcb03759432b")
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, TimestepEncoding: 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 math

torch.manual_seed(0)

ARGS = {
    'latent_dim': 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 TimestepEncoding — 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 TimestepEncoding 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
circle_poses Ran
ran; our contract draft was wrong, not the code
chinhsuanwu/dreamfusionacc/dataset/dreamfusion.py
code served (permissive licence) · get_code("c0d38f0243331ae0")
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

torch.manual_seed(0)

ARGS = {
    "device": "cpu",
    "radius": 1.25,
    "theta": 60,
    "phi": 0,
    "return_dirs": False,
    "angle_overhead": 30,
    "angle_front": 60,
}
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
get_view_direction Ran
ran; our contract draft was wrong, not the code
chinhsuanwu/dreamfusionacc/dataset/dreamfusion.py
code served (permissive licence) · get_code("b90dcdfe160a18ff")
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 1, dtype family int, shape (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 numpy as np

torch.manual_seed(0)

# Analyze the function to understand parameter requirements:
# - thetas: tensor used with .shape[0] and comparison operators (<=, >=)
# - phis: tensor used with comparison operators (<, >=)
# - overhead: scalar used in comparison (<=, >=)
# - front: scalar used in comparison (<, >=)

# Create small tensors for thetas and phis
thetas = torch.tensor([0.5, 1.5, 2.5, 3.0], dtype=torch.float32)
phis = torch.tensor([0.2, 1.0, 3.5, 4.0], dtype=torch.float32)

# Create scalar values for overhead and front
overhead = 0.3
front = 0.8

ARGS = {
    "thetas": thetas,
    "phis": phis,
    "overhead": overhead,
    "front": front
}
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 Tensor, ndim 1, dtype family int, shape (4,) — shape (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
rand_poses Ran
ran; our contract draft was wrong, not the code
chinhsuanwu/dreamfusionacc/dataset/dreamfusion.py
code served (permissive licence) · get_code("076be739d8dbb350")
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

torch.manual_seed(0)

ARGS = {
    'size': 2,
    'device': 'cpu',
    'radius_range': [1.2, 2.0],
    'theta_range': [0, 120],
    'phi_range': [0, 360],
    'return_dirs': True,
    'angle_overhead': 30,
    'angle_front': 60,
    'jitter': False,
    'uniform_sphere_rate': 0.5,
}
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
safe_normalize Ran
ran; our contract draft was wrong, not the code
chinhsuanwu/dreamfusionacc/dataset/dreamfusion.py
code served (permissive licence) · get_code("1c9cf033d080b2e0")
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)

# The function safe_normalize takes a tensor x and normalizes it
# by dividing by the L2 norm computed along the last dimension
# Parameters:
# - x: a tensor of any shape
# - eps: a small epsilon value for numerical stability (default 1e-20)

# Create a small test tensor with shape (2, 4)
# This gives us a batch of 2 vectors, each of dimension 4
x = torch.randn(2, 4)

# eps uses the default value from the function signature
eps = 1e-20

ARGS = {
    "x": x,
    "eps": eps,
}
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
DreamFusionLoader Not yet run
unverified (harvested, no recorded run)
chinhsuanwu/dreamfusionacc/dataset/dreamfusion.py
code served (permissive licence) · get_code("f7166bc2c8ed7628")
How it ran

no invocation recorded.

Also present in other papers' code

Of 11 samples lifted from this paper's linked repositories, 11 carry a function identity and 0 do not. Of the 11 distinct functions with an identity, 2 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 2 later) and 9 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
safe_normalize
brick of this paper's assembly: helper
6 other papers
6 later
2211.07600 (2022-11)
Latent-NeRF for Shape-Guided Generation of 3D Shapes and Textures
2308.08545 (2023-08)
TeCH: Text-guided Reconstruction of Lifelike Clothed Humans
2312.00778 (2023-12)
MorpheuS: Neural Dynamic 360° Surface Reconstruction from Monocular RGB-D Video
and 3 more not named here
get_view_direction
brick of this paper's assembly: helper
1 other paper
1 later
2302.13848 (2023-02)
ELITE: Encoding Visual Concepts into Textual Embeddings for Customized Text-to-Image Generation

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

Recent breakthroughs in text-to-image synthesis have been driven by diffusion models trained on billions of image-text pairs. Adapting this approach to 3D synthesis would require large-scale datasets of labeled 3D data and efficient architectures for denoising 3D data, neither of which currently exist. In this work, we circumvent these limitations by using a pretrained 2D text-to-image diffusion model to perform text-to-3D synthesis. We introduce a loss based on probability density distillation that enables the use of a 2D diffusion model as a prior for optimization of a parametric image generator. Using this loss in a DeepDream-like procedure, we optimize a randomly-initialized 3D model (a Neural Radiance Field, or NeRF) via gradient descent such that its 2D renderings from random angles achieve a low loss. The resulting 3D model of the given text can be viewed from any angle, relit by arbitrary illumination, or composited into any 3D environment. Our approach requires no 3D training data and no modifications to the image diffusion model, demonstrating the effectiveness of pretrained image diffusion models as priors. See dreamfusion3d.github.io for a more immersive view into our 3D results.

For agents

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

get_harvested_code_for_paper("2209.14988")
get_code_for_paper("2209.14988")
have("2209.14988")

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

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

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

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

Connect an agent — have() is free.