HolyWu / vs-gmfss_fortuna

GMFSS_Fortuna function for VapourSynth
MIT License
19 stars 2 forks source link

Tensor compatiblity tp vsrife, vsrealesryn, vsfemarsr, vsdpir,... #2

Closed Selur closed 1 year ago

Selur commented 1 year ago

Tryin to install tensorrt-8.6.0-cp310-none-win_amd64.whl using

python -m pip install tensorrt-8.6.0-cp310-none-win_amd64.whl

it reports:

ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
torch-tensorrt-fx-only 1.3.0 requires tensorrt<8.6.0,>=8.5.1.7, but you have tensorrt 8.6.0 which is incompatible.

uninstalling using:

python -m pip uninstall torch-tensorrt-fx-only

and then calling:

python -m pip install --force-reinstall tensorrt-8.6.0-cp310-none-win_amd64.whl

reports:

Processing i:\hybrid\64bit\vapoursynth\tensorrt-8.6.0-cp310-none-win_amd64.whl
Installing collected packages: tensorrt
  Attempting uninstall: tensorrt
    Found existing installation: tensorrt 8.6.0
    Uninstalling tensorrt-8.6.0:
      Successfully uninstalled tensorrt-8.6.0
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
vsrife 3.1.0 requires torch-tensorrt-fx-only>=1.3.0, which is not installed.
vsrealesrgan 4.1.0 requires torch-tensorrt-fx-only>=1.3.0, which is not installed.
vsfemasr 1.2.0 requires torch-tensorrt-fx-only>=1.3.0, which is not installed.
vsdpir 3.0.1 requires torch-tensorrt-fx-only>=1.3.0, which is not installed.

seems like vsdpir&co can't be used with the new tensorrt 8.6.0 since atm. they rely on torch-tensorrt-fx-only 1.3.0 which requires tensorrt<8.6.0,>=8.5.1.7.

=> Could you update the vsrife&co to also support tensorrt 8.6.0 ?

HolyWu commented 1 year ago

Actually when you pip install vsgmfss-fortuna it will also update torch-tensorrt-fx-only to 1.4.0.dev0 for you since it's specified in https://github.com/HolyWu/vs-gmfss_fortuna/blob/f4f990a456678942beb7bcbca3fd5645d139ebe4/pyproject.toml#L25.

Selur commented 1 year ago

so

ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
torch-tensorrt-fx-only 1.3.0 requires tensorrt<8.6.0,>=8.5.1.7, but you have tensorrt 8.6.0 which is incompatible.

can be savely ignored and vsdpir&co should still work?

HolyWu commented 1 year ago

It should still work. But updating torch-tensorrt-fx-only already eliminates that error.

Selur commented 1 year ago

Thanks! I can confirm, the other filters still work and the message can be ignored. :)