ComfyUI-Upscaler-Tensorrt
ComfyUI-Upscaler-Tensorrt copied to clipboard
Error when trying export_trt.py
Get the following error:
C:\Users\Oliver\Documents\Github\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Upscaler-Tensorrt>python export_trt.py
Traceback (most recent call last):
File "C:\Users\Oliver\Documents\Github\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Upscaler-Tensorrt\export_trt.py", line 1, in torch/_C folder
of the PyTorch repository rather than the C extensions which
are expected in the torch._C namespace. This can occur when
using the install workflow. e.g.
$ python setup.py install && python -c "import torch"
This error can generally be solved using the `develop` workflow
$ python setup.py develop && python -c "import torch" # This should succeed
or by running Python from a different directory.
Try running export_trt.py wihout using comfyui portable (create a new virtual environment somewhere else, clone this repository, install the dependencies, then export the engines)
not sure how/why comfyui portable causes this error