class_docstr: Model of BFloat16 with auto mixed precision.
class_docstr_tok: ["Model","of","BFloat16","with","auto","mixed","precision","."]
docstr: ALLOW_NON_BF16_ISA indicates if we restrict bf16 instructions support to be available.
  ALLOW_NON_BF16_ISA='1' sometimes helps debug and test cases without AVX512 or AMX
  
  :return: The bool value of ALLOW_NON_BF16_ISA
docstr_tok: ["ALLOW_NON_BF16_ISA","indicates","if","we","restrict","bf16","instructions","support","to","be","available",".","ALLOW_NON_BF16_ISA=","'","1","'","sometimes","helps","debug","and","test","cases","without","AVX512","or","AMX",":","return",":","The","bool","value","of","ALLOW_NON_BF16_ISA"]
code: def _allow_non_bf16(self):
      """
      ALLOW_NON_BF16_ISA indicates if we restrict bf16 instructions support to be available.
      ALLOW_NON_BF16_ISA='1' sometimes helps debug and test cases without AVX512 or AMX
  
      :return: The bool value of ALLOW_NON_BF16_ISA
      """
      return os.environ.get("ALLOW_NON_BF16_ISA", None) == "1"
  
imports: from logging import warning
  import torch
  import os
  from contextlib import redirect_stdout
  from bigdl.nano.utils.pytorch import generate_channels_last_available, apply_proper_channels_last
  from bigdl.nano.pytorch.model import AcceleratedLightningModule
  from bigdl.nano.utils.common import invalidInputError
  from bigdl.nano.utils.pytorch import TORCH_VERSION_LESS_1_10, TORCH_VERSION_LESS_1_12, transform_state_dict_to_dtype
  from bigdl.nano.utils.common import _bf16_checker
  from bigdl.nano.pytorch.context_manager import generate_context_manager
label_desc: Use image node_id 3 for calling the BF16Model obj's underlying member method code with example usage: obj._allow_non_bf16() and returns: unknown