Initial commit

This commit is contained in:
2026-03-04 23:14:17 +01:00
commit 4bb7ca9074
4 changed files with 525 additions and 0 deletions

27
Cargo.toml Normal file
View File

@@ -0,0 +1,27 @@
[package]
name = "comfyui-demo"
version = "0.1.0"
edition = "2021"
[dependencies]
clap = { version = "4.0", features = ["derive"] }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
anyhow = "1.0"
stablediffusion = { path = "../stable-diffusion-burn" }
burn = "0.14.0"
burn-autodiff = "0.14.0"
burn-ndarray = "0.14.0"
burn-wgpu = { version = "0.14.0", optional = true }
# Only include burn-tch when needed for CPU/CUDA/MPS (not for Vulkan)
# For Vulkan, we can use burn-wgpu directly without PyTorch
image = "0.24.6"
tokio = { version = "1.0", features = ["full"] }
cfg-if = "1.0"
[features]
wgpu-backend = ["burn-wgpu"]
[[bin]]
name = "comfyui-cli"
path = "src/main.rs"