o
    wÖiå  ã                   @   s~   d Z z
ddlmZmZ W n ey#   G dd„ dƒZG dd„ dƒZY nw z	ddlmZ W d
S  ey>   G dd	„ d	ƒZY d
S w )zEMock implementations of torch interfaces when torch is not available.é    )Ú
DataLoaderÚIterableDatasetc                   @   ó   e Zd ZdZdS )r   zDEmpty implementation of IterableDataset when torch is not available.N©Ú__name__Ú
__module__Ú__qualname__Ú__doc__© r
   r
   úO/home/ubuntu/sommelier/.venv/lib/python3.10/site-packages/webdataset/pytorch.pyr      ó    r   c                   @   r   )r   z?Empty implementation of DataLoader when torch is not available.Nr   r
   r
   r
   r   r      r   r   )ÚTensorc                   @   r   )ÚTorchTensorz@Empty implementation of TorchTensor when torch is not available.Nr   r
   r
   r
   r   r      r   r   N)r	   Útorch.utils.datar   r   ÚModuleNotFoundErrorÚtorchr   r   r
   r
   r
   r   Ú<module>   s   û	þ