Open zhaohm14 opened 4 months ago
Your setting is completely correct. But be sure you are using the correct pytorch since xformers is a pytorch application. You can check whether your pytorch can work on your MI250 by
> import torch
> query = torch.ones((16, 256), device=torch.device("cuda"))
@zhaohm14 Hi I would like to ask how long does it takes to install the xformers?
@xinlong-yang 这个跟CPU有关,印象里用7763安装的过程大概一两分钟的样子
@xinlong-yang 这个跟CPU有关,印象里用7763安装的过程大概一两分钟的样子
感谢回复,我也是在MI250上面装的,但是一开始忘记用ninja了,导致跑了好几个小时,用ninja的话大概10分钟多
@zhaohm14 I noticed the installation is broken with python setup.py
subcommands. Some necessary logic happens in the wrapper around it. The way suggested in the readme (pip install -v -U git+https://github.com/facebookresearch/xformers.git@main#egg=xformers
) should work
Note that you can customize the repository and branch link if you like to use the rocm fork, but the upstream version should be treated as more stable
Please let me know if that solves the build issue
@xinlong-yang 这个跟CPU有关,印象里用7763安装的过程大概一两分钟的样子
感谢回复,我也是在MI250上面装的,但是一开始忘记用ninja了,导致跑了好几个小时,用ninja的话大概10分钟多
Yes, #> unset MAX_JOBS to use all your CPUs for compiling
I am installing xformers by the following steps:
And after the installation, when using xformers, a message shows:
This is python -m xformers.info:
Is there anything I'm doing wrong? Thanks!