[Bugfix] Keep client error status in the single-GPU diffusion executor (#8474)
Signed-off-by: Wenbo Ji <36562829+fusheng-ji@users.noreply.github.com>
This commit is contained in:
1 parent
9146284c16
commit
539c533762
4 files changed
+80
-4
No files matched your search
@@ -1275,7 +1275,8 @@ class DiffusionModelRunner(DiffusionStagePayloadMixin):
|
||||
new_req.request_id,
|
||||
exc_info=True,
|
||||
)
|
||||
result = DiffusionOutput(error=str(exc))
|
||||
# Keep client-error metadata, matching the stepwise path below.
|
||||
result = DiffusionOutput.from_exception(exc)
|
||||
|
||||
step_index = getattr(new_req.req.sampling_params, "step_index", None)
|
||||
runner_outputs.append(
|
||||
|
||||
Reference in new issue
Block a user