macOS/iOS 18 file size limits
❓Question
Expected behavior when processing files exceeding platform size limits (1GB iOS, 2GB macOS)?
I've encountered an issue where files exceeding the platform size limits (1GB on iOS 18, 2GB on macOS) can still be exported and processed, but the resulting output doesn't work properly.
Current behavior:
- Files larger than the limits can be exported without errors
- Computation/processing appears to complete successfully
- The resulting output is non-functional
Question: Is this the expected behavior? Should the system: a) Block these operations entirely when files exceed size limits, or b) Allow processing but produce invalid results?
Platform details:
- iOS 18: 1GB file size limit
- macOS: 2GB file size limit
I'd appreciate clarification on whether this is intentional design or if operations should fail earlier with appropriate error messages.
@bufudash this is not expected, if the model load doesn't fail then the model outputs should be sane. Seems like some intermediate operation is producing incorrect result. If you have the torch model then you can use https://apple.github.io/coremltools/docs-guides/source/mlmodel-debugging-perf-utilities.html#mlmodelcomparator MLModelComparator to find the op that might be responsible for the numerical discrepancies.