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

can you tell me the apex version suitable for torch 1.4? #109

Open
qq123aa456 opened this issue Sep 7, 2023 · 2 comments
Open

can you tell me the apex version suitable for torch 1.4? #109

qq123aa456 opened this issue Sep 7, 2023 · 2 comments

Comments

@qq123aa456
Copy link

I met a trouble.when I use torch>1.4 I can't sucessful install detectron2 due to subprocess.CalledProcessError: Command '['ninja', '-v']' returned non-zero exit status 1.
but when I use torch 1.4 I successsful install detectron2 but can extract features beacause an error module 'torch.cuda' has no attribute 'amp'.
is there anyone who sucssful extract features? I really need help.

@qq123aa456
Copy link
Author

I search the issue they told me amp appear pytorch>1.6 ,which is so bad

@niuzhustc
Copy link

I search the issue they told me amp appear pytorch>1.6 ,which is so bad

I use torch 1.5+cu 101+cp36 on 2080ti, and my apex version is 22.04, I use the detectron2 v0.3, maybe you could try this.

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

2 participants