facebookresearch/xformers

Provide an easy way to debug mem-eff issues

Open

#632 opened on Jan 10, 2023

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

Repository metrics

Stars
 (6,903 stars)
PR merge metrics
 (PR metrics pending)

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