troy-cli 0.2.1__tar.gz → 0.2.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {troy_cli-0.2.1 → troy_cli-0.2.2}/PKG-INFO +1 -1
- {troy_cli-0.2.1 → troy_cli-0.2.2}/pyproject.toml +1 -1
- {troy_cli-0.2.1 → troy_cli-0.2.2}/src/troy/__init__.py +1 -1
- {troy_cli-0.2.1 → troy_cli-0.2.2}/src/troy/cli.py +6 -1
- {troy_cli-0.2.1 → troy_cli-0.2.2}/src/troy/hardware.py +2 -1
- {troy_cli-0.2.1 → troy_cli-0.2.2}/.gitignore +0 -0
- {troy_cli-0.2.1 → troy_cli-0.2.2}/README.md +0 -0
- {troy_cli-0.2.1 → troy_cli-0.2.2}/src/troy/chat.py +0 -0
- {troy_cli-0.2.1 → troy_cli-0.2.2}/src/troy/config.py +0 -0
- {troy_cli-0.2.1 → troy_cli-0.2.2}/src/troy/data.py +0 -0
- {troy_cli-0.2.1 → troy_cli-0.2.2}/src/troy/evaluate.py +0 -0
- {troy_cli-0.2.1 → troy_cli-0.2.2}/src/troy/export.py +0 -0
- {troy_cli-0.2.1 → troy_cli-0.2.2}/src/troy/push.py +0 -0
- {troy_cli-0.2.1 → troy_cli-0.2.2}/src/troy/serve.py +0 -0
- {troy_cli-0.2.1 → troy_cli-0.2.2}/src/troy/templates.py +0 -0
- {troy_cli-0.2.1 → troy_cli-0.2.2}/src/troy/train_dpo.py +0 -0
- {troy_cli-0.2.1 → troy_cli-0.2.2}/src/troy/train_orpo.py +0 -0
- {troy_cli-0.2.1 → troy_cli-0.2.2}/src/troy/train_sft.py +0 -0
- {troy_cli-0.2.1 → troy_cli-0.2.2}/tests/test_config.py +0 -0
- {troy_cli-0.2.1 → troy_cli-0.2.2}/tests/test_data.py +0 -0
- {troy_cli-0.2.1 → troy_cli-0.2.2}/tests/test_hardware.py +0 -0
|
@@ -120,7 +120,12 @@ def doctor() -> None:
|
|
|
120
120
|
except ImportError:
|
|
121
121
|
table.add_row("mlx-lm", f"{fail} (not installed)")
|
|
122
122
|
|
|
123
|
-
table.add_row("
|
|
123
|
+
table.add_row("Comfortable size", model_guidance(hw.memory_gb))
|
|
124
|
+
table.add_row(
|
|
125
|
+
"Supported models",
|
|
126
|
+
"any mlx-lm architecture (Llama, Qwen, Gemma, Phi, Mistral, ...)\n"
|
|
127
|
+
"thousands of ready conversions: hf.co/mlx-community",
|
|
128
|
+
)
|
|
124
129
|
console.print(table)
|
|
125
130
|
|
|
126
131
|
if not hw.is_apple_silicon:
|
|
@@ -42,7 +42,8 @@ def detect() -> Hardware:
|
|
|
42
42
|
)
|
|
43
43
|
|
|
44
44
|
|
|
45
|
-
# (min unified memory GB, guidance) — QLoRA 4-bit
|
|
45
|
+
# (min unified memory GB, guidance) — QLoRA 4-bit sizing EXAMPLES, not a
|
|
46
|
+
# whitelist: any mlx-lm-supported architecture trains.
|
|
46
47
|
MODEL_GUIDANCE = [
|
|
47
48
|
(128, "up to ~70B (4-bit QLoRA), e.g. Llama-3.3-70B, Qwen2.5-72B"),
|
|
48
49
|
(64, "up to ~32B (4-bit QLoRA), e.g. Qwen2.5-32B, Gemma-2-27B"),
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|