Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Rife-App 3.35

Sucessor of Dain-App. Interpolate videos using AI · By GRisk

CUDA error started happening that I can't shake now.

A topic by eyespec created Nov 08, 2021 Views: 323 Replies: 2
Viewing posts 1 to 2
(1 edit)

I'm hoping that the error message will be enough... if not, lemme know what  else  I can provide.


Just for grins and giggles, I tried lowering my resolution,  setting batch size  from -1  to 2,   clean install of python 3.10.0, clean install of  RIFE-APP, clean reinstall of  latest  (496.49) nvidia drivers for the single   2080 Super.


Using Benchmark: True

Batch Size: -1

Input FPS: 24.0

Use all GPUS: False

Scale: 1.0

Render Mode: 0

Interpolations: 2X

Use Smooth: 1

Use Alpha: 0

Use YUV: 0

Encode: libx264

Device: cuda:0

Using Half-Precision: True

Resolution: 1920x1080

Using Model: rl_v2

Selected auto batch size, testing a good batch size.

Setting new batch size to 1

Resolution: 1920x1080

RunTime: 1659.251333

Total Frames: 39822

  1%|▏                     | 270/39822 [01:41<4:16:50,  2.57it/s, file=File 268]Exception ignored in thread started by: <function queue_model at 0x000001AD822BC040>

Traceback (most recent call last):

  File "my_DAIN_class.py", line 408, in queue_model

  File "my_DAIN_class.py", line 137, in make_inference

RuntimeError: CUDA error: an illegal memory access was encountered

CUDA kernel errors might be asynchronously reported at some other API call,so the stacktrace below might be incorrect.

For debugging consider passing CUDA_LAUNCH_BLOCKING=1.

Developer

Hi there, can you try to set batch = 1 and turn on "Try to save memory", this is a strange bug.  Make sure that the app also have permission to save the file on the output path.

Trying that right now... will report back when I can.  And thank you for taking the time  to try and help!