From 4fb50c43000b7d5d8e299ed821f696f7699bbbe6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tuomas=20M=C3=A4kinen?= <1947505+tuommaki@users.noreply.github.com> Date: Tue, 5 Mar 2024 10:18:10 +0200 Subject: [PATCH] Fix GPU reqs argument for program deployment (#121) --- crates/cli/src/main.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/cli/src/main.rs b/crates/cli/src/main.rs index 3c02ec5c..d474b539 100644 --- a/crates/cli/src/main.rs +++ b/crates/cli/src/main.rs @@ -61,7 +61,7 @@ enum ConfCommands { #[clap(long = "provermem", value_name = "PROVER MEM")] prover_mem: Option, /// number of gpus to allocate for the proving task (currently only 0 or 1 allowed). - #[clap(long = "provermem", value_name = "PROVER GPUS", value_parser = gpus_parser)] + #[clap(long = "provergpus", value_name = "PROVER GPUS", value_parser = gpus_parser)] prover_gpus: Option, /// number of cpus to allocate for the proving task. #[clap(long = "verifiercpus", value_name = "VERIFIER CPUS")] @@ -70,7 +70,7 @@ enum ConfCommands { #[clap(long = "verifiermem", value_name = "VERIFIER MEM")] verifier_mem: Option, /// number of gpus to allocate for the proving task (currently only 0 or 1 allowed). - #[clap(long = "verifiermem", value_name = "VERIFIER GPUS", value_parser = gpus_parser)] + #[clap(long = "verifiergpus", value_name = "VERIFIER GPUS", value_parser = gpus_parser)] verifier_gpus: Option, /// Address the local http server use by the node to download images. #[clap(