
    i                         d dl Z d dlmZ d dlmZmZ e j                  j                  e d      e j                  j                  e d      d               Zy)    N)CupyOps)	has_torchhas_torch_cuda_gpuzneeds PyTorch)reasonzneeds a GPUc                  D   dd l } t        j                  t               }| j                  d      j	                         }|j                  |      }|j                  |j                  k(  sJ |j                  j                  j                  ||j                  dd             y y )Nr   )
      r   r	   )
torchr   xpzeroscudaasarrayshapetestingassert_allclosealloc2f)r
   opstas       u/var/www/vps2.regionflexible.com/Desarrollo/venv/lib/python3.12/site-packages/thinc/tests/regression/test_issue564.pytest_issue564r      s~     zziKK %%'KKNww!''!!!&&KKA	
     )	pytest	thinc.apir   thinc.compatr   r   markskipifr    r   r   <module>r      sY      6 	M/:**=A
 B ;
r   