code: def _save_model(self, path, compression="fp32"):
      invalidInputError(
          compression == "fp32",
          "Could not compress ckpt for XPU model.",
      )
      if self.use_ipex:
          torch.save(self.original_state_dict, path / "ckpt.pth")
      else:
          torch.save(self.model.state_dict(), path / "ckpt.pth")
  
file_path: BigDL/python/nano/src/bigdl/nano/deps/ipex/ipex_inference_xpu_model.py
imports: from bigdl.nano.pytorch.model import AcceleratedLightningModule
  import torch
  import intel_extension_for_pytorch
  from bigdl.nano.utils.pytorch import apply_data_to_xpu, apply_data_to_half
  from bigdl.nano.pytorch.context_manager import generate_context_manager
  from bigdl.nano.utils.common import invalidInputError
  import warnings
label_desc: Use image node_id 6 for calling the PytorchIPEXPUModel obj's underlying member method code with example usage: obj._save_model(path, compression) without return types