aboutsummaryrefslogtreecommitdiff
path: root/ethosu/vela/vela.py
diff options
context:
space:
mode:
authorTim Hall <tim.hall@arm.com>2020-06-09 13:17:21 +0100
committerTim Hall <tim.hall@arm.com>2020-06-18 17:53:52 +0100
commit284223e8e086dc6c7b7f1edf3b3555401e3d0a96 (patch)
treee7192f267b2c8f0b8eac027bc1fe0530cce1b592 /ethosu/vela/vela.py
parentf1b67deadf80db5c7c65d5a31737e57047fff533 (diff)
downloadethos-u-vela-284223e8e086dc6c7b7f1edf3b3555401e3d0a96.tar.gz
MLBEDSW-2471: Remove unused CLI options
- Removed --inter-pass-cycle-delay - Removed --dram-bandwidth - Removed --batch-size Signed-off-by: Tim Hall <tim.hall@arm.com> Change-Id: Ib613f47a9e911c652e522b5aa9ec58ae5391b0fd
Diffstat (limited to 'ethosu/vela/vela.py')
-rw-r--r--ethosu/vela/vela.py17
1 files changed, 1 insertions, 16 deletions
diff --git a/ethosu/vela/vela.py b/ethosu/vela/vela.py
index bd5409ce..8dda8606 100644
--- a/ethosu/vela/vela.py
+++ b/ethosu/vela/vela.py
@@ -123,7 +123,6 @@ def main(args=None):
"--output-dir", type=str, default="output", help="Output directory to write files to (default: %(default)s)"
)
parser.add_argument("--config", type=str, help="Location of vela configuration file")
- parser.add_argument("--batch-size", type=int, default=1, help="Batch size (default: %(default)s)")
parser.add_argument("--verbose-graph", action="store_true", help="Verbose graph rewriter")
parser.add_argument("--verbose-quantization", action="store_true", help="Verbose quantization")
@@ -166,12 +165,6 @@ def main(args=None):
help="Controls the overlapping of IFM and OFM buffers (default: %(default)s)",
)
parser.add_argument("--force-block-config", type=str, default="", help="Force a specific block configuration HxWxC")
- parser.add_argument(
- "--inter-pass-cycle-delay",
- type=int,
- default=0,
- help="Artificial delay between passes, measured in NPU cycles (default: %(default)s)",
- )
parser.add_argument("--timing", action="store_true", help="Time the compiler doing operations")
parser.add_argument(
"--accelerator-config",
@@ -187,12 +180,6 @@ def main(args=None):
help="System configuration to use (default: %(default)s)",
)
parser.add_argument(
- "--dram-bandwidth",
- type=float,
- default=0.0,
- help="DRAM memory bandwidth in GB/s, use zero to select the value from system config (default: %(default)s)",
- )
- parser.add_argument(
"--permanent-storage",
default=MemArea.OffChipFlash,
type=lambda s: MemArea[s],
@@ -285,8 +272,6 @@ def main(args=None):
system_config=args.system_config,
accelerator_config=args.accelerator_config,
permanent_storage=args.permanent_storage,
- inter_pass_cycle_delay=args.inter_pass_cycle_delay,
- dram_bandwidth=args.dram_bandwidth,
override_block_config=force_block_config,
block_config_limit=args.block_config_limit,
global_memory_clock_scale=args.global_memory_clock_scale,
@@ -319,7 +304,7 @@ def main(args=None):
pareto_metric=args.pareto_metric,
)
- model_reader_options = model_reader.ModelReaderOptions(batch_size=args.batch_size)
+ model_reader_options = model_reader.ModelReaderOptions()
os.makedirs(args.output_dir, exist_ok=True)