on amd directml starlight 2.6. will crash nomatter what. probably only cuda clean up in the interference settings? so when running on amd gpu, it’s not doing reclaim/garbage collect.
2026-10-30 11-15-20.208 Thread: 14164 Info FF Process Output: 4 RuntimeError: Could not allocate tensor with 452984832 bytes. There is not enough GPU video memory available! ERROR:local_model_service:Error running video restoration: Could not allocate tensor with 452984832 bytes. There is not enough GPU video memory available! 2026-10-30 11-15-20.208 Thread: 14164 Info FF Process Output: 4 ERROR:local_model_service:single_shot_process failed with status: MODEL_INFERENCE_ERROR 2026-10-30 11-15-20.254 Thread: 14164 Info FF Process Output: 4 single_shot_process status: TopServingErrorCode.MODEL_INFERENCE_ERROR, {}import gc
import torchdel intermediate_tensor # Delete unused tensors
gc.collect() # Run Python garbage collection
torch.cuda.empty_cache() # Release inactive cached segments back to CUDA
torch.cuda.ipc_collect() # Clean up IPC memory
benchmark topic
Can you share the full log entry for the team to review this situation?
To gather logs, please select Help > Logging > Get Logs for Support and attach the zip file to your reply.
Here is a video to help with the steps of how to collect the logs.
