Ah, I missed that I use dencode_mode=1.
Okay, the server python instance already eats ~22GB RAM. (got 64, no real problem)
usingPreview in vsViewer works fine.
But encoding is stuck:
restarted the job and it seems to be stuck again,... gpu jumps to 50% at the beginning and then nothing happens.
Stopped the job, restarted the server
Restarted the job, cpu usage jumps to 74% cpu remains low (3-5%), then after a while it seems to start
and then fails, like before reporting that the connection was closed by remote,...
tried it again (server restart, job restart)
This time it worked.
Restarted the job and it worked again.
But at the end of the encoding I always get:
This should be captured, since otherwise folks might think this is a crash.
Hmm,.. I added AutoWhite after the coloring and now the encoding stopped after half of the frames,... (the ref frame coloring seemed to be finished,...)
=> restarted the server and the job, this time it looks like the client didn't connect to the server, restarting the job, still nothing happens. gpu: 0%)
restarting server and then the job now the client connected, frames got created, encoding started and ran without an issue.
Cu Selur
Okay, the server python instance already eats ~22GB RAM. (got 64, no real problem)
using
clip = havc.HAVC_cmnet2dit(clip, dit_engine_params={"host": "127.0.0.1", "port": 8765, "model_precision": "int4"})But encoding is stuck:
100%|████████████████████████████████████████████████████████████████████████████████████| 2/2 [00:03<00:00, 1.98s/it]
2026-05-24 19:09:06,304 [INFO] colorize_frame_pair_shm: 10.65s (5.33s/frame)Stopped the job, restarted the server
(.venv) F:\Hybrid\64bit\Vapoursynth\DiTServerRPC-main>python dit_rpc_server.py --load-pipeline --pipeline-config qwen_config_int4.json
2026-05-24 19:39:48,815 [INFO] module_dir : F:\Hybrid\64bit\Vapoursynth\DiTServerRPC-main
2026-05-24 19:39:48,815 [INFO] dit_colorize_main.py : found
2026-05-24 19:39:48,815 [INFO] Loading pipeline from config: qwen_config_int4.json
2026-05-24 19:39:48,815 [INFO] Loading pipeline: nunchaku-qwen int4 r32 steps=4
Loading SVDQuant INT4 transformer from: nunchaku-ai/nunchaku-qwen-image-edit-2509/lightning-251115/svdq-int4_r32-qwen-image-edit-2509-lightning-4steps-251115.safetensors
The config attributes {'pooled_projection_dim': 768} were passed to NunchakuQwenImageTransformer2DModel, but are not expected and will be ignored. Please verify your config.json configuration file.
Loading checkpoint shards: 100%|███████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 4/4 [00:00<00:00, 44.73it/s]
Loading pipeline components...: 100%|██████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 6/6 [00:01<00:00, 5.52it/s]
Optimizing VRAM ...
F:\Hybrid\64bit\Vapoursynth\DiTServerRPC-main\.venv\Lib\site-packages\nunchaku\models\transformers\transformer_qwenimage.py:620: UserWarning: Skipping moving the model to GPU as offload is enabled
warn("Skipping moving the model to GPU as offload is enabled", UserWarning)
2026-05-24 19:40:48,634 [INFO] Pipeline loaded successfully.
2026-05-24 19:40:48,635 [INFO] HAVC Colorize RPC Server listening on 127.0.0.1:8765
2026-05-24 19:40:48,635 [INFO] Press Ctrl+C to stop.100%|██████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 2/2 [00:03<00:00, 1.75s/it]
2026-05-24 19:41:56,819 [INFO] colorize_frame_pair_shm: 42.41s (21.21s/frame)
100%|██████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 2/2 [00:03<00:00, 1.96s/it]
2026-05-24 19:42:30,197 [INFO] colorize_frame_pair_shm: 10.39s (5.20s/frame)
100%|██████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 2/2 [00:03<00:00, 1.64s/it]
2026-05-24 19:42:38,191 [INFO] colorize_frame_pair_shm: 7.81s (3.91s/frame)
100%|██████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 2/2 [00:03<00:00, 1.67s/it]
2026-05-24 19:42:46,226 [INFO] colorize_frame_pair_shm: 7.85s (3.93s/frame)
100%|██████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 2/2 [00:03<00:00, 1.68s/it]
2026-05-24 19:42:54,308 [INFO] colorize_frame_pair_shm: 7.90s (3.95s/frame)
100%|██████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 2/2 [00:03<00:00, 1.68s/it]
2026-05-24 19:43:02,450 [INFO] colorize_frame_pair_shm: 7.96s (3.98s/frame)tried it again (server restart, job restart)
This time it worked.
Restarted the job and it worked again.
But at the end of the encoding I always get:
Exception occurred during processing of request from ('127.0.0.1', 5402)
Exception occurred during processing of request from ('127.0.0.1', 5403)
Traceback (most recent call last):
Traceback (most recent call last):
File "socketserver.py", line 697, in process_request_thread
File "socketserver.py", line 362, in finish_request
File "socketserver.py", line 697, in process_request_thread
File "socketserver.py", line 362, in finish_request
File "socketserver.py", line 766, in __init__
File "socketserver.py", line 766, in __init__
File "http\server.py", line 438, in handle
File "http\server.py", line 438, in handle
File "http\server.py", line 404, in handle_one_request
File "socket.py", line 720, in readinto
File "http\server.py", line 404, in handle_one_request
ConnectionResetError: [WinError 10054] Eine vorhandene Verbindung wurde vom Remotehost geschlossen
File "socket.py", line 720, in readinto
----------------------------------------
ConnectionResetError: [WinError 10054] Eine vorhandene Verbindung wurde vom Remotehost geschlossenHmm,.. I added AutoWhite after the coloring and now the encoding stopped after half of the frames,... (the ref frame coloring seemed to be finished,...)
=> restarted the server and the job, this time it looks like the client didn't connect to the server, restarting the job, still nothing happens. gpu: 0%)
# colorize using CMNet with external DiT (HAVC)
clip = havc.HAVC_cmnet2dit(clip, dit_engine_params={"host": "127.0.0.1", "port": 8765, "model_precision": "int4"})
# adjusting color space from YUV420P8 to RGB24 for vsAutoWhite
clip = core.resize.Bicubic(clip=clip, format=vs.RGB24, matrix_in_s="470bg", range_in_s="limited", range_s="full")
# adjusting colors using AutoWhite
clip = color.AutoWhite(clip)Cu Selur
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.

