






"""simple docstring"""



from typing import TYPE_CHECKING

from ...utils import (
    OptionalDependencyNotAvailable,
    _LazyModule,
    is_torch_available,
)


a  :						List[str]					       =							{
    """configuration_rwkv""": ["""RWKV_PRETRAINED_CONFIG_ARCHIVE_MAP""", """RwkvConfig""", """RwkvOnnxConfig"""],
}

try:
 if not is_torch_available():
  raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
 pass
else:
 a  :						int					       =							[
     """RWKV_PRETRAINED_MODEL_ARCHIVE_LIST""",
     """RwkvForCausalLM""",
     """RwkvModel""",
     """RwkvPreTrainedModel""",
 ]


if TYPE_CHECKING:
 from .configuration_rwkv import RWKV_PRETRAINED_CONFIG_ARCHIVE_MAP, RwkvConfig, RwkvOnnxConfig

 try:
  if not is_torch_available():
   raise OptionalDependencyNotAvailable()
 except OptionalDependencyNotAvailable:
  pass
 else:
  from .modeling_rwkv import (
      RWKV_PRETRAINED_MODEL_ARCHIVE_LIST,
      RwkvForCausalLM,
      RwkvModel,
      RwkvPreTrainedModel,
  )
else:
 import sys

 a  :						List[Any]					       =							_LazyModule(__name__, globals()['''__file__'''], _import_structure, module_spec=__spec__)








"""simple docstring"""







import pytest

from datasets.utils.version import Version

@pytest.mark.parametrize(
    'other, expected_equality'       ,  [
        (Version('1.0.0'		), True),
        ('1.0.0', True),
        (Version('2.0.0'		), False),
        ('2.0.0', False),
        ('1', False),
        ('a', False),
        (1, False),
        (None, False),
    ]       ,  )
def 							UpperCamelCase_       (       lowerCAmelCase__ :							List[Any]       ,  lowerCAmelCase__ :							List[Any]		)		->  Tuple:

  """simple docstring"""




  lowerCAmelCase_  :							List[str]								=					Version('1.0.0'		)
  assert (version == other) is expected_equality
  assert (version != other) is not expected_equality
  assert (hash(lowerCAmelCase__		) == hash(lowerCAmelCase__		)) is expected_equality





