Is GPU available?

I was testing a submission and got the following error.
RuntimeError: Attempting to deserialize object on a CUDA device but torch.cuda.is_available() is False.

I did set “gpu”: true in aicrowd.json.
So is GPU available now?


No, this contest don’t have GPUs enabled as of now. We are willing to add GPUs in case it is required here. Please let us know in case your model requires it.

Yes, my model requires a GPU. The framework that i am using does not
allow inference on CPU, due to some custom layers implemented
specifically for Gpu. enabling it will be great.

I have raised the request to our team and we will update on the decision.

@shivam: Yes, please lets start allocating GPUs for evaluations on this challenge.

Hi @sk2020,

This challenge now have GPUs enabled. I have requeued your submission above which ran with GPU. You can switch between using GPUs via aicrowd.json. All the best with the competition! :smile:

@shivam I’m facing similar issues and also require gpu for inference. I did set “gpu”:true in the aicrowd.json but I get the following while submitting
Traceback (most recent call last):
File “”, line 150, in
File “”, line 136, in run
assert torch.cuda.is_available()==True,“NO GPU AVAILABLE”
AssertionError: NO GPU AVAILABLE

Why isn’t gpu available?