Skip to content

[Issue]: ROCm/xformer won't compile due to missing ck/tensor/tensor_view.hpp #1171

@lhl

Description

@lhl

Problem Description

I have a 7900XTX (RDNA3, navi3, gfx1100) card that I'm trying to do some useful LLM work and one of the requirements I have is xformers. I am trying to build the https://github.com/ROCm/xformers/tree/develop fork. It depends on composable_kernel, but when building, it fails because it's looking for a file that doesn't seem to exist (and search doesn't seem to turn anything up either):

xformers/xformers/csrc/attention/hip_fmha/ck_tiled_fmha_batched_forward_hip.h:16:10: fatal error: 'ck/tensor/tensor_view.hpp' file not found
#include <ck/tensor/tensor_view.hpp>

Just wondering if there's a branch I missed that I should be using instead or some other way to get xformers compiling w/ ck?

Operating System

Ubuntu 22.04.3 LTS

CPU

AMD Ryzen 5800X3D

GPU

AMD Radeon RX 7900 XTX

Other

No response

ROCm Version

ROCm 6.0.0

ROCm Component

No response

Steps to Reproduce

git clone https://github.com/ROCm/xformers
cd xformers
git fetch
git branch -a
git checkout develop
git submodule update --init --recursive
python setup.py install

(Optional for Linux users) Output of /opt/rocm/bin/rocminfo --support

No response

Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions