Testing by @DavidDragonsage [here](https://github.com/DavidDragonsage/FooocusPlus/issues/102#issuecomment-2763841468) confirms that xformers installation is possible on [supported platforms](https://github.com/facebookresearch/xformers/blob/main/README.md#installing-xformers) known to torchruntime. The only known supported platform at the moment is `cu124`. However, `rocm6.2.4` support will also be available if #9 is accepted. It would be helpful if this extra feature is documented. The additional package can be installed from the command line with: `torchruntime install xformers` It can also be installed using the [API](https://github.com/easydiffusion/torchruntime/blob/ccdf759cee194e7110ea4d751cdd6115f3f1f1e0/API.md#install-torch-packages) with: ```python import torchruntime torchruntime.install(["xformers"]) ```
Activity
iwr-redmond commentedon Jun 15, 2025
ROCm 6.3 also has an xformers build.
iwr-redmond commentedon Dec 26, 2025
As of 12/27, the following Torch platforms have xformers support:
Notes: