runtime error
Exit code: 1. Reason: e-packages/torch/cuda/__init__.py:61: FutureWarning: The pynvml package is deprecated. Please install nvidia-ml-py instead. If you did not install pynvml directly, please report this to the maintainers of the package that installed pynvml for you. import pynvml # type: ignore[import] ā Applied Gradio schema bug fix (gradio_client.utils.get_type) ā Gradio schema bug fix applied successfully torch.compile disabled by default (set ENABLE_TORCH_COMPILE=true to enable) Gradio version: 4.44.1 Found model code at: /app/SRMA-Mamba mamba_ssm CUDA extension loaded (version: 2.3.0) - fast path enabled selective_scan_cuda_oflex CUDA extension loaded - fast path enabled /app/SRMA-Mamba/model/mamba2/ssd_combined.py:764: FutureWarning: `torch.cuda.amp.custom_fwd(args...)` is deprecated. Please use `torch.amp.custom_fwd(args..., device_type='cuda')` instead. def forward(ctx, zxbcdt, conv1d_weight, conv1d_bias, dt_bias, A, D, chunk_size, initial_states=None, seq_idx=None, dt_limit=(0.0, float("inf")), return_final_states=False, activation="silu", /app/SRMA-Mamba/model/mamba2/ssd_combined.py:842: FutureWarning: `torch.cuda.amp.custom_bwd(args...)` is deprecated. Please use `torch.amp.custom_bwd(args..., device_type='cuda')` instead. def backward(ctx, dout, *args): ā Successfully imported build_SRMAMamba ============================================================ STARTUP HEALTH CHECK ============================================================ PyTorch: 2.5.1+cu121 CUDA Available: False MONAI: 1.5.2 Gradio: 4.44.1 NiBabel: 5.3.3 CUDA Extensions Status: mamba_ssm: INSTALLED (version: 2.3.0) selective_scan_cuda_oflex: INSTALLED Environment Variables: PYTORCH_ALLOC_CONF: expandable_segments:True,max_split_size_mb=128 Traceback (most recent call last): File "/app/app.py", line 254, in <module> log_startup_health() File "/app/app.py", line 247, in log_startup_health print(f" ENABLE_CUDNN_BENCHMARK: {config.ENABLE_CUDNN_BENCHMARK}") UnboundLocalError: local variable 'config' referenced before assignment
Container logs:
Fetching error logs...