Model_fn and predict_fn called multiple times?

I am using the prebuilt SageMaker Hugging face container
In the entry_point,I include a script which carries out the batch transformation job.

‘’’
def model_fn():

def input_fn():

def predict_fn():

‘’’

Did you find a solution? I am having the same issue (model_fn called multiple times)

1 Like

Perhaps unresolved issue since 2020…?