facebookresearch / facebookresearch/fairseq2

ROCM HIP / Vulkan support for GPU acceleration

Open
#42 3 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Python
Stars
1.1k
Forks
144
Avg merge
4d 1h
Merged PRs (30d)
1

Description

**Is your feature request related to a problem? Please describe:**
Right now, it is not possible to use this library on AMD hardware because it is ABI-linked to either the CPU or CUDA version of Torch. It doesn't appear to be possible to build it with just replacing the torch version with rocm-enabled torch unlike what usually works for other ML projects.

**Describe the solution you would like:**
Be able to have rocm enabled build of this library available or at least implement HIP/Vulkan support so that it can be built from source.

**Describe the alternatives you have considered:**
I have none at this moment besides running on the CPU.

**Additional Context:**
ROCM 5.6.x / Radeon 7900 XTX working with most other tools relying on Torch.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.