HackerTrans
TopNewTrendsCommentsPastAskShowJobs

userabchn

no profile record

comments

userabchn
·10개월 전·discuss
The website of an American company returned a blank page to me. I thought that they must have made a mistake and that it would be fixed soon. Several days later it was still returning a blank page, so I sent them an email in case they didn't know. It turns out that they don't want to deal with the laws of other countries (EU's GDPR, etc.) and so simply return a blank page for anyone visiting from outside America. A "451 Unavailable For Legal Reasons" or some other type of explanation would have been less confusing than the blank page.
userabchn
·10개월 전·discuss
I maintain a package that provides some PyTorch operators that are written in C/C++/CUDA. I have tried various approaches over the years (including the ones endorsed by PyTorch), but the only solution I have found that seems to work flawlessly for everyone who uses it is to have no Python or PyTorch dependence in the compiled code, and to load the compiled libraries using ctypes. I use an old version of nvcc to compile the CUDA, use manylinux2014 for the Linux builds, and ask users to install PyTorch themselves before installing my package.