Open lhl opened 2 months ago
Try the develop
branch
Also, composable_kernel_tiled
is not supported on Navi31 at present
Try the
develop
branch
I've confirmed that the develop
branch doesn't work either. Not surprising if the CK code it depends on doesn't work?
I'll leave this issue open to track if there's any future progress. Many libs/frameworks depend on xformers so any version that works with navi31 would be of wider interest.
I tried on Arch, 7900xt, also getting lots of errors. Hundreds of errors but most look like the following:
Tuple<Sequence<N0, N1>, Sequence<K0, K1, K2, K3>>,
^~
third_party/composable_kernel_tiled/include/ck/tile_program/block_tile_pipeline/block_fmha_bwd_pipeline_default_policy_hip.hpp:1016:81: note: initializer of 'K1' is not a constant expression
third_party/composable_kernel_tiled/include/ck/tile_program/block_tile_pipeline/block_fmha_bwd_pipeline_default_policy_hip.hpp:1011:27: note: declared here
constexpr index_t K1 = get_warp_size() / (K2 * N0);
4 warnings and 14 errors generated when compiling for gfx1100.
Here's my full run:
python -m venv venv
source venv/bin/activate
pip install --upgrade pip
pip3 install --ignore-installed --pre torch torchvision torchaudio --index-url https://download.pytorch.org/whl/nightly/rocm6.1
pip install setuptools
pip install wheel
pip wheel -v --no-build-isolation "git+https://github.com/ROCm/xformers.git@develop#egg=xformers"
I tried out building this lib with the docker option, and everything worked fine. Is this an indication that I have a library issue with my setup and it would work with gfx1100?
I am running a standard Ubuntu 22.04 LTS ROCm 6.0.0 build with the latest packages in a new
mamba
venv.Trying to install the package from source:
It looks like there are a problem with a number of the kernels...
18:
19:
20:
22:
23:
24:
Actually it keeps going for 25, 26, 27, 28, 29, 30, 31, but you get the idea.