if 'handle_0 INTERNAL ASSERT FAILED' in str(e): print('捕获到“RuntimeError: handle_0 INTERNAL ASSERT FAILED”错误!') # 在这里可以添加更多处理逻辑,比如记录日志、回退操作等。 在上述代码中,我们使用try-except语句来捕获RuntimeError异常。如果捕获到的异常中包含“handle_0 INTERNAL ASSERT FAILED”字...
return self.sample_hr_pass(samples, decoded_samples, seeds, subseeds, subseed_strength, prompts) File "/mnt/p/home/flyang/stable-diffusion-webui/modules/processing.py", line 1216, in sample_hr_pass samples = images_tensor_to_samples(decoded_samples, approximation_indexes.get(opts.sd_vae_enco...
@@ -421,8 +421,6 @@ public static StreamThread create(final InternalTopologyBuilder builder, cache::resize ); taskManager.setPartitionResetter(partitions -> streamThread.resetOffsets(partitions, null)); return streamThread.updateThreadMetadata(getSharedAdminClientId(clientId)); } @@ -839,7 +837...