Skip to content

Commit f04046c

Browse files
Cristian GarciaGoogle-ML-Automation
authored andcommitted
use State instead of GraphState
PiperOrigin-RevId: 897380120
1 parent 993a5a6 commit f04046c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/maxdiffusion/pipelines/wan/wan_vace_pipeline_2_1.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -689,7 +689,7 @@ def prepare_video_latents(
689689
@partial(jax.jit, static_argnames=("do_classifier_free_guidance", "guidance_scale"))
690690
def transformer_forward_pass(
691691
graphdef: nnx.graph.GraphDef,
692-
sharded_state: nnx.graph.GraphState,
692+
sharded_state: nnx.State,
693693
rest_of_state: Any,
694694
latents: jax.Array,
695695
timestep: jax.Array,

0 commit comments

Comments
 (0)