class_docstr: Test suite for the 'has_nan_or_inf_tensors' function, which checks for NaN or infinity (inf) values in
  PyTorch tensors.
code: def test_has_nan_or_inf_tensors_without_nan_or_inf(self):
      assert (
          contains_nan_or_inf_tensors(self.model_without_nan_or_inf)
          is False
      )
  
imports: import pytest
  import torch
  from transformers import AutoModelForCausalLM
  from ludwig.utils.model_utils import contains_nan_or_inf_tensors, extract_tensors, find_embedding_layer_with_path, replace_tensors
label_desc: Use image node_id 2 for calling the TestHasNanOrInfTensors obj's underlying member method code with example usage: obj.test_has_nan_or_inf_tensors_without_nan_or_inf() without return types