We indeed recommend to do <100 operations at a time to avoid 500 errors, see Repository limitations and recommendations
If you have thousands of files to upload you might consider using the Hub python client: Upload files to the Hub
We indeed recommend to do <100 operations at a time to avoid 500 errors, see Repository limitations and recommendations
If you have thousands of files to upload you might consider using the Hub python client: Upload files to the Hub