This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

vs-animesr with Tensor RT 10.x
#4
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

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
Reply


Messages In This Thread
vs-animesr with Tensor RT 10.x - by Dan64 - 06.07.2024, 11:06
RE: vs-animesr with Tensor RT 10.x - by Selur - 06.07.2024, 11:28
RE: vs-animesr with Tensor RT 10.x - by Selur - 08.07.2024, 14:09
RE: vs-animesr with Tensor RT 10.x - by Dan64 - 08.07.2024, 16:39
RE: vs-animesr with Tensor RT 10.x - by Selur - 08.07.2024, 16:44
RE: vs-animesr with Tensor RT 10.x - by Dan64 - 08.07.2024, 20:22
RE: vs-animesr with Tensor RT 10.x - by Selur - 08.07.2024, 20:24

Forum Jump:


Users browsing this thread: 2 Guest(s)