o
    i                     @   sT   d dl Z d dlmZ d dlmZmZ e jje dde jje dddd ZdS )	    N)CupyOps)	has_torchhas_torch_cuda_gpuzneeds PyTorch)reasonzneeds a GPUc                  C   s`   dd l } tjd ur.t }| d }||}|j|jks J |jj||	dd d S d S )Nr   )
      r   r   )
torchr   xpzeroscudaasarrayshapetestingassert_allclosealloc2f)r   opsta r   X/home/ubuntu/.local/lib/python3.10/site-packages/thinc/tests/regression/test_issue564.pytest_issue564   s   


r   )	pytest	thinc.apir   thinc.compatr   r   markskipifr   r   r   r   r   <module>   s    