You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
File "/opt/conda/lib/python3.11/site-packages/torch/utils/cpp_extension.py", line 1142, in CUDAExtension
return setuptools.Extension(name, sources, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/conda/lib/python3.11/site-packages/setuptools/extension.py", line 134, in __init__
super().__init__(name, sources, *args, **kw)
File "/opt/conda/lib/python3.11/site-packages/setuptools/_distutils/extension.py", line 110, in __init__
raise AssertionError("'sources' must be a list of strings")
AssertionError: 'sources' must be a list of strings
error: subprocess-exited-with-error
The problem is that the .glob function in setup.py returns PosixPath objects (on posix systems), which setuptools < 72.2.0 (link) can't handle. The default installed setuptools with this dockerfile is 68.x
The following dockerfile should successfully install flashinfer, but the build fails
Error is
The problem is that the
.glob
function insetup.py
returnsPosixPath
objects (on posix systems), which setuptools < 72.2.0 (link) can't handle. The default installed setuptools with this dockerfile is 68.xUpdating the
setuptools
versions is a workaroundOlder versions of setuptools could probably be supported in flashinfer by casting the collected paths in
setup.py
to strings.If its not a priority, hopefully this issue saves someone else some frustration
The text was updated successfully, but these errors were encountered: