The main reason is that it is simple to create such dataset in pytorch.
You can simply create a custom Dataset that loads the sample from s3 as you do in any python script.
Same thing for SQL, whatever you use to load data with python, you can use in a Dataset to get your sample.
Do you have any issue implementing those? You can ask here !