![]() |
|
Deoldify Vapoursynth filter - Printable Version +- Selur's Little Message Board (https://forum.selur.net) +-- Forum: Talk, Talk, Talk (https://forum.selur.net/forum-5.html) +--- Forum: Small Talk (https://forum.selur.net/forum-7.html) +--- Thread: Deoldify Vapoursynth filter (/thread-3595.html) Pages:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
|
RE: Deoldify Vapoursynth filter - Selur - 16.02.2026 The headers and dll should be somwhere under Lib/site-packages,... but I'll do some testing after work. Cu Selur RE: Deoldify Vapoursynth filter - Dan64 - 16.02.2026 You're right, the dlib initialization script requires the user to have the CUDA SDK and cuDNN installed, while torch only needs to be installed in the same environment. Replace the __init__.py file in the dlib folder with the attached version and clear the cache. Key Changes applied in the attached script:
Installation Requirement: Ensure that the torch package with CUDA 13.0 is installed in the same Python environment as dlib, so that the script can locate torch\lib correctly. This modification allows dlib to dynamically use the CUDA DLLs bundled with torch, improving portability and reducing dependency on system-wide CUDA installations. Dan P.S. Tested and working on my side. RE: Deoldify Vapoursynth filter - Selur - 16.02.2026 I installed 'dlib-20.0.99-cp313-cp313-win_amd64.whl', then replaced the __init__.py, made sure to delete the __pycache__ folder inside Hybrid\64bit\Vapoursynth\Lib\site-packages\dlib and Hybrid\64bit\Vapoursynth\Lib\site-packages. Sadly I get: 2026-02-16 18:46:54.861Cu Selur RE: Deoldify Vapoursynth filter - Dan64 - 16.02.2026 But the output of: test_dlib_cuda_13.py ? This is my env build 1.4.0RE: Deoldify Vapoursynth filter - Selur - 17.02.2026 F:\Hybrid\64bit\Vapoursynth>python test_dlib_cuda_13.pyCu Selur RE: Deoldify Vapoursynth filter - Dan64 - 17.02.2026 I identified the problem: dlib's setup.py does not handle the CMAKE_ARGS variable for CUDA parameters correctly. When the setup.py is unable to get the architecture, switch by default to "native" that in my case is sm_120, so the build that I sent you was able to run only on RTX50. I changed the build script by using "CUDAARCHS=89;120" and now the problem is solved. Install the dlib wheel with the command: pip install dlib-20.0.99-cp313-cp313-win_amd64.whl --force-reinstallDan RE: Deoldify Vapoursynth filter - Selur - 17.02.2026 Hurray! That version works fine! Thanks! Cu Selur Ps.: once a. vsgan works with numpy2 https://github.com/rlaphoenix/VSGAN/issues/45 and HolyWus stuff works with TRT+FP16 https://github.com/HolyWu/vs-scunet/issues/8 I can release a Vapoursynth R73+Python3.13 version of the torch add-on ![]() PPs.: vs-mlrt doesn't work either atm. since there isn't a nvidia-modelopt for 3.13 ¯\_(ツ)_/¯ RE: Deoldify Vapoursynth filter - Selur - 05.04.2026 Vapoursynth R74 is out. see: https://github.com/vapoursynth/vapoursynth/releases/tag/R74 Quote:added the new _Range property which follows the H.273 numbering (0 and 1 switched) instead of the now deprecated _ColorRange property, all filters compiled against api version 4.2 and later must only use the _Range property=> you might want to check where you use '_ColorRange' and then use: prop_name = '_Range' if core.version_number() >= 74 else '_ColorRange'https://github.com/dan64/vs-deoldify/blob/39eae9f838e6857cf9479d8a90ae65a6fff91c2f/vsdeoldify/havc_utils.py#L88 Cu Selur RE: Deoldify Vapoursynth filter - Dan64 - 05.04.2026 I will check. Thanks, Dan RE: Deoldify Vapoursynth filter - Selur - 05.04.2026 small addition: DeprecationWarning: core.version_number() is deprecated, use core.core_version.release_major!
|