The Indian tech sector is better explained by a confluence of a few things, IMO:
1. English being the predominant spoken language, and the fact that North Indian languages share common roots with English meaning English is easier for Indians to pick up.
2. A cultural emphasis on education, and primarily engineering and medicine. You see similar cultural mores in former soviet nations and in Jewish communities which also end up having similar disproportionate success.
3. The existence of the IITs which provide an extremely high quality undergrad education (at the very least, it provides a high quality filter function) which then funneled engineers into Masters programs in the US especially in the mid to late 1900s, which is now benefitting America and American companies.
Some people like to hate on Brahmins. It is not even like all Brahmins are in religious professions either.
No other country had as many priests who were suddenly displaced from social hierarchy after their independence movement.