Vship icon indicating copy to clipboard operation
Vship copied to clipboard

FFVship doesn't return ``1`` when a vship exception occurs, and doesn't print to ``stderr``.

Open KosakaIsMe opened this issue 1 year ago • 4 comments

When a Vship exception occurs when running FFVship, the message is printed to stdout rather than stderr, and the FFVship process returns 0 (exited without errors). FFVship should instead send the error messages to stderr, and return 1 when an exception occurs.

KosakaIsMe avatar Sep 25 '25 21:09 KosakaIsMe

Which error did return 0 that you were able to see? I can see some error messages writing to stdout that I will modify but it is easy to miss some

Line-fr avatar Sep 25 '25 21:09 Line-fr

Errors like:

error: VshipException
OutOfVRAM: Vship was not able to perform GPU memory allocation. (Advice) Reduce or Set numStream argument
 - At line 153 of src/butter/main.hpp

and

VshipException
BadDeviceCode: Vship was unable to run a simple GPU Kernel. This usually indicate that the code was compiled for the wrong architecture. (Advice) Try to compile vship yourself, eventually replace --offload-arch=native to your arch
 - At line 63 of src/util/gpuhelper.hpp

returned 0

KosakaIsMe avatar Sep 25 '25 21:09 KosakaIsMe

Can you try with this new commit?

Line-fr avatar Sep 25 '25 21:09 Line-fr

Yes, the new commit(s) fix this, thank you.

KosakaIsMe avatar Sep 25 '25 21:09 KosakaIsMe