Lada|JavPlayer 中文交流论坛

 找回密码
 立即注册
楼主: sogo79978

請問使用lada 5060TI16G 升級到5070ti會有感嗎

[复制链接]

0

主题

39

帖子

200

积分

初级会员

Rank: 2

积分
200
发表于 2026-6-9 13:26:05 | 显示全部楼层
用LADA和JASNA都能正常用GPU来破解

点评

你的问题与 Jasna 作者遇到的问题一样 也是 RTX 5090 无法使用 GPU 全速 https://codeberg.org/comman/lada-ex/issues/24 这问题我也不清楚 在我的PC环境,4060 与 5060 Ti 都能有 90% 以上的负载 我会帮你关注 等  详情 回复 发表于 2026-6-9 13:54
回复

使用道具 举报

7

主题

111

帖子

1315

积分

中级会员

Rank: 3Rank: 3

积分
1315
发表于 2026-6-9 13:54:10 | 显示全部楼层
1970134465 发表于 2026-6-9 13:26
用LADA和JASNA都能正常用GPU来破解

你的问题与 Jasna 作者遇到的问题一样
也是 RTX 5090 无法使用 GPU 全速
https://codeberg.org/comman/lada-ex/issues/24

这问题我也不清楚
在我的PC环境,4060 与 5060 Ti 都能有 90% 以上的负载
我会帮你关注
等待LadaEx 制作群与 Jasna 作者的反馈

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

x

点评

大佬,我换了4080S 来跑,还是出错,求指点 "python\python.exe" -m lada.cli.main --input "D:\Favorites\APAK-312\" --output "D:\116" --temporary-directory "D:\116" --output-file-pattern "{orig_file_name}-  详情 回复 发表于 2026-6-10 18:51
回复

使用道具 举报

0

主题

39

帖子

200

积分

初级会员

Rank: 2

积分
200
发表于 2026-6-9 14:45:27 | 显示全部楼层
感谢大佬的指点
回复

使用道具 举报

0

主题

39

帖子

200

积分

初级会员

Rank: 2

积分
200
发表于 2026-6-10 18:51:24 | 显示全部楼层
hodalahiruma 发表于 2026-6-9 13:54
你的问题与 Jasna 作者遇到的问题一样
也是 RTX 5090 无法使用 GPU 全速
https://codeberg.org/comman/lad ...

大佬,我换了4080S 来跑,还是出错,求指点
"python\python.exe" -m lada.cli.main --input "D:\Favorites\*\*.mp4" --output "D:\116" --temporary-directory "D:\116" --output-file-pattern "{orig_file_name}-U.mp4" --mosaic-detection-model "v4-fast" --encoding-preset "hevc-nvidia-gpu-uhq" --max-clip-length 180 --no-detect-face-mosaics --fp16 --tensorrt --torchcodec-encoder --fast-pipeline --device cuda:0

[06/10/2026-18:52:58] [TRT] [E] IRuntime::deserializeCudaEngine: Error Code 6: API Usage Error (The engine plan file is generated on an incompatible device, expecting compute 8.9 got compute 12.0, please rebuild. In nvinfer1::rt::`anonymous-namespace'::checkEngineDeviceCompatible at C:\_src\runtime\api\engine.cpp:918)
Traceback (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "D:\lada-ex\python\Lib\site-packages\lada\cli\main.py", line 516, in <module>
    main()
    ~~~~^^
  File "D:\lada-ex\python\Lib\site-packages\lada\cli\main.py", line 449, in main
    mosaic_detection_model, mosaic_restoration_model, preferred_pad_mode = load_models(
                                                                           ~~~~~~~~~~~^
        device, mosaic_restoration_model_name, mosaic_restoration_model_path, args.mosaic_restoration_config_path,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<4 lines>...
        fast_pipeline=args.fast_pipeline
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "D:\lada-ex\python\Lib\site-packages\lada\restorationpipeline\__init__.py", line 116, in load_models
    mosaic_detection_model = Yolo11SegmentationModel(
        mosaic_detection_model_path, device, classes=classes, conf=0.15,
        fp16=fp16, vr_mode=vr_mode, imgsz=imgsz, use_tensorrt=use_tensorrt, batch_size=4
    )
  File "D:\lada-ex\python\Lib\site-packages\lada\models\yolo\yolo11_segmentation_model.py", line 61, in __init__
    self._trt_predictor = Yolo11TensorRTPredictor(engine_path, self.device, self.imgsz, self._conf, self.fp16, self._tracker_yaml)
                          ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "D:\lada-ex\python\Lib\site-packages\lada\models\yolo\yolo_tensorrt_predictor.py", line 86, in __init__
    in_name = engine.get_tensor_name(0)
              ^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'get_tensor_name'
[06/10/2026-18:53:03] [TRT] [W] Functionality provided through tensorrt.plugin module is experimental.
W0610 18:53:04.172000 7552 Lib\site-packages\torch\distributed\elastic\multiprocessing\redirects.py:29] NOTE: Redirects are currently not supported in Windows or MacOs.

点评

因你先前是使用 5090 且使用了 --tensorrt 参数 这会预先编译好 BasicVSR++ 引擎使编码更快 但现在使用了 4080,架构上不一样 因此先前的引擎不适用 移除: model_weights\lada_mosaic_detection_model_v4_fast.onnx  详情 回复 发表于 2026-6-10 20:16
回复

使用道具 举报

7

主题

111

帖子

1315

积分

中级会员

Rank: 3Rank: 3

积分
1315
发表于 2026-6-10 20:16:34 | 显示全部楼层
本帖最后由 hodalahiruma 于 2026-6-10 20:18 编辑
1970134465 发表于 2026-6-10 18:51
大佬,我换了4080S 来跑,还是出错,求指点
"python\python.exe" -m lada.cli.main --input "D:\Favorites ...

因你先前是使用 5090 且使用了 --tensorrt 参数
这会预先编译好 BasicVSR++ 引擎使编码更快
但现在使用了 4080,架构上不同
因此先前的引擎不适用
移除:
model_weights\lada_mosaic_detection_model_v4_fast.onnx
model_weights\lada_mosaic_detection_model_v4_fast.bs4.imgsz640.fp16.v11_total_manual.engine.lock
model_weights\lada_mosaic_detection_model_v4_fast.bs4.imgsz640.fp16.v11_total_manual.engine
注: 文件名或许与我的不同,若不清楚就移除 *v4_fast.onnx、*v4_fast.engine.lock、*v4_fast.engine
注: 若 v2、v4_accurate 也曾编译过,也要移除
移除后再次使用命令
会再重新产生适用于 40x0 架构的引擎

另外请问你用的 CPU 型号是?

点评

删了,还是不行。 "python\python.exe" -m lada.cli.main --input "D:\Favorites\*\*.mp4" --output "D:\116" --temporary-directory "D:\116" --output-file-pattern "{orig_file_name}-U.mp4" --mosaic-detection-  详情 回复 发表于 2026-6-10 21:37
回复

使用道具 举报

0

主题

39

帖子

200

积分

初级会员

Rank: 2

积分
200
发表于 2026-6-10 20:19:36 | 显示全部楼层
12400+ b660g

点评

lada-ex 支持 Intel Quick Sync Video 这应该可以解决你的显卡性能因等待 cpu 解码时一直等候而无法将 gpu 负载拉高 1.首先先下载附件文件,文件中有下载位置,可更新最新 lada-ex 及 torchcodec 移除或备份以下文件  详情 回复 发表于 2026-6-10 21:47
回复

使用道具 举报

0

主题

39

帖子

200

积分

初级会员

Rank: 2

积分
200
发表于 2026-6-10 21:37:13 | 显示全部楼层
hodalahiruma 发表于 2026-6-10 20:16
因你先前是使用 5090 且使用了 --tensorrt 参数
这会预先编译好 BasicVSR++ 引擎使编码更快
但现在使用了  ...

删了,还是不行。
"python\python.exe" -m lada.cli.main --input "D:\Favorites\*\*.mp4" --output "D:\116" --temporary-directory "D:\116" --output-file-pattern "{orig_file_name}-U.mp4" --mosaic-detection-model "v4-fast" --encoding-preset "hevc-nvidia-gpu-uhq" --max-clip-length 180 --no-detect-face-mosaics --fp16 --tensorrt --torchcodec-encoder --fast-pipeline --device cuda:0

Compiling YOLO TensorRT engine for D:\lada-ex\model_weights\lada_mosaic_detection_model_v4_fast.pt. Output: D:\lada-ex\model_weights\lada_mosaic_detection_model_v4_fast.bs4.imgsz640.fp16.v11_total_manual.engine
  Building engine (this may take a few mins, workspace=11812MB)...
[06/10/2026-21:38:29] [TRT] [W] Functionality provided through tensorrt.plugin module is experimental.
W0610 21:38:30.457000 7744 Lib\site-packages\torch\distributed\elastic\multiprocessing\redirects.py:29] NOTE: Redirects are currently not supported in Windows or MacOs.

点评

没看到报错 编译需要30分钟以上时间 与 jasna 相同 第一次编译都要等待  详情 回复 发表于 2026-6-10 21:49
回复

使用道具 举报

7

主题

111

帖子

1315

积分

中级会员

Rank: 3Rank: 3

积分
1315
发表于 2026-6-10 21:47:00 | 显示全部楼层
本帖最后由 hodalahiruma 于 2026-6-10 21:57 编辑

lada-ex 支持 Intel Quick Sync Video
这应该可以解决你的显卡性能因等待 cpu 解码时一直等候而无法将 gpu 负载拉高
1.首先先下载附件文件,文件中有下载位置,可更新最新 lada-ex 及 torchcodec
移除或备份以下文件夹:
lada-ex\python\Lib\site-packages\lada
lada-ex\python\Lib\site-packages\lada_ex-0.12.1.dev0.dist-info
lada-ex\python\Lib\site-packages\torchcodec
lada-ex\python\Lib\site-packages\torchcodec-0.11.1.dist-info
2.接着解压附件 lada-ex_update.rar,附件里有:
lada-ex\python\Lib\site-packages\lada
lada-ex\python\Lib\site-packages\lada_ex-0.12.1.dev0.dist-info
lada-ex\python\Lib\site-packages\torchcodec
lada-ex\python\Lib\site-packages\torchcodec-0.14.0+cu126.dist-info
放至:
lada-ex\python\Lib\site-packages
3.利用新版 lada-ex 与 torchcodec,开启 GPU 解码
打开命令提示字符,输入:
lada-ex.bat --input "D:\Favorites\*\*.mp4" --output "D:\116" --temporary-directory "D:\116" --output-file-pattern "{orig_file_name}-U.mp4" --mosaic-detection-model "v4-fast" --encoding-preset "hevc-nvidia-gpu-uhq" --max-clip-length 180 --no-detect-face-mosaics --hw-decode nvidia --hw-decode-detector intel --fp16 --tensorrt --torchcodec-encoder --fast-pipeline --device cuda:0
多了两个参数: --hw-decode nvidia --hw-decode-detector intel
解码交给 GPU、马赛克侦测器交给 Intel QSV
如此你的GPU性能只有10几的负载数字应可更高
这是参照 lada-ex 开发者所述
https://codeberg.org/comman/lada-ex/issues/24
你尝试下

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

x
回复

使用道具 举报

7

主题

111

帖子

1315

积分

中级会员

Rank: 3Rank: 3

积分
1315
发表于 2026-6-10 21:49:09 | 显示全部楼层
本帖最后由 hodalahiruma 于 2026-6-10 21:52 编辑
1970134465 发表于 2026-6-10 21:37
删了,还是不行。
"python\python.exe" -m lada.cli.main --input "D:\Favorites\*\*.mp4" --output "D:\ ...

没看到报错
编译需要30分钟以上时间
与 jasna 相同
第一次编译都要等待

如果不想编译
将 TensortRT 参数关闭
--no-tensorrt
回复

使用道具 举报

0

主题

39

帖子

200

积分

初级会员

Rank: 2

积分
200
发表于 2026-6-10 21:50:47 | 显示全部楼层
"python\python.exe" -m lada.cli.main --input "D:\Favorites\*\*.mp4" --output "D:\116" --temporary-directory "D:\116" --output-file-pattern "{orig_file_name}-U.mp4" --mosaic-detection-model "v4-fast" --encoding-preset "hevc-nvidia-gpu-uhq" --max-clip-length 180 --no-detect-face-mosaics --fp16 --tensorrt --torchcodec-encoder --fast-pipeline --device cuda:0

Compiling YOLO TensorRT engine for D:\lada-ex\model_weights\lada_mosaic_detection_model_v4_fast.pt. Output: D:\lada-ex\model_weights\lada_mosaic_detection_model_v4_fast.bs4.imgsz640.fp16.v11_total_manual.engine
  Building engine (this may take a few mins, workspace=11812MB)...
[06/10/2026-21:48:06] [TRT] [W] Functionality provided through tensorrt.plugin module is experimental.
W0610 21:48:06.839000 1316 Lib\site-packages\torch\distributed\elastic\multiprocessing\redirects.py:29] NOTE: Redirects are currently not supported in Windows or MacOs.
WARNING: [Torch-TensorRT] - Using an engine plan file across different models of devices is not supported and is likely to affect performance or even cause errors or deadlock.
WARNING: [Torch-TensorRT] - Using an engine plan file across different models of devices is not supported and is likely to affect performance or even cause errors or deadlock.
WARNING: [Torch-TensorRT] - Using an engine plan file across different models of devices is not supported and is likely to affect performance or even cause errors or deadlock.
WARNING: [Torch-TensorRT] - Using an engine plan file across different models of devices is not supported and is likely to affect performance or even cause errors or deadlock.
WARNING: [Torch-TensorRT] - Using an engine plan file across different models of devices is not supported and is likely to affect performance or even cause errors or deadlock.
WARNING: [Torch-TensorRT] - Using an engine plan file across different models of devices is not supported and is likely to affect performance or even cause errors or deadlock.
WARNING: [Torch-TensorRT] - Using an engine plan file across different models of devices is not supported and is likely to affect performance or even cause errors or deadlock.
WARNING: [Torch-TensorRT] - Using an engine plan file across different models of devices is not supported and is likely to affect performance or even cause errors or deadlock.
WARNING: [Torch-TensorRT] - Using an engine plan file across different models of devices is not supported and is likely to affect performance or even cause errors or deadlock.
WARNING: [Torch-TensorRT] - Using an engine plan file across different models of devices is not supported and is likely to affect performance or even cause errors or deadlock.
Processing video:   1%|▋                                                                                                Processing video:   1%|▏                        |Processed: 00:19 (1302f) | Remaining: 56:4Processing video:   1%|█▏                                                                                                                  |Processed: 00:34 (2236f) | Remaining: 57:32 (225180f) | Speed: 65.2fps

依然是CPU100%,GPU没用

点评

参考这篇 https://javpcn.com/forum.php?mod=redirect&goto=findpost&ptid=1643&pid=73289  详情 回复 发表于 2026-6-10 21:53
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

手机版|小黑屋|Lada|Jasna|JavPlayer 中文交流论坛 |网站地图

GMT+8, 2026-6-24 15:51 , Processed in 0.025807 second(s), 19 queries .

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

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