akshayjadiyanv commented on code in PR #40139:
URL: https://github.com/apache/beam/pull/40139#discussion_r4030274406
##########
sdks/python/test-suites/dataflow/common.gradle:
##########
@@ -453,13 +453,13 @@ def tensorRTTests = tasks.create("tensorRTtests") {
"region": "us-central1",
"input":
"gs://apache-beam-ml/testing/inputs/tensorrt_image_file_names.txt",
"output": "gs://apache-beam-ml/outputs/tensorrt_predictions.txt",
- "engine_path":
"gs://apache-beam-ml/models/ssd_mobilenet_v2_320x320_coco17_tpu-8.trt",
+ "engine_path":
"gs://apache-beam-ml/models/ssd_mobilenet_v2_320x320_coco17_tpu-8_trt11.trt",
"disk_size_gb": 75
]
def cmdArgs = mapToArgString(argMap)
exec {
executable 'sh'
- args '-c', ". ${envdir}/bin/activate && pip install pillow && python -m
apache_beam.examples.inference.tensorrt_object_detection $cmdArgs
--experiment='worker_accelerator=type:nvidia-tesla-t4;count:1;install-nvidia-driver'
--experiment=no_use_multiple_sdk_containers"
+ args '-c', ". ${envdir}/bin/activate && pip install pillow && python -m
apache_beam.examples.inference.tensorrt_object_detection $cmdArgs
--experiment='worker_accelerator=type:nvidia-tesla-t4;count:1;install-nvidia-driver:5xx'
--experiment=no_use_multiple_sdk_containers"
Review Comment:
Good catch - thanks! And yes, beam_PostCommit_Python.json looks to be the
right trigger file. Made both changes
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]