08.07.2024, 16:39
last week I opened this issue to HolyWu: https://github.com/HolyWu/vs-animesr/issues/5
asking him to provide a new version of "vs-animesr" supporting Tensor RT 10.x.
I also provide him the code of my porting.
I don't know if he was already working on a new version, but 2 days ago he closed the issue and released the new version.
I tried to install the version 2.0.0 lowering the requirements.
But unfortunately it seems that this version is not working with the current Hybrid environment.
I get the following errors
I think, that you can use my version, which is working with Hybrid, till you will be able to upgrade the Hybrid environment.
Dan
asking him to provide a new version of "vs-animesr" supporting Tensor RT 10.x.
I also provide him the code of my porting.
I don't know if he was already working on a new version, but 2 days ago he closed the issue and released the new version.
I tried to install the version 2.0.0 lowering the requirements.
But unfortunately it seems that this version is not working with the current Hybrid environment.
I get the following errors
Python exception: cannot import name 'set_layer_name' from 'torch_tensorrt.dynamo.conversion.converter_utils' (D:\Programs\Hybrid\64bit\Vapoursynth\Lib\site-packages\torch_tensorrt\dynamo\conversion\converter_utils.py)
Traceback (most recent call last):
File "src\\cython\\vapoursynth.pyx", line 3365, in vapoursynth._vpy_evaluate
File "src\\cython\\vapoursynth.pyx", line 3366, in vapoursynth._vpy_evaluate
File "D:\PProjects\vs-animesr\tests\test_anime_AnimeSR_v2_TensoRT_fp16.vpy", line 34, in
from vsanimesr import animesr as AnimeSR
File "D:\Programs\Hybrid\64bit\Vapoursynth\Lib\site-packages\vsanimesr\__init__.py", line 13, in
from .vsr_arch import MSRSWVSR
File "D:\Programs\Hybrid\64bit\Vapoursynth\Lib\site-packages\vsanimesr\vsr_arch.py", line 5, in
from .interpolate import interpolate
File "D:\Programs\Hybrid\64bit\Vapoursynth\Lib\site-packages\vsanimesr\interpolate.py", line 16, in
from torch_tensorrt.dynamo.conversion.converter_utils import enforce_tensor_types, set_layer_name
ImportError: cannot import name 'set_layer_name' from 'torch_tensorrt.dynamo.conversion.converter_utils' (D:\Programs\Hybrid\64bit\Vapoursynth\Lib\site-packages\torch_tensorrt\dynamo\conversion\converter_utils.py)
I think, that you can use my version, which is working with Hybrid, till you will be able to upgrade the Hybrid environment.
Dan