|
| 1 | +# Licensed to the Apache Software Foundation (ASF) under one |
| 2 | +# or more contributor license agreements. See the NOTICE file |
| 3 | +# distributed with this work for additional information |
| 4 | +# regarding copyright ownership. The ASF licenses this file |
| 5 | +# to you under the Apache License, Version 2.0 (the |
| 6 | +# "License"); you may not use this file except in compliance |
| 7 | +# with the License. You may obtain a copy of the License at |
| 8 | +# |
| 9 | +# http://www.apache.org/licenses/LICENSE-2.0 |
| 10 | +# |
| 11 | +# Unless required by applicable law or agreed to in writing, software |
| 12 | +# distributed under the License is distributed on an "AS IS" BASIS, |
| 13 | +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 14 | +# See the License for the specific language governing permissions and |
| 15 | +# limitations under the License. |
| 16 | + |
| 17 | +--region=us-central1 |
| 18 | +--worker_machine_type=n1-standard-4 |
| 19 | +--num_workers=50 |
| 20 | +--disk_size_gb=50 |
| 21 | +--autoscaling_algorithm=NONE |
| 22 | +--staging_location=gs://temp-storage-for-perf-tests/loadtests |
| 23 | +--temp_location=gs://temp-storage-for-perf-tests/loadtests |
| 24 | +--requirements_file=apache_beam/ml/inference/pytorch_object_detection_requirements.txt |
| 25 | +--publish_to_big_query=true |
| 26 | +--metrics_dataset=beam_run_inference |
| 27 | +--metrics_table=result_torch_inference_object_detection_batch |
| 28 | +--input_options={} |
| 29 | +--influx_measurement=result_torch_inference_object_detection_batch |
| 30 | +--pretrained_model_name=fasterrcnn_resnet50_fpn |
| 31 | +--device=GPU |
| 32 | +--mode=batch |
| 33 | +--inference_batch_size=8 |
| 34 | +--resize_shorter_side=800 |
| 35 | +--score_threshold=0.5 |
| 36 | +--max_detections=50 |
| 37 | +--input=gs://apache-beam-ml/testing/inputs/openimage_50k_benchmark.txt |
| 38 | +--model_state_dict_path=gs://apache-beam-ml/models/torchvision.detection.fasterrcnn_resnet50_fpn.pth |
| 39 | +--runner=DataflowRunner |
| 40 | +--experiments=use_runner_v2 |
| 41 | +--worker_accelerator=type=nvidia-tesla-t4,count=1,install-nvidia-driver=true |
0 commit comments