class_docstr: Google TPU accelerators.
code: def validate_resource_request_quantity(
      quantity: float,
  ) -> Tuple[bool, Optional[str]]:
      if quantity not in TPU_VALID_CHIP_OPTIONS:
          return (
              False,
              f"The number of requested 'TPU' was set to {quantity} which "
              "is not a supported chip configuration. Supported configs: "
              f"{TPU_VALID_CHIP_OPTIONS}",
          )
      else:
          return (True, None)
  
imports: import os
  import re
  import glob
  import requests
  import logging
  from typing import Dict, Optional, List, Tuple
  from ray._private.accelerators.accelerator import AcceleratorManager
label_desc: Use image node_id 6 for calling the TPUAcceleratorManager obj's underlying member method code with example usage: obj.validate_resource_request_quantity(quantity) and returns: False,  str, quantity, str, TPU_VALID_CHIP_OPTIONS, True,  None