code: def get(tag_like: str | Tag) -> Model:
      model = bentoml.models.get(tag_like)
      if model.info.module not in (MODULE_NAME, __name__):
          raise NotFound(
              f"Model {model.tag} was saved with module {model.info.module}, not loading with {MODULE_NAME}."
          )
      return model
  
file_path: BentoML/src/bentoml/_internal/frameworks/torchscript.py
imports: from __future__ import annotations
  import logging
  import typing
  from types import ModuleType
  from typing import TYPE_CHECKING
  import bentoml
  from bentoml import Tag
  from ...exceptions import NotFound
  from ..models.model import Model
  from ..models.model import ModelContext
  from ..models.model import PartialKwargsModelOptions
  from ..utils.pkg import get_pkg_version
  from .common.pytorch import torch
label_desc: Use image node_id 1 for calling a global function with example usage: get(tag_like) and returns: model