Allow printing proto graph in graphite-cli (#2388)

Allow disabling running of node network in graphite-cli

It seems that graphite-cli currently crashes on some GPUs which do not
support Vulkan. This commit improves the CLI, adding an option to
disable running the node network, which prevents the crash (but also
prevents any output from being shown).

Change default log levels

Restructure argument parsing
This commit is contained in:
Brad Neimann
2025-03-07 15:31:32 +11:00
committed by Dennis Kobert
parent 0a91dd2141
commit 85fac63bb2
3 changed files with 127 additions and 66 deletions

View File

@@ -45,6 +45,9 @@ image = { workspace = true, default-features = false, features = [
"png",
] }
# Required dependencies
clap = { version = "4.5.31", features = ["cargo", "derive"] }
# Optional local dependencies
wgpu-executor = { path = "../wgpu-executor", optional = true }
gpu-executor = { path = "../gpu-executor", optional = true }