facebookresearch/fairseq

Is there a C++ version of Fairseq based on libtorch

Open

#5,540 opened on Sep 11, 2024

View on GitHub
 (0 comments) (0 reactions) (0 assignees)Python (6,224 forks)batch import
enhancementhelp wantedneeds triage

Repository metrics

Stars
 (29,107 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

🚀 Feature Request

A C++ version of Fairseq based on libtorch is required

Motivation

Pytorch and the entire python environment are too large after packaging, so use libtorch instead. However, the previous fairseq loaded model must also be loaded in C++, but no C++ version of fairseq has been found

Pitch

Provides a C++ version of fairseq based on libtorch

Alternatives

Additional context

Contributor guide