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 it downgrade for running on V100? #18

Open
forrest-lam opened this issue Jul 17, 2024 · 5 comments
Open

Can it downgrade for running on V100? #18

forrest-lam opened this issue Jul 17, 2024 · 5 comments

Comments

@forrest-lam
Copy link

I had run webui.py, but errors occured on generating 4 views.
otImplementedError: No operator found for memory_efficient_attention_forward with inputs:
query : shape=(10, 6144, 1, 64) (torch.bfloat16)
key : shape=(10, 6144, 1, 64) (torch.bfloat16)
value : shape=(10, 6144, 1, 64) (torch.bfloat16)
attn_bias : <class 'NoneType'>
p : 0.0
decoderF is not supported because:
attn_bias type is <class 'NoneType'>
bf16 is only supported on A100+ GPUs
[email protected] is not supported because:
requires device with capability > (8, 0) but your GPU has capability (7, 0) (too old)
bf16 is only supported on A100+ GPUs
cutlassF is not supported because:
bf16 is only supported on A100+ GPUs
smallkF is not supported because:
max(query.shape[-1] != value.shape[-1]) > 32
dtype=torch.bfloat16 (supported: {torch.float32})
bf16 is only supported on A100+ GPUs
unsupported embed per head: 64

@realisticdreamer114514
Copy link

realisticdreamer114514 commented Jul 18, 2024

https://developer.nvidia.com/cuda-gpus
The "requires device with capability" part points to this, which means it requires at least RTX 30 or 40-series GPUs (and their enterprise counterparts). Need to add settings that support older cards and apply it automatically once it detects your GPU type.

(I would also want to see if it is possible to run on consumer-grade GPUs)

@zjp-shadow
Copy link
Owner

You can try turning off this option memory_efficient_attention_forward to run this code. V100's memory is enough.

@realisticdreamer114514
Copy link

You can try turning off this option memory_efficient_attention_forward to run this code. V100's memory is enough.

Where can we find this option?

@forrest-lam
Copy link
Author

You can try turning off this option memory_efficient_attention_forward to run this code. V100's memory is enough.

Is it the flag enable_memory_efficient_attention in 3D_Stage/configs/infer.yaml? But it occurs in two places in this file, one in image_tokenizer and the other in backbone. Which one should I turn off?

@realisticdreamer114514
Copy link

You can try turning off this option memory_efficient_attention_forward to run this code. V100's memory is enough.

Is it the flag enable_memory_efficient_attention in 3D_Stage/configs/infer.yaml? But it occurs in two places in this file, one in image_tokenizer and the other in backbone. Which one should I turn off?

Update: I turned both off, it doesn't help, the same error appears.

If the dev didn't just leave while refusing to elaborate further, we would have a easier time.

zjp-shadow added a commit that referenced this issue Jul 24, 2024
Issue #18 lower compute capability requirement.
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