Skip to content

PixelDraw Colab throws cudaErrorInvalidDeviceFunction #33

@rockt

Description

@rockt

Hi, I created a copy of the PixelDraw colab, run the setup (which was successful) but then ran into the following error when running the 2nd cell.

ops: runtime error:  radix_sort: failed on 1st step: cudaErrorInvalidDeviceFunction: invalid device function
Try reducing --num-cuts to save memory
---------------------------------------------------------------------------
RuntimeError                              Traceback (most recent call last)
<ipython-input-2-df7ac889ea98> in <module>()
     45 settings = pixray.apply_settings()
     46 pixray.do_init(settings)
---> 47 pixray.do_run(settings)

6 frames
/usr/local/lib/python3.7/dist-packages/diffvg-0.0.1-py3.7-linux-x86_64.egg/pydiffvg/render_pytorch.py in backward(ctx, grad_img)
    707                       use_prefiltering,
    708                       diffvg.float_ptr(eval_positions.data_ptr()),
--> 709                       eval_positions.shape[0])
    710         time_elapsed = time.time() - start
    711         global print_timing

RuntimeError: radix_sort: failed on 1st step: cudaErrorInvalidDeviceFunction: invalid device function

Have you seen this before?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions