VisoMaster icon indicating copy to clipboard operation
VisoMaster copied to clipboard

CUDA 2.8 support

Open cyberdog94 opened this issue 1 year ago • 2 comments

Hello, with RTX 5090 out, please add CUDA 12.8 support for Win64 & Linux x86_64 thanks

cyberdog94 avatar Apr 26 '25 06:04 cyberdog94

Taken from this guide in the Discord:

Visomaster 5000 Series Installation Steps

  1. Clone the Repository Open a terminal or command prompt and run:
git clone https://github.com/visomaster/VisoMaster.git
cd VisoMaster
  1. Create and Activate a Conda Environment
conda create -n visomaster python=3.10.13 -y
conda activate visomaster
  1. Install CUDA and cuDNN
conda install -c nvidia/label/cuda-12.8.1 cuda-runtime
conda install -c conda-forge cudnn
  1. Install Additional Dependencies
conda install scikit-image
pip install -r requirements_cu124.txt
  1. Install 5000 Series Specific Dependencies pip install --pre torch==2.7.0.dev20250311+cu128 torchvision==0.22.0.dev20250312+cu128 torchaudio==2.6.0.dev20250312+cu128 --index-url https://download.pytorch.org/whl/nightly/cu128

  2. Remove lines 170 and 171 from typing.py found in the anaconda3\envs\visomaster\lib\ folder Code to Remove:

if isinstance(arg, _SpecialForm) or arg in (Generic, Protocol):
        raise TypeError(f"Plain {arg} is not valid as type argument")
  1. Download Models and Other Dependencies In a terminal at your VisoMaster install location: python download_models.py Download all the files from this page and copy it to the dependencies/ folder. Note: You do not need to download the Source code (zip) and Source code (tar.gz) files

  2. Run the Application Once everything is set up, start the application by opening the Start.bat file. On Linux just run python main.py.

axel-devs avatar May 18 '25 03:05 axel-devs

Not working on Arch w/ 5060Ti:

ERROR: Could not find a version that satisfies the requirement torch==2.7.0+cu128 (from versions: 2.7.0.dev20250310+cu128, 2.8.0.dev20250402+cu128, 2.8.0.dev20250403+cu128, 2.8.0.dev20250404+cu128, 2.8.0.dev20250405+cu128, 2.8.0.dev20250406+cu128, 2.8.0.dev20250407+cu128, 2.8.0.dev20250408+cu128, 2.8.0.dev20250409+cu128, 2.8.0.dev20250410+cu128, 2.8.0.dev20250411+cu128, 2.8.0.dev20250412+cu128, 2.8.0.dev20250413+cu128, 2.8.0.dev20250414+cu128, 2.8.0.dev20250415+cu128, 2.8.0.dev20250416+cu128, 2.8.0.dev20250417+cu128, 2.8.0.dev20250418+cu128, 2.8.0.dev20250419+cu128, 2.8.0.dev20250420+cu128, 2.8.0.dev20250421+cu128, 2.8.0.dev20250422+cu128, 2.8.0.dev20250423+cu128, 2.8.0.dev20250424+cu128, 2.8.0.dev20250425+cu128, 2.8.0.dev20250426+cu128, 2.8.0.dev20250427+cu128, 2.8.0.dev20250428+cu128, 2.8.0.dev20250429+cu128, 2.8.0.dev20250430+cu128, 2.8.0.dev20250501+cu128, 2.8.0.dev20250502+cu128, 2.8.0.dev20250503+cu128, 2.8.0.dev20250504+cu128, 2.8.0.dev20250505+cu128, 2.8.0.dev20250506+cu128, 2.8.0.dev20250507+cu128, 2.8.0.dev20250508+cu128, 2.8.0.dev20250509+cu128, 2.8.0.dev20250510+cu128, 2.8.0.dev20250511+cu128, 2.8.0.dev20250512+cu128, 2.8.0.dev20250513+cu128, 2.8.0.dev20250514+cu128, 2.8.0.dev20250515+cu128, 2.8.0.dev20250516+cu128, 2.8.0.dev20250517+cu128, 2.8.0.dev20250518+cu128, 2.8.0.dev20250519+cu128, 2.8.0.dev20250520+cu128, 2.8.0.dev20250521+cu128, 2.8.0.dev20250522+cu128, 2.8.0.dev20250523+cu128, 2.8.0.dev20250524+cu128, 2.8.0.dev20250525+cu128, 2.8.0.dev20250526+cu128, 2.8.0.dev20250527+cu128, 2.8.0.dev20250528+cu128, 2.8.0.dev20250529+cu128, 2.8.0.dev20250530+cu128, 2.8.0.dev20250531+cu128)
ERROR: No matching distribution found for torch==2.7.0+cu128

Using the default pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu128 results in:

RuntimeError: CUDA error: no kernel image is available for execution on the device
CUDA kernel errors might be asynchronously reported at some other API call, so the stacktrace below might be incorrect.

I'm suspecting scikit-image to break cudnn dependencies because it rolls everything back to CUDA 12.4 . Reinstalling cudnn again after that in turn breaks scikit-image.

crowbait avatar May 31 '25 13:05 crowbait