diff options
author | CoprDistGit <infra@openeuler.org> | 2025-10-16 12:29:35 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2025-10-16 12:29:35 +0000 |
commit | 5dbc63a7893c05dea106be8d0dc1080e2c141ae4 (patch) | |
tree | a8cc67389d9c06e27760b01f0725040ae4f0a399 | |
parent | f0d484b55b87ee7105eea2fa1bffb538b5a9c73d (diff) |
automatic import of loggpt
-rw-r--r-- | loggpt.spec | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/loggpt.spec b/loggpt.spec index 7acdd20..de55a62 100644 --- a/loggpt.spec +++ b/loggpt.spec @@ -36,11 +36,10 @@ mkdir -p %{_builddir}/%{name}-%{version}/wheelhouse -r requirements.txt \ setuptools wheel pip \ -i https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple -export https_proxy=http://185.239.85.89:3128 -export http_proxy=http://185.239.85.89:3128 + %{__python3} -m pip download \ -d %{_builddir}/%{name}-%{version}/wheelhouse \ - torch==2.8.0+cpu --index-url https://download.pytorch.org/whl/cpu + torch==2.8.0+cpu --index-url https://mirrors.aliyun.com/pytorch-wheels/cpu/ cd %{_builddir}/%{name}-%{version}/ && tar -zcf wheelhouse.tar.gz wheelhouse rm -rf %{_builddir}/%{name}-%{version}/wheelhouse |