Refactor TTS provider management and enhance documentation

- Renamed `bundled-mlx` to `apple-mlx` for clarity in provider types.
- Updated the ProviderSettings component to reflect the new provider naming.
- Improved logging for provider startup and error handling in the backend.
- Added scripts for building and installing PyTorch CPU and CUDA providers locally.
- Enhanced the documentation to include details on TTS provider architecture and development setup.
This commit is contained in:
Jamie Pine
2026-02-01 01:23:20 -08:00
parent 3b14f81741
commit 580179eba3
15 changed files with 526 additions and 49 deletions
@@ -25,7 +25,7 @@ const isMacOS = () => navigator.platform.toLowerCase().includes('mac');
type ProviderType =
| 'auto'
| 'bundled-mlx'
| 'apple-mlx'
| 'bundled-pytorch'
| 'pytorch-cpu'
| 'pytorch-cuda'
@@ -286,14 +286,14 @@ export function ProviderSettings() {
{/* MLX bundled (macOS Apple Silicon only) */}
{isMacOS() && (
<div className="flex items-center space-x-3 py-2">
<RadioGroupItem value="bundled-mlx" id="mlx" />
<RadioGroupItem value="apple-mlx" id="mlx" />
<Label htmlFor="mlx" className="flex-1 cursor-pointer">
<div className="font-medium">MLX (Apple Silicon)</div>
<div className="text-sm text-muted-foreground">
Bundled with the app - optimized for M-series chips
</div>
</Label>
{currentProvider === 'bundled-mlx' && (
{currentProvider === 'apple-mlx' && (
<Badge variant="outline" className="ml-2">
Active
</Badge>