#3479
Getting Azure offers is slow because a single resource_skus.list(filter=f"location eq '{location}'") call used to get quotas (restrictions) can be 20-30s. This is a known Azure API issue. And there is no alternative faster way to get quotas. I suggest we stop check Azure quotas by default. Users may specify instances_types/gpu resources if they have only selective quotas and offers fail. And we can also add check_quotas parameter in Azure config that would enable quotas check (current behavior) at the expense of making get offers slower.
#3479
Getting Azure offers is slow because a single
resource_skus.list(filter=f"location eq '{location}'")call used to get quotas (restrictions) can be 20-30s. This is a known Azure API issue. And there is no alternative faster way to get quotas. I suggest we stop check Azure quotas by default. Users may specify instances_types/gpu resources if they have only selective quotas and offers fail. And we can also addcheck_quotasparameter in Azure config that would enable quotas check (current behavior) at the expense of making get offers slower.