Skip to content

Commit eeee1af

Browse files
committed
Onboard Flux.2-klein-4B: Implement latent noise generation, Qwen3 prompt embeddings, JAX projection layer, Euler scheduler, 4D RoPE, and verified block parity
1 parent 1d6fe9b commit eeee1af

5 files changed

Lines changed: 918 additions & 112 deletions

File tree

new-test.txt

Whitespace-only changes.

src/maxdiffusion/models/embeddings_flax.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -446,7 +446,7 @@ def __call__(self, ids):
446446
pos = ids.astype(self.dtype)
447447
freqs_dtype = self.dtype
448448
for i in range(n_axes):
449-
out = get_1d_rotary_pos_embed(self.axes_dim[i], pos[..., i], freqs_dtype=freqs_dtype)
449+
out = get_1d_rotary_pos_embed(self.axes_dim[i], pos[..., i], theta=self.theta, freqs_dtype=freqs_dtype)
450450
out_freqs.append(out)
451451

452452
out_freqs = jnp.concatenate(out_freqs, axis=1)

0 commit comments

Comments
 (0)