azure-search-openai-demo icon indicating copy to clipboard operation
azure-search-openai-demo copied to clipboard

OpenAI Resource Access restricted --> "Key based authentication is disabled for this resource."

Open christopher-mierbach opened this issue 1 year ago • 0 comments

  • [ ] bug report -> please search issues before submitting
  • [ ] feature request
  • [ ] documentation issue or request
  • [x] regression (a behavior that used to work and stopped in a new release)

Minimal steps to reproduce

  • Merge release "2024-04-25: Bugfixes for free sku, ADLS2, storageUrl"
  • Run a indexer with embedding Skill in Azure AI Search or a Search Query with enabled vector search in the integrated search explorer.

Any log messages given by the failure

Azure AI Search Indexer Operation: Enrichment.AzureOpenAIEmbeddingSkill.#2 Message: Could not execute skill because the Web Api request failed. Details: Web Api response status: 'Forbidden', Web Api response details: '{"error":{"code":"AuthenticationTypeDisabled","message": "Key based authentication is disabled for this resource."}}'

Expected/desired behavior

I work with several datasources and indexers and need the option to set it up and test in the Azure Portal. After the release with #1555 which sets a parameter to the Azure OpenAI resource to disable OpenAI key access I receive above mentioned error.

christopher-mierbach avatar May 15 '24 07:05 christopher-mierbach

The memory bandwidth and flops numbers of Grace Hopper are taken from this doc: https://resources.nvidia.com/en-us-grace-cpu/grace-hopper-superchip. It disables HLO rematerialization offloading for GPUs by default, and can enable host memory offloading via those three XLA flags. Since hlo_rematerialization_test.cc already has the unit tests for enabling offloading, we didn't provide the unit test here.

zhenying-liu avatar Apr 25 '24 23:04 zhenying-liu