Vship
Vship copied to clipboard
FFVship doesn't return ``1`` when a vship exception occurs, and doesn't print to ``stderr``.
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.
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
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
Can you try with this new commit?
Yes, the new commit(s) fix this, thank you.