#  Licensed to the Apache Software Foundation (ASF) under one
#  or more contributor license agreements.  See the NOTICE file
#  distributed with this work for additional information
#  regarding copyright ownership.  The ASF licenses this file
#  to you under the Apache License, Version 2.0 (the
#  "License"); you may not use this file except in compliance
#  with the License.  You may obtain a copy of the License at
#
#      http://www.apache.org/licenses/LICENSE-2.0
#
#  Unless required by applicable law or agreed to in writing, software
#  distributed under the License is distributed on an "AS IS" BASIS,
#  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
#  See the License for the specific language governing permissions and
#  limitations under the License.

--region=us-central1
--machine_type=n1-standard-4
--num_workers=50
--disk_size_gb=50
--autoscaling_algorithm=NONE
--staging_location=gs://temp-storage-for-perf-tests/loadtests
--temp_location=gs://temp-storage-for-perf-tests/loadtests
--requirements_file=apache_beam/ml/inference/pytorch_rightfit_requirements.txt
--publish_to_big_query=true
--metrics_dataset=beam_run_inference
--influx_measurement=torch_inference_imagenet_stream_rightfit
--pretrained_model_name=efficientnet_b0
--input_file=gs://apache-beam-ml/testing/inputs/openimage_50k_benchmark.txt
--runner=DataflowRunner
--mode=streaming
--input_mode=gcs_uris
--input_options={}
--pubsub_topic=projects/apache-beam-testing/topics/images_topic
--pubsub_subscription=projects/apache-beam-testing/subscriptions/images_subscription
--model_state_dict_path=gs://apache-beam-ml/models/efficientnet_b0_state_dict.pth
--image_size=224
--top_k=5
--inference_batch_size=16
--window_sec=60
--trigger_proc_time_sec=30
