mirror of
https://github.com/n00mkrad/flowframes.git
synced 2026-07-13 22:09:40 +02:00
Better error handling for DAIN OOM
This commit is contained in:
@@ -294,7 +294,8 @@ namespace Flowframes
|
||||
if (!hasShownError && (line.Contains("vkQueueSubmit failed") || line.Contains("vkAllocateMemory failed")))
|
||||
{
|
||||
hasShownError = true;
|
||||
InterpolateUtils.ShowMessage($"A Vulkan error occured during interpolation!\n\n{line}", "Error");
|
||||
string dain = (Interpolate.current.ai.aiName == Networks.dainNcnn.aiName) ? "\n\nTry reducing the tile size in the AI settings." : "";
|
||||
InterpolateUtils.ShowMessage($"A Vulkan error occured during interpolation!\n\n{line}{dain}", "Error");
|
||||
}
|
||||
|
||||
if (!hasShownError && line.Contains("invalid gpu device"))
|
||||
|
||||
Reference in New Issue
Block a user