This page tests the new collapsible stderr warning feature. Cells with stderr output should show a "⚠ Warnings" button that can be clicked to expand/collapse the warning messages.
model = create_js_with_sep_model()
n, w_vals, P, P_cumsum, β, c, α, γ = model
v_u_init = jnp.zeros(n)
v_e_init = jnp.zeros(n)
v_u, v_e, w_bar_first = solve_model_first_pass(model, v_u_init, v_e_init)
W1123 10:15:26.780179 23830 cuda_executor.cc:1802] GPU interconnect information not available: INTERNAL: NVML doesn't support extracting fabric info or NVLink is not used by the device.
W1123 10:15:26.783637 23767 cuda_executor.cc:1802] GPU interconnect information not available: INTERNAL: NVML doesn't support extracting fabric info or NVLink is not used by the device.
This cell has no stderr, so it should render normally without a warning button.
print("Hello, World!")
Hello, World!
run_complex_calculation()
WARNING: Deprecated function call detected
WARNING: Configuration file not found, using defaults
Calculation completed successfully