deepfacelab中文网

 找回密码
 立即注册(仅限QQ邮箱)
查看: 727|回复: 1

LORA环境安装一直报这个错怎么办。。。求大佬救我

[复制链接]

8

主题

84

帖子

583

积分

高级丹师

Rank: 5Rank: 5

积分
583
 楼主| 发表于 2023-3-16 23:19:34 | 显示全部楼层 |阅读模式
本帖最后由 superwax 于 2023-3-17 07:16 编辑

正在创建虚拟环境...
安装程序所需依赖 (已进行国内加速,若无法使用加速源请用 install.ps1)...
Looking in links: https://mirror.sjtu.edu.cn/pytorch-wheels/torch_stable.html
Collecting torch==1.12.1+cu116
  Using cached https://mirror.sjtu.edu.cn/pytor ... cp310-win_amd64.whl (2388.4 MB)
Collecting torchvision==0.13.1+cu116
  Using cached https://mirror.sjtu.edu.cn/pytor ... cp310-win_amd64.whl (2.6 MB)
Collecting typing-extensions
  Using cached typing_extensions-4.5.0-py3-none-any.whl (27 kB)
Collecting requests
  Using cached requests-2.28.2-py3-none-any.whl (62 kB)
Collecting numpy
  Using cached numpy-1.24.2-cp310-cp310-win_amd64.whl (14.8 MB)
Collecting pillow!=8.3.*,>=5.3.0
  Using cached Pillow-9.4.0-cp310-cp310-win_amd64.whl (2.5 MB)
Collecting urllib3<1.27,>=1.21.1
  Using cached urllib3-1.26.15-py2.py3-none-any.whl (140 kB)
Collecting charset-normalizer<4,>=2
  Using cached charset_normalizer-3.1.0-cp310-cp310-win_amd64.whl (97 kB)
Collecting certifi>=2017.4.17
  Using cached certifi-2022.12.7-py3-none-any.whl (155 kB)
Collecting idna<4,>=2.5
  Using cached idna-3.4-py3-none-any.whl (61 kB)
Installing collected packages: urllib3, typing-extensions, pillow, numpy, idna, charset-normalizer, certifi, torch, requests, torchvision
ERROR: Exception:
Traceback (most recent call last):
  File "F:\lora train\lora-scripts\venv\lib\site-packages\pip\_internal\cli\base_command.py", line 167, in exc_logging_wrapper
    status = run_func(*args)
  File "F:\lora train\lora-scripts\venv\lib\site-packages\pip\_internal\cli\req_command.py", line 247, in wrapper
    return func(self, options, args)
  File "F:\lora train\lora-scripts\venv\lib\site-packages\pip\_internal\commands\install.py", line 461, in run
    installed = install_given_reqs(
  File "F:\lora train\lora-scripts\venv\lib\site-packages\pip\_internal\req\__init__.py", line 73, in install_given_reqs
    requirement.install(
  File "F:\lora train\lora-scripts\venv\lib\site-packages\pip\_internal\req\req_install.py", line 790, in install
    install_wheel(
  File "F:\lora train\lora-scripts\venv\lib\site-packages\pip\_internal\operations\install\wheel.py", line 727, in install_wheel
    _install_wheel(
  File "F:\lora train\lora-scripts\venv\lib\site-packages\pip\_internal\operations\install\wheel.py", line 587, in _install_wheel
    file.save()
  File "F:\lora train\lora-scripts\venv\lib\site-packages\pip\_internal\operations\install\wheel.py", line 388, in save
    shutil.copyfileobj(f, dest)
  File "C:\Users\KING\AppData\Local\Programs\Python\Python310\lib\shutil.py", line 195, in copyfileobj
    buf = fsrc_read(length)
  File "C:\Users\KING\AppData\Local\Programs\Python\Python310\lib\zipfile.py", line 925, in read
    data = self._read1(n)
  File "C:\Users\KING\AppData\Local\Programs\Python\Python310\lib\zipfile.py", line 1015, in _read1
    self._update_crc(data)
  File "C:\Users\KING\AppData\Local\Programs\Python\Python310\lib\zipfile.py", line 943, in _update_crc
    raise BadZipFile("Bad CRC-32 for file %r" % self.name)
zipfile.BadZipFile: Bad CRC-32 for file 'torch/lib/cudnn_ops_train64_8.dll'

[notice] A new release of pip available: 22.2.2 -> 23.0.1
[notice] To update, run: python.exe -m pip install --upgrade pip
torch 安装失败,请删除 venv 文件夹后重新运行。
安装失败。

CMD运行

Microsoft Windows [版本 10.0.19044.2728]
(c) Microsoft Corporation。保留所有权利。

C:\Windows\system32>python.exe -m pip install --upgrade pip
Requirement already satisfied: pip in c:\users\king\appdata\local\programs\python\python310\lib\site-packages (23.0.1)

但是回到前面安装还是一样的提示。。。



回复

使用道具 举报

216

主题

1998

帖子

68万

积分

管理员

Rank: 96Rank: 96Rank: 96Rank: 96Rank: 96Rank: 96Rank: 96Rank: 96Rank: 96Rank: 96Rank: 96Rank: 96Rank: 96Rank: 96Rank: 96Rank: 96Rank: 96Rank: 96Rank: 96Rank: 96Rank: 96Rank: 96Rank: 96Rank: 96

积分
688152

隐世金马甲勋章超级版主勋章可爱萌新勋章见习版主勋章荣誉会员勋章男同管理员-无尚荣耀勋章优质版主勋章小有贡献勋章

发表于 2023-3-17 10:10:12 | 显示全部楼层
下载文件有损坏,重新下载
提供数字人直播服务、文字/音频驱动数字人服务,有意者联系我QQ563861181
全站默认解压密码dfldata.xyz
DFL交流QQ群五群974612885
AI绘画交流QQ群710238550
我的B站账号:特看科技的滚石   其他自称彦祖的不是我,请勿上当
回复 支持 反对

使用道具 举报

QQ|Archiver|手机版|deepfacelab中文网 |网站地图

GMT+8, 2024-11-23 16:20 , Processed in 0.130288 second(s), 30 queries .

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

快速回复 返回顶部 返回列表