You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, importing xformers.ops will implicitly initializes CUDA context. This has an unpleasant effect that we cannot use the "fork" multi-processing method.
The line of code that initializes CUDA context is as follows:
Hi,
Thanks for reporting this issue. Unfortunately it might be more effort than just this line, as we check for device capabilities in multiple places as well... @fmassa@bottler any idea?
Currently, importing
xformers.ops
will implicitly initializes CUDA context. This has an unpleasant effect that we cannot use the "fork" multi-processing method.The line of code that initializes CUDA context is as follows:
xformers/xformers/__init__.py
Line 52 in f663712
The text was updated successfully, but these errors were encountered: