xformers icon indicating copy to clipboard operation
xformers copied to clipboard

Hackable and optimized Transformers building blocks, supporting a composable construction.

Results 158 xformers issues
Sort by recently updated
recently updated
newest added

# 🐛 Bug Xformers gives a CUDA error like this when the batch size is larger or equal to 65536. ``` RuntimeError: CUDA error: invalid configuration argument CUDA kernel errors...

bug

# 🐛 Bug When using block diagonal attention, with bfloat16 as the datatype and when setting torch to deterministic mode, some of the computed gradients are NaN. ## Command Save...

# ❓ Questions and Help Hi, I tested memory_efficient_attention with the pytorch equivalent implementation in the doc, and found they are not exactly the same. The code: ``` def attention_e(self,...

# 🐛 Bug benchmark shows that the memory consumption of some linear/activation layers is 0.00MB ## Command `pytest benchmark/benchmark_sp24.py` ## To Reproduce Steps to reproduce the behavior: 1.`pytest benchmark/benchmark_sp24.py` ##...

# 🐛 Bug RuntimeError: unsupported output type: int, from operator: xformers::efficient_attention_forward_cutlass ## Command ## To Reproduce StableDiffusionXL model use with torch.jit and enable_xformers_memory_efficient_attention function ``` m.enable_xformers_memory_efficient_attention torch.jit.trace(m) ``` Steps to...

# ❓ Questions and Help Independently implementing the equivalent replacement from xformers to pytorch would be a great engineering practice for greatly improving the underlying capabilities of network design. May...

# ❓ Questions and Help i use anaconda in linux.torch2.1.2+cu118 i see another issue use venv to solve it, but for weird reason, i cant use venv because when i...

# ❓ Questions and Help Hi I tried to call xformers's Swiglufusedpacked op on my codes and get the following error during training: ![image](https://github.com/facebookresearch/xformers/assets/145947076/6e945223-48cd-4264-9ea7-dcef9c0d46a4) By searching on web with keywords...

Hello, Is there a way to install xformers without changing Pytorch? My torch version is [2.0.0a0+1767026]. And, other package, associate with training pipeline, depends on it. So it causes other...

Hi, I have the issue that my sequences are strongly varying in length, with sometimes having outliers that are an order of magnitude longer than the average. In default pytorch...