Skip to content

fix: capture daemon stderr in DflashClient error messages#316

Open
Oxygen56 wants to merge 1 commit into
Luce-Org:mainfrom
Oxygen56:fix/issue-233
Open

fix: capture daemon stderr in DflashClient error messages#316
Oxygen56 wants to merge 1 commit into
Luce-Org:mainfrom
Oxygen56:fix/issue-233

Conversation

@Oxygen56
Copy link
Copy Markdown

Summary

  • Adds stderr=subprocess.STDOUT to the subprocess call that launches the dflash daemon
  • Previously, daemon errors printed to stderr were silently lost; users only saw a generic boot failure message
  • With this change, the actual daemon error (e.g., safetensors shape mismatch) is included in the Python RuntimeError

Fixes #233

Test Plan

  • Verified Python syntax is valid

Fixes Luce-Org#233

Redirects the dflash daemon's stderr to stdout so daemon error output
is included in the Python RuntimeError message instead of being
silently discarded.
Copy link
Copy Markdown
Contributor

@cubic-dev-ai cubic-dev-ai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 1 file

Re-trigger cubic

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

RuntimeError: dflash daemon exited before weights finished loading. Check the daemon's stderr.

1 participant