diff options
author | CoprDistGit <infra@openeuler.org> | 2024-04-16 01:07:32 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2024-04-16 01:07:32 +0000 |
commit | 6727b2d10826c558fc0443abb2de847ed21bb022 (patch) | |
tree | d69ef48bbd7a5f08ffe61122b09e67b7a8834efc | |
parent | b9e0915c027c407acb21cfda95207854ef7cfa0d (diff) |
automatic import of torchtext
-rw-r--r-- | text.spec | 19 |
1 files changed, 14 insertions, 5 deletions
@@ -11,19 +11,28 @@ License: BSD URL: https://github.com/pytorch/text Source0: https://github.com/pytorch/text/archive/v%{version}.tar.gz -BuildRequires: gcc -BuildRequires: gcc-c++ + BuildRequires: cmake BuildRequires: ninja-build -BuildRequires: python3-devel +BuildRequires: utf8proc-devel +BuildRequires: re2-devel +BuildRequires: double-conversion-devel +BuildRequires: sentencepiece-devel + BuildRequires: python3-numpy BuildRequires: python3-scipy BuildRequires: python3-scikit-learn -BuildRequires: python3-matplotlib +BuildRequires: python3-tqdm +BuildRequires: python3-requests +BuildRequires: python3-devel BuildRequires: python3-setuptools +BuildRequires: python3-setuptools_scm +BuildRequires: python3-pbr BuildRequires: python3-pip BuildRequires: python3-wheel -BuildRequires: python3-pytorch +BuildRequires: python3-hatchling + +BuildRequires: python3-pytorch >= 2.1.2 %description torchtext is a Natural Language Processing (NLP) library for PyTorch. It provides data |