Skip to content

[triage] upstream#7488: New Text Classification Model on ARM Fails to Train #10

@github-actions

Description

@github-actions

Upstream: dotnet#7488
Status: COMPLETE
Classification: feature-request
Confidence: 0.88
Reproduced: ⏭️ Skipped (feature gap, not a bug)
Area: TorchSharp
Investigated at: 2026-03-06


Triage Summary

Category: Feature Request (Enhancement)
Reasoning: An ML.NET team member (LittleLittleCloud) confirmed that Text Classification uses TorchSharp as the trainer backend, and TorchSharp does not currently support ARM devices. The failure is therefore expected behavior given the current state of the dependency. The issue is not a bug but a missing platform support feature, with a referenced upstream TorchSharp PR (dotnet/TorchSharp#1493) that would enable it.

Summary: The user attempts to train a Text Classification model via ML.NET Model Builder on a Windows 11 ARM device (Surface Laptop 7, .NET 9) and encounters a training failure. The root cause is that TorchSharp — the training backend used for text classification — does not support ARM architecture yet. ARM support is pending an upstream TorchSharp PR.

Suggested Labels: enhancement

Suggested Fix

Files: src/Microsoft.ML.TorchSharp/ (likely where ARM platform guard or error messaging lives)
Description: Once dotnet/TorchSharp#1493 is merged and ARM support is available in TorchSharp, ML.NET should update its TorchSharp dependency and validate text classification training on ARM64. In the interim, a clear user-facing error message should be surfaced when training is attempted on unsupported platforms (rather than a cryptic failure).
Complexity: Medium (dependent on upstream TorchSharp ARM support landing first)

Generated by Triage Single Issue ·

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions