Repository navigation
Conversation
|
Here is my client setup: Could it be something wrong with the AzureOpenAI deployment itself? |
|
@isebasus can you share what you're passing for In terms of not recognizing deployments, another thing to keep in mind is that only a subset of models / model versions support fine-tuning: https://learn.microsoft.com/azure/ai-services/openai/concepts/models?tabs=python-secure%2Cglobal-standard%2Cstandard-chat-completions#fine-tuning-models When calling fine-tune create, you need to pass the model name (not deployment name) with its model version. So for gpt-4o (2024-08-06), you would pass |
|
@kristapratico the Azure deployment is an Internal NVIDIA instance, so I cannot share the Here is the function I am using to create a training job: It looks like we are using |
|
@isebasus gotcha, thanks for the info. The |
|
Hi @kristapratico, sorry for the late response - I just tried out replacing the |
|
Thanks for following up! @RobertCraigie can you close this? thanks! |
…idely
Changes being requested
Additional context & links
Hello, there seems to be a problem with the openai python client regarding the AzureOpenAI client.
While the Python client operates seamlessly with most endpoints, such as
chat/completions(as detailed in the API reference: https://platform.openai.com/docs/api-reference/chat/create), I've identified a discrepancy when it comes to training-related routes.It appears that the AzureOpenAI Client incorrectly appends /openai to the request URLs for training operations. This modification results in erroneous routes that my Azure deployment does not recognize, as it does not support URLs containing the openai segment.
The routes that get affected are:
My fix resolves these issues. Would like someone to take a look.
Thanks