pytorch sequence memory tests are running for over 10 minutes on the CI.
On my M1 Mac, this change reduces this file's test runtime (with py.test -m "not slow") from 30 seconds (before) to 10 seconds (after). If the CI is running on a VM, you could imagine sometimes it is much slower than an M1 mac.
pytorch sequence memory tests are running for over 10 minutes on the CI.
On my M1 Mac, this change reduces this file's test runtime (with py.test -m "not slow") from 30 seconds (before) to 10 seconds (after). If the CI is running on a VM, you could imagine sometimes it is much slower than an M1 mac.