Skip to content

Commit e44604c

Browse files
authored
Lower mem footprint for Jupyter (#144)
Pass raypack `batch_size` for inference time Signed-off-by: operel <[email protected]>
1 parent cb47e10 commit e44604c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/notebook/view_pretrained.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@
133133
"# Initialize\n",
134134
"wisp_state = WispState()\n",
135135
"wisp_state.renderer.target_fps = 10\n",
136-
"add_pipeline_to_scene_graph(wisp_state, 'my neural field', pipeline) \n",
136+
"add_pipeline_to_scene_graph(wisp_state, 'my neural field', pipeline, batch_size=2**14)\n",
137137
"render_core = RendererCore(wisp_state)\n",
138138
"render_core.redraw()\n",
139139
"\n",
@@ -265,4 +265,4 @@
265265
},
266266
"nbformat": 4,
267267
"nbformat_minor": 5
268-
}
268+
}

0 commit comments

Comments
 (0)