Nengo to Nengo Loihi discretization issue

I’m curious how long the probes halt the simulation; it’s quite possible that Nengo Loihi is timing out when waiting for data from the board.

You can increase the amount of time that Nengo Loihi will wait (and the number of times it tries again) like this:

nengo_loihi.hardware.interface.HostSnip.recv_timeout = 1.0  # Default is 0.01 (10 ms)
nengo_loihi.hardware.interface.HostSnip.recv_retries = 100  # Default is 10

You can put these anywhere in your script before the run call. As you can see, the default behavior is to wait for 10 ms 10 times, which means we only wait 100 ms, which is very likely not enough.

1 Like