Handling block_size value for models with no sequence length limit. (#1487)
* handle block size -1
* change where to fetch
---------
Co-authored-by: Adam Louly <adamlouly@microsoft.com@orttrainingdev9.d32nl1ml4oruzj4qz3bqlggovf.px.internal.cloudapp.net>