§
    “©ºjÓ  ã            -       óN  — d dl mZ d dlmZ d dlmZ d dlmZ d dl	m
Z
mZmZ d dlmZmZ  ed¦  «        Zd dddd	d	dd	d	d	d	d	d	d	d	d	d	d	d	d
œdedee         dee         dee         dededee         dededededededededededededeee         eeef         f         f(d„ZdS ) é    )ÚOptional)ÚRequirementCache)Ú_runif_reasons)Ú_PSUTIL_AVAILABLE)Ú_ONNX_AVAILABLEÚ_ONNXSCRIPT_AVAILABLEÚ_TORCH_TRT_AVAILABLE)Ú_OMEGACONF_AVAILABLEÚ_RICH_AVAILABLEúscikit-learnNF)Úmin_cuda_gpusÚ	min_torchÚ	max_torchÚ
min_pythonÚ	bf16_cudaÚtpuÚmpsÚskip_windowsÚ
standaloneÚ	deepspeedÚdynamoÚrichÚ	omegaconfÚpsutilÚsklearnÚonnxÚ
linux_onlyÚ
onnxscriptÚtensorrtr   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   Úreturnc                 óê  — t          | |||||||||	|
|¬¦  «        \  }}|rt          s|                     d¦  «         |rt          s|                     d¦  «         |rt          s|                     d¦  «         |rt
          s|                     d¦  «         |rt          s|                     d¦  «         |rt          s|                     d¦  «         |rt          s|                     d¦  «         ||fS )	ah  Construct reasons for pytest skipif.

    Args:
        min_cuda_gpus: Require this number of gpus and that the ``RUN_ONLY_CUDA_TESTS=1`` environment variable is set.
        min_torch: Require that PyTorch is greater or equal than this version.
        max_torch: Require that PyTorch is less than this version.
        min_python: Require that Python is greater or equal than this version.
        bf16_cuda: Require that CUDA device supports bf16.
        tpu: Require that TPU is available.
        mps: If True: Require that MPS (Apple Silicon) is available,
            if False: Explicitly Require that MPS is not available
        skip_windows: Skip for Windows platform.
        standalone: Mark the test as standalone, our CI will run it in a separate process.
            This requires that the ``PL_RUN_STANDALONE_TESTS=1`` environment variable is set.
        deepspeed: Require that microsoft/DeepSpeed is installed.
        dynamo: Require that `torch.dynamo` is supported.
        rich: Require that willmcgugan/rich is installed.
        omegaconf: Require that omry/omegaconf is installed.
        psutil: Require that psutil is installed.
        sklearn: Require that scikit-learn is installed.
        onnx: Require that onnx is installed.
        onnxscript: Require that onnxscript is installed.
        tensorrt: Require that torch-tensorrt is installed.

    )r   r   r   r   r   r   r   r   r   r   r   r   ÚRichr   r   r   r   r   ztorch-tensorrt)	Ú_fabric_run_ifr   Úappendr
   r   Ú_SKLEARN_AVAILABLEr   r   r	   )r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   ÚreasonsÚkwargss                        úz/root/private/project/pallet_detection_v2/.venv/lib/python3.11/site-packages/pytorch_lightning/utilities/testing/_runif.pyr   r      s:  € õ` %Ø#ØØØØØØØ!ØØØØðñ ô �O€GˆVð ð •Oð Ø�Š�vÑÔÐàð $Õ-ð $Ø�Š�{Ñ#Ô#Ð#àð !Õ'ð !Ø�Š�xÑ Ô Ð àð 'Õ)ð 'Ø�Š�~Ñ&Ô&Ð&àð •Oð Ø�Š�vÑÔÐàð %Õ/ð %Ø�Š�|Ñ$Ô$Ð$àð )Õ,ð )Ø�ŠÐ'Ñ(Ô(Ð(à�Fˆ?Ðó    )Útypingr   Ú lightning_utilities.core.importsr   Ú"lightning_fabric.utilities.testingr   r#   Ú"pytorch_lightning.accelerators.cpur   Úpytorch_lightning.core.moduler   r   r	   Ú#pytorch_lightning.utilities.importsr
   r   r%   ÚintÚstrÚboolÚtupleÚlistÚdict© r)   r(   ú<module>r7      s  ðð Ð Ð Ð Ð Ð à =Ð =Ð =Ð =Ð =Ð =à OÐ OÐ OÐ OÐ OÐ OØ @Ð @Ð @Ð @Ð @Ð @Ø fÐ fÐ fÐ fÐ fÐ fÐ fÐ fÐ fÐ fØ UÐ UÐ UÐ UÐ UÐ UÐ UÐ Uà%Ð% nÑ5Ô5Ð ð
 Ø#Ø#Ø $ØØØØØØØØØØØØØØØð)Tð Tð TàðTð ˜Œ}ðTð ˜Œ}ð	Tð
 ˜”ðTð ðTð 
ðTð 
�$ŒðTð ðTð ðTð ðTð ðTð ðTð ðTð ðTð  ð!Tð" ð#Tð$ ð%Tð& ð'Tð( ð)Tð* ˆ4�Œ9�d˜3 ˜9”oÐ%Ô&ð+Tð Tð Tð Tð Tð Tr)   