Skip to content

Preflight without container#685

Draft
yeandy wants to merge 2 commits intomainfrom
dev/fuyuajin/preflight-without-container
Draft

Preflight without container#685
yeandy wants to merge 2 commits intomainfrom
dev/fuyuajin/preflight-without-container

Conversation

@yeandy
Copy link
Copy Markdown

@yeandy yeandy commented Apr 22, 2026

No description provided.

Move optional dependencies to lazy imports so preflight can run with
only torch installed. matplotlib is now imported only when --plot is
used; markdown2 and weasyprint are imported only inside md_to_pdf()
(skipped when --disable-pdf is passed).

---------

Co-authored-by: Andrew Ma <andrew.ma@amd.com>
@Xiaoming-AMD Xiaoming-AMD marked this pull request as draft May 8, 2026 09:23
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.

1 participant