docstr: Overwrite this method in subclass to define how to load your model from pretrained
docstr_tok: ["Overwrite","this","method","in","subclass","to","define","how","to","load","your","model","from","pretrained"]
code: def from_pretrained(
      cls,
      model_or_path: Union[str, Path],
      file_name: Optional[str] = None,
  ):
      """Overwrite this method in subclass to define how to load your model from pretrained"""
      raise NotImplementedError(
          "Overwrite this method in subclass to define how to load your model from pretrained for quantization"
      )
  
file_path: optimum/optimum/quantization_base.py
imports: import logging
  from abc import ABC, abstractmethod
  from pathlib import Path
  from typing import Optional, Union
label_desc: Use image node_id 1 for calling the OptimumQuantizer obj's underlying member method code with example usage: obj.from_pretrained(cls, model_or_path, file_name) without return types