
    %Vji                         U d dl mZ d dlZg dZ	 d dlmZ n# e$ r dZY nw xY wdaee         e	d<   da
ee         e	d<   edefdZndefd	Zdee         fd
ZdefdZdee         fdZdS )    )OptionalN)versionis_availableget_max_alg_id)_cusparselt__cusparselt_version__MAX_ALG_IDreturnc                      t           <t          j                    a t           dk    rdant           dk    rdant           dk    rdadS )Ni     i     iZ  %   T)r   r   getVersionIntr	        \/root/voice-cloning/.venv/lib/python3.11/site-packages/torch/backends/cusparselt/__init__.py_initr      sR      '#.#<#>#> #s** %,, %,,!tr   c                      dS )NFr   r   r   r   r   r   %   s    ur   c                  0    t                      sdS t          S )z Return the version of cuSPARSELtN)r   r   r   r   r   r   r   )   s    77 tr   c                  $    t           j        j        S )z>Return a bool indicating if cuSPARSELt is currently available.)torch_C_has_cusparseltr   r   r   r   r   0   s    8##r   c                  0    t                      sd S t          S )N)r   r	   r   r   r   r   r   5   s    77 tr   )typingr   r   __all__torch._Cr   ImportErrorr   int__annotations__r	   boolr   r   r   r   r   r   r   <module>r"      sA            $$$$$$$   KKK '+ hsm * * *"hsm " " "4     4     #        $d $ $ $ $
      s    ""