Spaces:
Running
on
Zero
Running
on
Zero
from setuptools import setup | |
from torch.utils.cpp_extension import BuildExtension, CUDAExtension | |
setup( | |
name='emd', | |
ext_modules=[ | |
CUDAExtension('emd', [ | |
'emd.cpp', | |
'emd_cuda.cu', | |
]), | |
], | |
cmdclass={ | |
'build_ext': BuildExtension | |
}) |