Infer on sagemaker with custom pipeline

Seems like if I don’t pass in an env, it wouldn’t work, even if I have my own custom inference.py

It’s forcing me to choose from one of the pre-existing pipelines but I have custom code for inference. Am I forced to provide a parameter here?