An Azure artificial intelligence service and end-to-end platform for applying computer vision to specific domains.
Hello @Giannis ,
Welcome to Microsoft Q&A .Thank you for reaching out to us.
The observed behavior suggests that the failure is occurring during large-scale preprocessing.While smaller datasets and validation files process successfully, backend telemetry is required to determine whether the condition is related to preprocessing resources, image retrieval, moderation processing, storage access, or another infrastructure-side event.
According to the current Vision Fine-Tuning documentation, the supported limits are:
- Maximum 50,000 examples containing images per training file.
- Maximum 64 images per example.
- Maximum 10 MB per image.
- Supported formats: JPEG, PNG, WEBP.
- Supported image modes: RGB and RGBA.
At the same time, there is currently no publicly documented limit for:
- Preprocessing timeout duration.
- Preprocessing memory allocation.
- Aggregate image volume across a dataset.
- Total decoded pixels.
- Maximum preprocessing runtime
As of now , there is no publicly documented mechanism to increase preprocessing memory allocation or preprocessing timeout values for a specific resource or tenant. The available quota documentation does not expose these controls.
Regarding a supported path for larger Vision Fine-Tuning datasets , Large datasets are supported provided they remain within the documented dataset requirements. However, there is currently no publicly documented large-dataset-specific preprocessing tier, extended preprocessing budget, dedicated region or configurable preprocessing mode for Vision Fine-Tuning workloads
Please check if the following workarounds help-
- Validating Dataset Accessibility
- Please confirm all SAS URLs remain valid throughout the preprocessing duration.
- Verify all image URLs consistently return HTTP 200 responses.
- Review for redirects, IP restrictions, storage throttling policies, or near-expiry SAS tokens.
- Confirm images remain within the documented size requirements.
- Performing Dataset Scaling Tests
- Split the training dataset into smaller subsets.
- Execute Fine-Tuning jobs with progressively larger portions of the dataset.
- Determine whether failures begin at a consistent dataset-size threshold.
- If a specific subset repeatedly fails, review the images and records contained within that subset
- Reducing Processing Overhead
- Continue using resized images where possible.
- For diagnostic testing, consider using "detail": "low" to reduce image-processing requirements during training
- Verifying the Upload Method
- Please confirm whether the dataset was uploaded using the Files API or the Uploads API.
- For larger datasets, validating whether the Uploads API was used may be worthwhile, as it is designed to support significantly larger uploads than the Files AP
The following references might be helpful , please check them out
- Vision fine-tuning - Microsoft Foundry | Microsoft Learn
- Azure OpenAI in Microsoft Foundry Models Quotas and Limits - Microsoft Foundry | Microsoft Learn
- Customize a model with fine-tuning - Microsoft Foundry | Microsoft Learn
Thank you
Please "Accept" the answer with an "Upvote" if the response was helpful. This will be benefitting other community members who face the same issue.