facebookresearch/xformers

Provide an easy way to debug mem-eff issues

Open

#632 opened on Jan 10, 2023

View on GitHub
 (0 comments) (0 reactions) (0 assignees)Python (473 forks)batch import
good first issue

Repository metrics

Stars
 (6,903 stars)
PR merge metrics
 (Avg merge 3d 6h) (1 merged PR in 30d)

Description

🚀 Feature

We should be able to: (1) Understand which op is used for FW/BW (via additional logging enabled with an env variable?) (2) Possibly disable some ops entirely with env variable (like CUDA_VISIBLE_DEVICES but something like XFORMERS_MEMEFF_FW_OPERATORS=...)

Contributor guide