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
running bdist_wheel
running build
running build_py
running egg_info
writing fairscale.egg-info/PKG-INFO
writing dependency_links to fairscale.egg-info/dependency_links.txt
writing entry points to fairscale.egg-info/entry_points.txt
writing requirements to fairscale.egg-info/requires.txt
writing top-level names to fairscale.egg-info/top_level.txt
reading manifest file 'fairscale.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
adding license file 'LICENSE'
adding license file 'NOTICE'
writing manifest file 'fairscale.egg-info/SOURCES.txt'
/....../lib/python3.10/site-packages/setuptools/command/build_py.py:202: SetuptoolsDeprecationWarning: Installing 'fairscale.clib.fused_adam_cuda' as data is deprecated, please list it in `packages`.
!!
############################
# Package would be ignored #
############################
Python recognizes 'fairscale.clib.fused_adam_cuda' as an importable package,
but it is not listed in the `packages` configuration of setuptools.
'fairscale.clib.fused_adam_cuda' has been automatically added to the distribution only
because it may contain data files, but this behavior is likely to change
in future versions of setuptools (and therefore is considered deprecated).
Please make sure that 'fairscale.clib.fused_adam_cuda' is included as a package by using
the `packages` configuration field or the proper discovery methods
(for example by using `find_namespace_packages(...)`/`find_namespace:`
instead of `find_packages(...)`/`find:`).
You can read more about "package discovery" and "data files" on setuptools
documentation page.
!!
check.warn(importable)
running build_ext
building 'fairscale.fused_adam_cuda' extension
Emitting ninja build file /....../fairscale-0.4.13/build/temp.linux-x86_64-cpython-310/build.ninja...
Compiling objects...
Allowing ninja to set a default number of workers... (overridable by setting the environment variable MAX_JOBS=N)
ninja: error: '/....../fairscale-0.4.13/fairscale/clib/fused_adam_cuda/fused_adam_cuda.cpp', needed by '/....../fairscale-0.4.13/build/temp.linux-x86_64-cpython-310/fairscale/clib/fused_adam_cuda/fused_adam_cuda.o', missing and no known rule to make it
Traceback (most recent call last):
File "/....../lib/python3.10/site-packages/torch/utils/cpp_extension.py", line 1893, in _run_ninja_build
subprocess.run(
File "/....../lib/python3.10/subprocess.py", line 526, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['ninja', '-v']' returned non-zero exit status 1.
I need build fairscale from source and can't access the internet meanwhile.
The error I got seems to be similar to #294
Thank you for your support.
The text was updated successfully, but these errors were encountered:
I downloaded fairscale-0.4.13.tar.gz from PyPI, and extracted the fairscale-0.4.13 folder.
Building the wheel fails with both
pip wheel --no-build-isolation --no-deps .
andpython setup.py bdist_wheel
I set the following environmental variables as described in the documentation:
The error logs are identical in both cases:
I need build fairscale from source and can't access the internet meanwhile.
The error I got seems to be similar to #294
Thank you for your support.
The text was updated successfully, but these errors were encountered: