def METHOD_NAME(self):
    pipeline_ins = pipeline(
        task=Tasks.sentence_similarity,
        model=self.model_id_retail,
        model_revision='v1.0.0',
        compile=True)
    print(pipeline_ins(input=(self.sentence1, self.sentence2)))
    self.assertTrue(isinstance(pipeline_ins.model._orig_mod, TorchModel))