blob: 31848f38da5f670de18b191d97c4bf263db48658 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
#[cfg(feature = "mkl")]
extern crate intel_mkl_src;
mod attention;
mod clip;
mod embeddings;
mod resnet;
mod unet_2d;
mod unet_2d_blocks;
mod utils;
mod vae;
use anyhow::Result;
use clap::Parser;
#[derive(Parser, Debug)]
#[command(author, version, about, long_about = None)]
struct Args {
/// Run on CPU rather than on GPU.
#[arg(long)]
cpu: bool,
#[arg(long)]
prompt: String,
}
fn main() -> Result<()> {
let _args = Args::parse();
Ok(())
}
|