Open hypertseng opened 7 months ago
@hypertseng dId you solved the problem? If so can you post it here ?
@hypertseng dId you solved the problem? If so can you post it here ?
oh, yes
if python install -e .
failed, u can try
cd python
python setup.py bdist_wheel
before this, clean related cache files, I delete .triton directory which is usually under the user's home directory. u can have a try.
(falcon) daiyuxin@mindspore:~/zzx/triton$ sudo pip install -e python [sudo] password for daiyuxin: Obtaining file:///home/daiyuxin/zzx/triton/python Installing build dependencies ... done Getting requirements to build wheel ... error ERROR: Command errored out with exit status 1: command: /usr/bin/python3 /tmp/tmpfh012tfg get_requires_for_build_wheel /tmp/tmphvv8wvy2 cwd: /home/daiyuxin/zzx/triton/python Complete output (28 lines): copy /root/.triton/nvidia/bin/ptxas to /home/daiyuxin/zzx/triton/python/../third_party/nvidia/backend/bin/ptxas ... copy /root/.triton/nvidia/bin/cuobjdump to /home/daiyuxin/zzx/triton/python/../third_party/nvidia/backend/bin/cuobjdump ... Traceback (most recent call last): File "/tmp/tmpfh012tfg", line 280, in
main()
File "/tmp/tmpfh012tfg", line 263, in main
json_out['return_val'] = hook(hook_input['kwargs'])
File "/tmp/tmpfh012tfg", line 114, in get_requires_for_build_wheel
return hook(config_settings)
File "/tmp/pip-build-env-0ynao4pa/overlay/lib/python3.8/site-packages/setuptools/build_meta.py", line 325, in get_requires_for_build_wheel
return self._get_build_requires(config_settings, requirements=['wheel'])
File "/tmp/pip-build-env-0ynao4pa/overlay/lib/python3.8/site-packages/setuptools/build_meta.py", line 295, in _get_build_requires
self.run_setup()
File "/tmp/pip-build-env-0ynao4pa/overlay/lib/python3.8/site-packages/setuptools/build_meta.py", line 487, in run_setup
super().run_setup(setup_script=setup_script)
File "/tmp/pip-build-env-0ynao4pa/overlay/lib/python3.8/site-packages/setuptools/build_meta.py", line 311, in run_setup
exec(code, locals())
File "", line 386, in
File "", line 220, in download_and_copy
File "/usr/lib/python3.8/subprocess.py", line 415, in check_output
return run(popenargs, stdout=PIPE, timeout=timeout, check=True,
File "/usr/lib/python3.8/subprocess.py", line 493, in run
with Popen(popenargs, kwargs) as process:
File "/usr/lib/python3.8/subprocess.py", line 858, in init
self._execute_child(args, executable, preexec_fn, close_fds,
File "/usr/lib/python3.8/subprocess.py", line 1704, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
PermissionError: [Errno 13] Permission denied: '/home/daiyuxin/zzx/triton/python/../third_party/nvidia/backend/bin/nvdisasm'
ERROR: Command errored out with exit status 1: /usr/bin/python3 /tmp/tmpfh012tfg get_requires_for_build_wheel /tmp/tmphvv8wvy2 Check the logs for full command output.