Question about Tensorflow Object Detection API dependencies

After installing the object detection API I found that one of the dependencies, Apache-Beam, requires Dill However, I am trying to use this API with Sagemaker which requires Dill 0.3.4. I’m where the Apache beam dependency comes in, as I am hoping that it would be possible to avoid using tools in this API that depend on Apache beam.