class_docstr: Wrapper for `contextlib.ExitStack` which enters a collection of context managers.
  Adaptation of `ContextManagers` in the `fastcore` library.
class_docstr_tok: ["Wrapper","for","`","contextlib.ExitStack","`","which","enters","a","collection","of","context","managers",".","Adaptation","of","`","ContextManagers","`","in","the","`","fastcore","`","library","."]
code: def __exit__(self, *args, **kwargs):
      self.stack.__exit__(*args, **kwargs)
  
imports: import torch
  import os
  import json
  from .transformers import ggml_convert_low_bit
  from torch.nn.modules import Module
  from torch.nn.modules.module import _IncompatibleKeys
  from accelerate import init_empty_weights
  from accelerate.utils import set_module_tensor_to_device
  from bigdl.llm.ggml.quantize import ggml_tensor_qtype
  from bigdl.llm.utils.common import invalidInputError
  from bigdl.llm.transformers.utils import extract_local_archive_file, get_local_shard_files
  import transformers
  import warnings
  from transformers import PreTrainedModel
  from .utils.common import MuteHFLogger
  from .utils.lazy_load_torch import LazyLoadTensors
  from contextlib import ExitStack, contextmanager
label_desc: Use image node_id 3 for calling the ContextManagers obj's underlying member method code with example usage: obj.__exit__() without return types