Hi Yupjun,
I understand that you don’t have the computing resource right now to test your code.
Fortunately, there are online services that seek to help people with out access.
One such website is Google Colab 1. This should enable you to carry out tests on you code in a gpu environment. There is also support for pytorch. An tutorial for the same can be found here. 3
Hope this helps!