Deploying custom pipelines to SageMaker inference endpoint

I see a lot of tutorials on deploying pipeline tasks to sagemaker. I have a model.tar.gz made alongside with a custom pipeline. Are there ways or resources that will allow you to deploy the model with the custom pipeline code? Thanks.

Looks like I’ll have to use the custom overwrite feature, probably just take the pipeline internal functions and transform it to work with the inference.py file