Hi, I could successfully run pixray on colab (pro version). However, when I tried to change the drawer style to "clipdraw" I ran into some error message:
/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: cudaErrorInvalidDevice: invalid device ordinal
It may be related to the memory, however, I was using a P100 GPU:
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 495.44 Driver Version: 460.32.03 CUDA Version: 11.2 |
|-------------------------------+----------------------+----------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
| | | MIG M. |
|===============================+======================+======================|
| 0 Tesla P100-PCIE... Off | 00000000:00:04.0 Off | 0 |
| N/A 37C P0 37W / 250W | 0MiB / 16280MiB | 0% Default |
| | | N/A |
+-------------------------------+----------------------+----------------------+
+-----------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=============================================================================|
| No running processes found |
+-----------------------------------------------------------------------------+
Hi, I could successfully run pixray on colab (pro version). However, when I tried to change the drawer style to "clipdraw" I ran into some error message:
It may be related to the memory, however, I was using a P100 GPU:
I used the following code to install pytorch: