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
then got the following errors:
`root@EAC-5000:/data/triton# pip install -e python
Obtaining file:///data/triton/python
Installing build dependencies ... done
Checking if build backend supports build_editable ... done
Getting requirements to build editable ... done
Preparing editable metadata (pyproject.toml) ... done
Requirement already satisfied: filelock in /usr/local/lib/python3.11/dist-packages (from triton==2.3.1) (3.15.4)
Building wheels for collected packages: triton
Building editable for triton (pyproject.toml) ... error
error: subprocess-exited-with-error
× Building editable for triton (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [149 lines of output]
/tmp/pip-build-env-xux760mq/overlay/local/lib/python3.11/dist-packages/setuptools/_distutils/dist.py:268: UserWarning: Unknown distribution option: 'test_suite'
warnings.warn(msg)
running editable_wheel
creating /tmp/pip-wheel-u8_zbdsn/.tmp-upjhp105/triton.egg-info
writing /tmp/pip-wheel-u8_zbdsn/.tmp-upjhp105/triton.egg-info/PKG-INFO
writing dependency_links to /tmp/pip-wheel-u8_zbdsn/.tmp-upjhp105/triton.egg-info/dependency_links.txt
writing requirements to /tmp/pip-wheel-u8_zbdsn/.tmp-upjhp105/triton.egg-info/requires.txt
writing top-level names to /tmp/pip-wheel-u8_zbdsn/.tmp-upjhp105/triton.egg-info/top_level.txt
writing manifest file '/tmp/pip-wheel-u8_zbdsn/.tmp-upjhp105/triton.egg-info/SOURCES.txt'
reading manifest file '/tmp/pip-wheel-u8_zbdsn/.tmp-upjhp105/triton.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file '/tmp/pip-wheel-u8_zbdsn/.tmp-upjhp105/triton.egg-info/SOURCES.txt'
creating '/tmp/pip-wheel-u8_zbdsn/.tmp-upjhp105/triton-2.3.1.dist-info'
creating /tmp/pip-wheel-u8_zbdsn/.tmp-upjhp105/triton-2.3.1.dist-info/WHEEL
running build_py
running build_ext
/tmp/pip-build-env-xux760mq/overlay/local/lib/python3.11/dist-packages/setuptools/command/editable_wheel.py:303: SetuptoolsDeprecationWarning: Customization incompatible with editable install
!!
********************************************************************************
Traceback (most recent call last):
File "/tmp/pip-build-env-xux760mq/overlay/local/lib/python3.11/dist-packages/setuptools/command/editable_wheel.py", line 309, in _safely_run
return self.run_command(cmd_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/tmp/pip-build-env-xux760mq/overlay/local/lib/python3.11/dist-packages/setuptools/_distutils/cmd.py", line 316, in run_command
self.distribution.run_command(command)
File "/tmp/pip-build-env-xux760mq/overlay/local/lib/python3.11/dist-packages/setuptools/dist.py", line 945, in run_command
super().run_command(command)
File "/tmp/pip-build-env-xux760mq/overlay/local/lib/python3.11/dist-packages/setuptools/_distutils/dist.py", line 983, in run_command
cmd_obj.run()
File "<string>", line 194, in run
File "/tmp/pip-build-env-xux760mq/overlay/local/lib/python3.11/dist-packages/setuptools/_distutils/cmd.py", line 316, in run_command
self.distribution.run_command(command)
File "/tmp/pip-build-env-xux760mq/overlay/local/lib/python3.11/dist-packages/setuptools/dist.py", line 945, in run_command
super().run_command(command)
File "/tmp/pip-build-env-xux760mq/overlay/local/lib/python3.11/dist-packages/setuptools/_distutils/dist.py", line 983, in run_command
cmd_obj.run()
File "<string>", line 231, in run
File "<string>", line 242, in build_extension
File "<string>", line 124, in get_thirdparty_packages
File "<string>", line 104, in open_url
File "/usr/lib/python3.11/urllib/request.py", line 216, in urlopen
return opener.open(url, data, timeout)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/urllib/request.py", line 525, in open
response = meth(req, response)
^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/urllib/request.py", line 634, in http_response
response = self.parent.error(
^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/urllib/request.py", line 563, in error
return self._call_chain(*args)
^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/urllib/request.py", line 496, in _call_chain
result = func(*args)
^^^^^^^^^^^
File "/usr/lib/python3.11/urllib/request.py", line 643, in http_error_default
raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 409: Public access is not permitted on this storage account.
If you are seeing this warning it is very likely that a setuptools
plugin or customization overrides the `build_py` command, without
taking into consideration how editable installs run build steps
starting from setuptools v64.0.0.
Plugin authors and developers relying on custom build steps are
encouraged to update their `build_py` implementation considering the
information about editable installs in
https://setuptools.pypa.io/en/latest/userguide/extension.html.
For the time being `setuptools` will silence this error and ignore
the faulty command, but this behaviour will change in future versions.
********************************************************************************
!!
self._safely_run(name)
downloading and extracting https://tritonlang.blob.core.windows.net/llvm-builds/llvm-5e5a22ca-ubuntu-x64.tar.gz ...
running build_ext
Traceback (most recent call last):
File "/tmp/pip-build-env-xux760mq/overlay/local/lib/python3.11/dist-packages/setuptools/command/editable_wheel.py", line 153, in run
self._create_wheel_file(bdist_wheel)
File "/tmp/pip-build-env-xux760mq/overlay/local/lib/python3.11/dist-packages/setuptools/command/editable_wheel.py", line 355, in _create_wheel_file
files, mapping = self._run_build_commands(dist_name, unpacked, lib, tmp)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/tmp/pip-build-env-xux760mq/overlay/local/lib/python3.11/dist-packages/setuptools/command/editable_wheel.py", line 278, in _run_build_commands
self._run_build_subcommands()
File "/tmp/pip-build-env-xux760mq/overlay/local/lib/python3.11/dist-packages/setuptools/command/editable_wheel.py", line 305, in _run_build_subcommands
self.run_command(name)
File "/tmp/pip-build-env-xux760mq/overlay/local/lib/python3.11/dist-packages/setuptools/_distutils/cmd.py", line 316, in run_command
self.distribution.run_command(command)
File "/tmp/pip-build-env-xux760mq/overlay/local/lib/python3.11/dist-packages/setuptools/dist.py", line 945, in run_command
super().run_command(command)
File "/tmp/pip-build-env-xux760mq/overlay/local/lib/python3.11/dist-packages/setuptools/_distutils/dist.py", line 983, in run_command
cmd_obj.run()
File "<string>", line 231, in run
File "<string>", line 242, in build_extension
File "<string>", line 124, in get_thirdparty_packages
File "<string>", line 104, in open_url
File "/usr/lib/python3.11/urllib/request.py", line 216, in urlopen
return opener.open(url, data, timeout)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/urllib/request.py", line 525, in open
response = meth(req, response)
^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/urllib/request.py", line 634, in http_response
response = self.parent.error(
^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/urllib/request.py", line 563, in error
return self._call_chain(*args)
^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/urllib/request.py", line 496, in _call_chain
result = func(*args)
^^^^^^^^^^^
File "/usr/lib/python3.11/urllib/request.py", line 643, in http_error_default
raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 409: Public access is not permitted on this storage account.
/tmp/pip-build-env-xux760mq/overlay/local/lib/python3.11/dist-packages/setuptools/_distutils/dist.py:983: _DebuggingTips: Problem in editable installation.
!!
********************************************************************************
An error happened while installing `triton` in editable mode.
The following steps are recommended to help debug this problem:
- Try to install the project normally, without using the editable mode.
Does the error still persist?
(If it does, try fixing the problem before attempting the editable mode).
- If you are using binary extensions, make sure you have all OS-level
dependencies installed (e.g. compilers, toolchains, binary libraries, ...).
- Try the latest version of setuptools (maybe the error was already fixed).
- If you (or your project dependencies) are using any setuptools extension
or customization, make sure they support the editable mode.
After following the steps above, if the problem still persists and
you think this is related to how setuptools handles editable installations,
please submit a reproducible example
(see https://stackoverflow.com/help/minimal-reproducible-example) to:
https://github.com/pypa/setuptools/issues
See https://setuptools.pypa.io/en/latest/userguide/development_mode.html for details.
********************************************************************************
!!
cmd_obj.run()
downloading and extracting https://tritonlang.blob.core.windows.net/llvm-builds/llvm-5e5a22ca-ubuntu-x64.tar.gz ...
error: HTTP Error 409: Public access is not permitted on this storage account.
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building editable for triton
Failed to build triton
ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (triton)`
In addition to the error "HTTP Error 409: Public access is not permitted on this storage account.", I wonder why it tries to download "llvm-builds/llvm-5e5a22ca-ubuntu-x64.tar.gz" while it is built on Jetson Orin which is aarch64/arm64?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I followed the instructions for "Install from source" (https://github.com/triton-lang/triton) and did followings:
git clone https://github.com/triton-lang/triton.git -b release/2.3.x
cd triton/
pip install ninja cmake wheel
pip install -e python
then got the following errors:
`root@EAC-5000:/data/triton# pip install -e python
Obtaining file:///data/triton/python
Installing build dependencies ... done
Checking if build backend supports build_editable ... done
Getting requirements to build editable ... done
Preparing editable metadata (pyproject.toml) ... done
Requirement already satisfied: filelock in /usr/local/lib/python3.11/dist-packages (from triton==2.3.1) (3.15.4)
Building wheels for collected packages: triton
Building editable for triton (pyproject.toml) ... error
error: subprocess-exited-with-error
× Building editable for triton (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [149 lines of output]
/tmp/pip-build-env-xux760mq/overlay/local/lib/python3.11/dist-packages/setuptools/_distutils/dist.py:268: UserWarning: Unknown distribution option: 'test_suite'
warnings.warn(msg)
running editable_wheel
creating /tmp/pip-wheel-u8_zbdsn/.tmp-upjhp105/triton.egg-info
writing /tmp/pip-wheel-u8_zbdsn/.tmp-upjhp105/triton.egg-info/PKG-INFO
writing dependency_links to /tmp/pip-wheel-u8_zbdsn/.tmp-upjhp105/triton.egg-info/dependency_links.txt
writing requirements to /tmp/pip-wheel-u8_zbdsn/.tmp-upjhp105/triton.egg-info/requires.txt
writing top-level names to /tmp/pip-wheel-u8_zbdsn/.tmp-upjhp105/triton.egg-info/top_level.txt
writing manifest file '/tmp/pip-wheel-u8_zbdsn/.tmp-upjhp105/triton.egg-info/SOURCES.txt'
reading manifest file '/tmp/pip-wheel-u8_zbdsn/.tmp-upjhp105/triton.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file '/tmp/pip-wheel-u8_zbdsn/.tmp-upjhp105/triton.egg-info/SOURCES.txt'
creating '/tmp/pip-wheel-u8_zbdsn/.tmp-upjhp105/triton-2.3.1.dist-info'
creating /tmp/pip-wheel-u8_zbdsn/.tmp-upjhp105/triton-2.3.1.dist-info/WHEEL
running build_py
running build_ext
/tmp/pip-build-env-xux760mq/overlay/local/lib/python3.11/dist-packages/setuptools/command/editable_wheel.py:303: SetuptoolsDeprecationWarning: Customization incompatible with editable install
!!
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building editable for triton
Failed to build triton
ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (triton)`
In addition to the error "HTTP Error 409: Public access is not permitted on this storage account.", I wonder why it tries to download "llvm-builds/llvm-5e5a22ca-ubuntu-x64.tar.gz" while it is built on Jetson Orin which is aarch64/arm64?
Beta Was this translation helpful? Give feedback.
All reactions