You've already forked macports-ports
mirror of
https://github.com/encounter/macports-ports.git
synced 2026-03-30 11:29:27 -07:00
57 lines
1.9 KiB
Tcl
57 lines
1.9 KiB
Tcl
# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
|
|
|
|
PortSystem 1.0
|
|
PortGroup github 1.0
|
|
PortGroup python 1.0
|
|
|
|
github.setup pytorch fairseq 0.10.2 v
|
|
revision 1
|
|
name py-${github.project}
|
|
|
|
license MIT
|
|
maintainers nomaintainer
|
|
platforms darwin
|
|
|
|
description Facebook AI Research Sequence-to-Sequence Toolkit written in Python.
|
|
|
|
long_description Fairseq(-py) is a sequence modeling toolkit that \
|
|
allows researchers and developers to train custom \
|
|
models for translation, summarization, language \
|
|
modeling and other text generation tasks.
|
|
|
|
checksums rmd160 cab31522078460313b4713564a452fa02ddd790f \
|
|
sha256 625dc6f94be7136630f5bd3dc14f94c7ebae10fbb4a80d1bb708ef0355673990 \
|
|
size 3088024
|
|
|
|
python.versions 37 38 39
|
|
|
|
if {${name} ne ${subport}} {
|
|
depends_lib-append \
|
|
port:py${python.version}-setuptools
|
|
|
|
depends_run-append \
|
|
port:py${python.version}-cffi \
|
|
port:py${python.version}-cython \
|
|
port:py${python.version}-hydra-core \
|
|
port:py${python.version}-omegaconf \
|
|
port:py${python.version}-numpy \
|
|
port:py${python.version}-pytorch \
|
|
port:py${python.version}-regex \
|
|
port:py${python.version}-sacrebleu \
|
|
port:py${python.version}-tqdm
|
|
|
|
depends_test-append \
|
|
port:py${python.version}-pytest
|
|
|
|
# https://github.com/pytorch/fairseq#requirements-and-installation
|
|
configure.cxx_stdlib \
|
|
libc++
|
|
|
|
use_parallel_build \
|
|
no
|
|
|
|
test.run yes
|
|
test.cmd py.test-${python.branch}
|
|
test.target tests
|
|
}
|