Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

About the env installation #103

Open
yangguangjie opened this issue Sep 30, 2022 · 2 comments
Open

About the env installation #103

yangguangjie opened this issue Sep 30, 2022 · 2 comments

Comments

@yangguangjie
Copy link

helle, if i can use the cuda11 to run the code? I only have the rtx3090 , which don't support the cuda101. I try to use the cuda111 and torch1.8.
when I run "python setup.py build develop" ,it error like following?how can i solve it?thanks.
Traceback (most recent call last):
File "setup.py", line 85, in
cmdclass={"build_ext": torch.utils.cpp_extension.BuildExtension},
File "/home/ygj/anaconda3/envs/torch_cuda11/lib/python3.7/site-packages/setuptools/init.py", line 87, in setup
return distutils.core.setup(**attrs)
File "/home/ygj/anaconda3/envs/torch_cuda11/lib/python3.7/site-packages/setuptools/_distutils/core.py", line 185, in setup
return run_commands(dist)
File "/home/ygj/anaconda3/envs/torch_cuda11/lib/python3.7/site-packages/setuptools/_distutils/core.py", line 201, in run_commands
dist.run_commands()
File "/home/ygj/anaconda3/envs/torch_cuda11/lib/python3.7/site-packages/setuptools/_distutils/dist.py", line 973, in run_commands
self.run_command(cmd)
File "/home/ygj/anaconda3/envs/torch_cuda11/lib/python3.7/site-packages/setuptools/dist.py", line 1217, in run_command
super().run_command(command)
File "/home/ygj/anaconda3/envs/torch_cuda11/lib/python3.7/site-packages/setuptools/_distutils/dist.py", line 992, in run_command
cmd_obj.run()
File "/home/ygj/anaconda3/envs/torch_cuda11/lib/python3.7/site-packages/setuptools/command/build.py", line 24, in run
super().run()
File "/home/ygj/anaconda3/envs/torch_cuda11/lib/python3.7/site-packages/setuptools/_distutils/command/build.py", line 132, in run
self.run_command(cmd_name)
File "/home/ygj/anaconda3/envs/torch_cuda11/lib/python3.7/site-packages/setuptools/_distutils/cmd.py", line 319, in run_command
self.distribution.run_command(command)
File "/home/ygj/anaconda3/envs/torch_cuda11/lib/python3.7/site-packages/setuptools/dist.py", line 1217, in run_command
super().run_command(command)
File "/home/ygj/anaconda3/envs/torch_cuda11/lib/python3.7/site-packages/setuptools/_distutils/dist.py", line 992, in run_command
cmd_obj.run()
File "/home/ygj/anaconda3/envs/torch_cuda11/lib/python3.7/site-packages/setuptools/command/build_ext.py", line 79, in run
_build_ext.run(self)
File "/home/ygj/anaconda3/envs/torch_cuda11/lib/python3.7/site-packages/setuptools/_distutils/command/build_ext.py", line 346, in run
self.build_extensions()
File "/home/ygj/anaconda3/envs/torch_cuda11/lib/python3.7/site-packages/torch/utils/cpp_extension.py", line 708, in build_extensions
build_ext.build_extensions(self)
File "/home/ygj/anaconda3/envs/torch_cuda11/lib/python3.7/site-packages/setuptools/_distutils/command/build_ext.py", line 466, in build_extensions
self._build_extensions_serial()
File "/home/ygj/anaconda3/envs/torch_cuda11/lib/python3.7/site-packages/setuptools/_distutils/command/build_ext.py", line 492, in _build_extensions_serial
self.build_extension(ext)
File "/home/ygj/anaconda3/envs/torch_cuda11/lib/python3.7/site-packages/setuptools/command/build_ext.py", line 202, in build_extension
_build_ext.build_extension(self, ext)
File "/home/ygj/anaconda3/envs/torch_cuda11/lib/python3.7/site-packages/setuptools/_distutils/command/build_ext.py", line 554, in build_extension
depends=ext.depends,
File "/home/ygj/anaconda3/envs/torch_cuda11/lib/python3.7/site-packages/torch/utils/cpp_extension.py", line 538, in unix_wrap_ninja_compile
with_cuda=with_cuda)
File "/home/ygj/anaconda3/envs/torch_cuda11/lib/python3.7/site-packages/torch/utils/cpp_extension.py", line 1359, in _write_ninja_file_and_compile_objects
error_prefix='Error compiling objects for extension')
File "/home/ygj/anaconda3/envs/torch_cuda11/lib/python3.7/site-packages/torch/utils/cpp_extension.py", line 1683, in _run_ninja_build
raise RuntimeError(message) from e
RuntimeError: Error compiling objects for extension

@tobiasraidl
Copy link

I have the same problem rn. Any solutions?

@prajeet26
Copy link

I have the same problem rn. Any solutions?

hey would love to know if you got any work around!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants