Skip to content

feat: add er_sde sampler#1403

Open
rmatif wants to merge 1 commit intoleejet:masterfrom
rmatif:er-sde
Open

feat: add er_sde sampler#1403
rmatif wants to merge 1 commit intoleejet:masterfrom
rmatif:er-sde

Conversation

@rmatif
Copy link
Copy Markdown
Contributor

@rmatif rmatif commented Apr 8, 2026

constexpr int max_stage = 3;
constexpr int num_integration_points = 200;
constexpr float num_integration_points_f = 200.0f;
constexpr float s_noise = 1.0f;
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since we don't have a separate s_noise parameter, maybe this could reuse eta?

x = std::max(x, 0.0f);
return x * (std::exp(std::pow(x, 0.3f)) + 10.0f);
}

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If these won't be reused for other samplers, I'd suggest keeping them as lambdas inside sample_er_sde, or at least close to that function.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants