Full output of gdb:
Reading symbols from python3...
(No debugging symbols found in python3)
Starting program: /usr/bin/python3 adversarial.py
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Detaching after fork from child process 9786]
[New Thread 0x7fff09966700 (LWP 9788)]
[New Thread 0x7fff07165700 (LWP 9789)]
[New Thread 0x7fff04964700 (LWP 9790)]
[New Thread 0x7ffef9d6a700 (LWP 9791)]
[New Thread 0x7ffef9569700 (LWP 9792)]
[New Thread 0x7ffef8d68700 (LWP 9793)]
[New Thread 0x7ffeebfff700 (LWP 9794)]
[New Thread 0x7ffeea118700 (LWP 9796)]
[New Thread 0x7ffee919c700 (LWP 9797)]
[New Thread 0x7ffee899b700 (LWP 9798)]
[New Thread 0x7ffedd069700 (LWP 9799)]

Thread 12 "python3" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7ffedd069700 (LWP 9799)]
0x00007fff32aa26ca in std::_Hashtable<at::native::ConvolutionParams, std::pair<at::native::ConvolutionParams const, cudnnConvolutionBwdDataAlgoPerf_t>, std::allocator<std::pair<at::native::ConvolutionParams const, cudnnConvolutionBwdDataAlgoPerf_t> >, std::__detail::_Select1st, at::native::ParamsEqual<at::native::ConvolutionParams>, at::native::ParamsHash<at::native::ConvolutionParams>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<true, false, true> >::_M_find_before_node(unsigned long, at::native::ConvolutionParams const&, unsigned long) const () from /home/muco/.local/lib/python3.8/site-packages/torch/lib/libtorch_cuda_cpp.so

Yes, PyTorch 1.8.1 is installed on both of machines.
Same code works on cpu very well on my pc.