From 6727b2d10826c558fc0443abb2de847ed21bb022 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Tue, 16 Apr 2024 01:07:32 +0000 Subject: automatic import of torchtext --- text.spec | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/text.spec b/text.spec index 0204a94..6dd9652 100644 --- a/text.spec +++ b/text.spec @@ -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 -- cgit v1.2.3