Warning: i:\Hybrid\64bit\Vapoursynth\Lib\site-packages\torch_tensorrt\fx\tracer\acc_tracer\acc_tracer.py:584: UserWarning: acc_tracer does not support currently support models for training. Calling eval on model before tracing.
warnings.warn(
Information: == Log pass <function fuse_permute_matmul at 0x0000029B26F88700> before/after graph to C:\Users\Selur\AppData\Local\Temp\tmpjsmylxpt, before/after are the same = True
Information: == Log pass <function fuse_permute_linear at 0x0000029B26F884C0> before/after graph to C:\Users\Selur\AppData\Local\Temp\tmp5zwqs8fw, before/after are the same = True
Information: Now lowering submodule _run_on_acc_0
Information: split_name=_run_on_acc_0, input_specs=[InputTensorSpec(shape=torch.Size([1, 3, 308, 720]), dtype=torch.float16, device=device(type='cuda', index=0), shape_ranges=[], has_batch_dim=True)]
Information: Timing cache is used!
x265 [error]: unable to open input file <->
Information: TRT INetwork construction elapsed time: 0:00:00.387301
Information: Build TRT engine elapsed time: 0:01:01.767990
Information: Lowering submodule _run_on_acc_0 elapsed time 0:01:05.018931
Information: Now lowering submodule _run_on_acc_2
Information: split_name=_run_on_acc_2, input_specs=[InputTensorSpec(shape=torch.Size([1, 3, 1232, 2880]), dtype=torch.float16, device=device(type='cuda', index=0), shape_ranges=[], has_batch_dim=True), InputTensorSpec(shape=torch.Size([1, 3, 1232, 2880]), dtype=torch.float16, device=device(type='cuda', index=0), shape_ranges=[], has_batch_dim=True)]
Information: Timing cache is used!
Information: TRT INetwork construction elapsed time: 0:00:00
Information: Build TRT engine elapsed time: 0:00:00.224972
Information: Lowering submodule _run_on_acc_2 elapsed time 0:00:00.229702
Error: fwrite() call failed when writing frame: 0, plane: 0, errno: 22
Output 33 frames in 0.80 seconds (41.09 fps)
With trt=False the script works fine.
Also, I set trt_cache_path=r"J:\tmp" and the error complains about something in C:\Users\Selur\AppData\Local\Temp\tmpjsmylxpt :/
Funny thing is, that using vsViewer/vsedit the preview works fine.
Any idea what could be the issue?
'torch_dependencies/bin/'-folder contains the files from CUDA-11.7_cuDNN-8.6.0_TensorRT-8.5.2.2_win64.7z I'm using NVIIDA Studio driver 528.24 atm. on Windows 11 pro 64bit
Using:
And calling:
i:\Hybrid\64bit\Vapoursynth\VSPipe.exe "J:\tmp\encodingTempSynthSkript_2023-01-30@19_43_10_8210_0.vpy" - -c y4m | i:\Hybrid\64bit\x265.exe --input - --output-depth 10 --y4m --profile main10 --limit-modes --no-early-skip --no-open-gop --opt-ref-list-length-pps --crf 18.00 --opt-qp-pps --cbqpoffs -2 --crqpoffs -2 --limit-refs 0 --ssim-rd --psy-rd 2.50 --rdoq-level 2 --psy-rdoq 10.00 --aq-mode 0 --deblock=-1:-1 --limit-sao --no-repeat-headers --range limited --colormatrix bt709 --output "J:\tmp\2023-01-30@19_43_10_8210_03.265"
I get:
With
trt=False
the script works fine. Also, I settrt_cache_path=r"J:\tmp"
and the error complains about something inC:\Users\Selur\AppData\Local\Temp\tmpjsmylxpt
:/Funny thing is, that using vsViewer/vsedit the preview works fine.
Any idea what could be the issue?
'torch_dependencies/bin/'-folder contains the files from CUDA-11.7_cuDNN-8.6.0_TensorRT-8.5.2.2_win64.7z I'm using NVIIDA Studio driver 528.24 atm. on Windows 11 pro 64bit