|
| 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 | +--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_rightfit_requirements.txt |
| 25 | +--publish_to_big_query=true |
| 26 | +--metrics_dataset=beam_run_inference |
| 27 | +--metrics_table=torch_inference_imagenet_results_stream_rightfit |
| 28 | +--influx_measurement=torch_inference_imagenet_stream_rightfit |
| 29 | +--pretrained_model_name=efficientnet_b0 |
| 30 | +--device=GPU |
| 31 | +--input_file=gs://apache-beam-ml/testing/inputs/openimage_50k_benchmark.txt |
| 32 | +--runner=DataflowRunner |
| 33 | +--mode=streaming |
| 34 | +--input_mode=gcs_uris |
| 35 | +--input_options={} |
| 36 | +--pubsub_topic=projects/apache-beam-testing/topics/images_topic |
| 37 | +--pubsub_subscription=projects/apache-beam-testing/subscriptions/images_subscription |
| 38 | +--model_state_dict_path=gs://apache-beam-ml/models/efficientnet_b0_state_dict.pth |
| 39 | +--rate_limit=250 |
| 40 | +--image_size=224 |
| 41 | +--top_k=5 |
| 42 | +--inference_batch_size=auto |
| 43 | +--window_sec=60 |
| 44 | +--trigger_proc_time_sec=30 |
| 45 | +--enable_dedup=false |
| 46 | +--experiments=worker_accelerator=type:nvidia-tesla-t4;count:1;install-nvidia-driver:5xx |
0 commit comments