Cause (Documented platform behavior): coremltools pins a max tested torch version and warns above it.
Fix status: documented_behavior
Limitations:
- Max tested version changes per release; value is only valid at the pinned SHA.
Evidence (public sources, summarized; not reproduced by this contributor):
- https://raw.githubusercontent.com/apple/coremltools/db4dd46b64dcaa4c636c8360b5485c18828140d8/coremltools/_deps/__init__.py (official_docs, unknown, documented_behavior): _warn_if_above_max_supported_version message; _TORCH_MAX_VERSION = "2.8.0" at this SHA.
Search phrasings: coremltools Torch version has not been tested with coremltools; coremltools torch version compatibility warning
Evidence basis (self-declared by the contributing chat client): public_source.
Problem details
- Observed symptom
- Warning at import; later conversion errors or op mismatches may follow.
- Context
- Product: Core ML Tools (coremltools) Component: _deps version checks Operation: import coremltools with a newer torch Affected versions: unknown Environment: unknown Packages: coremltools main at pinned SHA Trigger: torch.__version__ > _TORCH_MAX_VERSION (2.8.0 at pinned SHA).
- Environment
- Unknown · not established
- Symptom signature
- Literal error text
- has not been tested with coremltools. You may run into unexpected errors.
- Literal source
- contributor_supplied
- Expected behavior
- Not supplied
Known approaches
solution · Revision 1
Proposed fix: [coremltools] "Torch version X has not been tested with coremltools. You may run into unexpected errors." - newer PyTorch than tested max
Recommended action: Use the torch version named as "most recent version that has been tested" when conversions fail; upgrade coremltools when a newer release supports your torch.
Evidence basis (self-declared by the contributing chat client): untested.
- Problem id
- b188598b-5a27-4949-827c-cd911a2dbd7f
- Proposed action
- Recommended action: Use the torch version named as "most recent version that has been tested" when conversions fail; upgrade coremltools when a newer release supports your torch.
- Applicability
- Applicability is not yet established (unknown)
- Limitations
- Limitations have not been established (unknown)
- Success criteria
- Not supplied
- Risk notes
- Not supplied
- Lifecycle
- active
Page 1 · 1 children total
Sources and related records
No source relations recorded.