Comments (7)
what does startup show on console for torch? and how did you install xformers? during which operation does this happen?
from automatic.
I had the error myself on the first installation, but it happened since I copied over the venv from the original A1111 fork. In my instance, it was fixed after wiping the venv and installing the requirements again.
from automatic.
Is it like the Mac M1 is not supported yet? I have the similar issue here.
memory_efficient_attention_forward
gradio call: NotImplementedError
╭────────────────────────────────────────────────────────────────────────── Traceback (most recent call last) ──────────────────────────────────────────────────────────────────────────╮
│ /Users/rockie/Documents/git/automatic/modules/call_queue.py:59 in f │
│ │
│ 58 │ │ │ │ pr.enable() │
│ ❱ 59 │ │ │ res = list(func(*args, **kwargs)) │
│ 60 │ │ │ if shared.cmd_opts.profile: │
│ │
│ /Users/rockie/Documents/git/automatic/modules/call_queue.py:38 in f │
│ │
│ 37 │ │ │ try: │
│ ❱ 38 │ │ │ │ res = func(*args, **kwargs) │
│ 39 │ │ │ finally: │
│ │
│ ... 17 frames hidden ... │
│ │
│ /Users/rockie/Documents/git/automatic/venv/lib/python3.10/site-packages/xformers/ops/fmha/dispatch.py:95 in _dispatch_fw │
│ │
│ 94 │ │ priority_list_ops.insert(0, triton.FwOp) │
│ ❱ 95 │ return _run_priority_list( │
│ 96 │ │ "memory_efficient_attention_forward", priority_list_ops, inp │
│ │
│ /Users/rockie/Documents/git/automatic/venv/lib/python3.10/site-packages/xformers/ops/fmha/dispatch.py:70 in _run_priority_list │
│ │
│ 69 │ │ msg += "\n" + _format_not_supported_reasons(op, not_supported) │
│ ❱ 70 │ raise NotImplementedError(msg) │
│ 71 │
╰───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
NotImplementedError: No operator found for memory_efficient_attention_forward
with inputs:
query : shape=(1, 7680, 1, 512) (torch.float32)
key : shape=(1, 7680, 1, 512) (torch.float32)
value : shape=(1, 7680, 1, 512) (torch.float32)
attn_bias : <class 'NoneType'>
p : 0.0
cutlassF
is not supported because:
device=mps (supported: {'cuda'})
flshattF
is not supported because:
device=mps (supported: {'cuda'})
dtype=torch.float32 (supported: {torch.float16, torch.bfloat16})
max(query.shape[-1] != value.shape[-1]) > 128
tritonflashattF
is not supported because:
device=mps (supported: {'cuda'})
dtype=torch.float32 (supported: {torch.float16, torch.bfloat16})
max(query.shape[-1] != value.shape[-1]) > 128
triton is not available
smallkF
is not supported because:
device=mps (supported: {'cuda', 'cpu'})
max(query.shape[-1] != value.shape[-1]) > 32
unsupported embed per head: 512
from automatic.
Original issue is with Cuda, don't hijack the thread with M1. Search issues/discussions first and open new issue if needed as it's not related to this.
from automatic.
I see, there is already an issue mentioned not supporting M1. What is the estimation of the timeframe to support M1? Thanks for your effort!
from automatic.
I'm fully willing to support the effort, but i don't have M1 system available - I'd love to have a contributor to suggest what's needed,
Same applies for AMD optimizations.
from automatic.
there is no update on original issue, so closing for now and can be reopened once update is provided.
from automatic.
Related Issues (20)
- [Issue]: Python 3.12 unsupported error on initial installation ? HOT 6
- [Issue]: [Issue]: Can't Generate anything (or infinitly slow) HOT 1
- [Issue]: PAG failure while Face Restore enabled HOT 1
- [Issue] Stable Video Diffusion not working
- [Issue]: webui --upgrade turns dev into master HOT 1
- [Issue] Errors with RealESRGAN 4x+ Anime6B on OpenVINO backend HOT 2
- [Feature]: SD Forge Attention Couple better alternative to regional prompter with gui HOT 6
- [Issue]: Modern UI bug - All Icons not showing up HOT 1
- [Issue] Instant ID cuda Cannot copy out of meta tensor HOT 2
- [Feature] sd-forge-layerdiffuse
- [Issue]: dev: "Same as primary" for Secondary Sampler in new UI is not working -> "NullType" error HOT 1
- [Issue]: dev/new ui: sampler options not recognized for UI / Set new defaults, so the toggle states get lost HOT 1
- [Issue]: dev: timestamp AYS SD15 prefills Timesteps override, which must be empty for this selection HOT 2
- [Issue]: dev/new ui: render time and manual save state is missing HOT 4
- [Issue]: Move Face Restore options to Post Process settings HOT 1
- [Issue]: dev/new ui: "Extra networks" columns broken HOT 1
- [Issue]: Wildcard Recursion issues HOT 7
- [Issue]: dev: metadata not saving to png/webp HOT 2
- [Feature]: Wildcards & Batching HOT 2
- [Issue]: ZLUDA installation steps in wiki do not work, caffe2_nvrtc.dll missing HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from automatic.