Skip to content

Optimize quota lookups by indexing model versions - #25

Closed
deqoun1988-art wants to merge 1 commit into
Azure-Samples:mainfrom
deqoun1988-art:perf/quota-cache
Closed

deqoun1988-art wants to merge 1 commit into
Azure-Samples:mainfrom
deqoun1988-art:perf/quota-cache

Conversation

@deqoun1988-art

Copy link
Copy Markdown

Summary

  • reduce repeated nested scans when checking Azure AI quota availability
  • build a per-location model-version lookup before evaluating candidate models
  • use projected Azure CLI fields and hash/set-based matching to avoid O(n^2) work

Validation

  • bash -n ./scripts/listAIQuotas.sh
  • PowerShell parse check for scripts/listAIQuotas.ps1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant