# 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.

--runner=DataflowRunner
--project=apache-beam-testing
--region=us-central1
--machine_type=n1-standard-4
--num_workers=10
--max_num_workers=50
--disk_size_gb=100
--autoscaling_algorithm=THROUGHPUT_BASED
--staging_location=gs://temp-storage-for-perf-tests/loadtests
--temp_location=gs://temp-storage-for-perf-tests/loadtests
--requirements_file=apache_beam/ml/transforms/mltransform_embedding_tests_requirements.txt
--publish_to_big_query=true
--metrics_dataset=beam_run_inference
--metrics_table=mltransform_text_embedding_batch
--input_options={}
--influx_measurement=mltransform_text_embedding_batch
--input_file=gs://apache-beam-ml/testing/inputs/sentences_50k.txt
--output=gs://temp-storage-for-perf-tests/loadtests/mltransform_text_embedding/results
--artifact_location=gs://temp-storage-for-perf-tests/loadtests/mltransform_text_embedding/artifacts
--model_name=sentence-transformers/all-MiniLM-L6-v2
--min_batch_size=16
--max_batch_size=128
--model_batch_size=32
--device=CPU
--sdk_location=container
--sdk_container_image=us.gcr.io/apache-beam-testing/python-postcommit-it/tensor_rt:latest
--experiments=use_runner_v2
