machboost 0.16.20__py3-none-any.whl
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.
- machboost/__init__.py +102 -0
- machboost/__main__.py +5 -0
- machboost/accelerator.py +782 -0
- machboost/adapters/__init__.py +23 -0
- machboost/adapters/dflash.py +396 -0
- machboost/adapters/huggingface.py +263 -0
- machboost/adapters/mlx.py +768 -0
- machboost/adapters/mlx_vlm.py +1123 -0
- machboost/adapters/ollama.py +490 -0
- machboost/adapters/ollama_mlx.py +480 -0
- machboost/bench.py +352 -0
- machboost/claude_desktop.py +457 -0
- machboost/cli.py +3747 -0
- machboost/client.py +1069 -0
- machboost/coding.py +438 -0
- machboost/connections.py +220 -0
- machboost/context_bench.py +211 -0
- machboost/core.py +441 -0
- machboost/extensions.py +603 -0
- machboost/generation.py +33 -0
- machboost/latency.py +580 -0
- machboost/memory.py +868 -0
- machboost/model_store.py +173 -0
- machboost/models.py +1424 -0
- machboost/ollama_compat.py +275 -0
- machboost/protocols.py +727 -0
- machboost/providers.py +505 -0
- machboost/reasoning.py +190 -0
- machboost/relay.py +348 -0
- machboost/routing.py +433 -0
- machboost/scheduler.py +263 -0
- machboost/server.py +6390 -0
- machboost/team.py +987 -0
- machboost/video.py +281 -0
- machboost/vision.py +284 -0
- machboost/vision_auto.py +289 -0
- machboost/vision_policy.py +233 -0
- machboost/vision_tokens.py +418 -0
- machboost/workspace.py +1022 -0
- machboost-0.16.20.dist-info/METADATA +1545 -0
- machboost-0.16.20.dist-info/RECORD +45 -0
- machboost-0.16.20.dist-info/WHEEL +5 -0
- machboost-0.16.20.dist-info/entry_points.txt +2 -0
- machboost-0.16.20.dist-info/licenses/LICENSE +21 -0
- machboost-0.16.20.dist-info/top_level.txt +1 -0
machboost/__init__.py
ADDED
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
__version__ = "0.16.20"
|
|
2
|
+
|
|
3
|
+
from .accelerator import Accelerator, AcceleratorResult, CalibrationResult
|
|
4
|
+
from .bench import (
|
|
5
|
+
BenchmarkCase,
|
|
6
|
+
BenchmarkResult,
|
|
7
|
+
GateDecision,
|
|
8
|
+
GatePolicy,
|
|
9
|
+
benchmark,
|
|
10
|
+
benchmark_cases,
|
|
11
|
+
summarize_results,
|
|
12
|
+
)
|
|
13
|
+
from .core import (
|
|
14
|
+
BoostedService,
|
|
15
|
+
Candidate,
|
|
16
|
+
CorpusDrafter,
|
|
17
|
+
MachBoost,
|
|
18
|
+
RunStats,
|
|
19
|
+
machboost,
|
|
20
|
+
)
|
|
21
|
+
from .client import MachBoostAPIError, MachBoostClient, ensure_server
|
|
22
|
+
from .context_bench import (
|
|
23
|
+
CONTEXT_BENCH_SCHEMA,
|
|
24
|
+
benchmark_context_acceleration,
|
|
25
|
+
context_fingerprint,
|
|
26
|
+
)
|
|
27
|
+
from .latency import LATENCY_SCHEMA, benchmark_chat_latency
|
|
28
|
+
from .adapters.dflash import DFlashAccelerator, DFlashRunStats
|
|
29
|
+
from .adapters.mlx_vlm import MLXVLMAccelerator, VisionRunStats
|
|
30
|
+
from .adapters.ollama_mlx import (
|
|
31
|
+
OllamaMLXAccelerator,
|
|
32
|
+
OllamaMLXCancelled,
|
|
33
|
+
OllamaMLXRunStats,
|
|
34
|
+
)
|
|
35
|
+
from .models import ModelAlias, ModelResolution, resolve_model
|
|
36
|
+
from .routing import HostProbe, HostTarget, MachBoostHostPool, expected_delay_score
|
|
37
|
+
from .server import RuntimeManager
|
|
38
|
+
from .video import TemporalVideoSampler, VideoFrame, VideoSelection
|
|
39
|
+
from .vision import ContentAddressedVisionCache, VisualAssetStore, VisionCacheInfo
|
|
40
|
+
from .workspace import (
|
|
41
|
+
IndexReport,
|
|
42
|
+
SearchHit,
|
|
43
|
+
Workspace,
|
|
44
|
+
WorkspaceError,
|
|
45
|
+
WorkspaceQuery,
|
|
46
|
+
WorkspaceStore,
|
|
47
|
+
)
|
|
48
|
+
|
|
49
|
+
__all__ = [
|
|
50
|
+
"Accelerator",
|
|
51
|
+
"AcceleratorResult",
|
|
52
|
+
"BenchmarkCase",
|
|
53
|
+
"BenchmarkResult",
|
|
54
|
+
"BoostedService",
|
|
55
|
+
"CalibrationResult",
|
|
56
|
+
"Candidate",
|
|
57
|
+
"ContentAddressedVisionCache",
|
|
58
|
+
"CONTEXT_BENCH_SCHEMA",
|
|
59
|
+
"CorpusDrafter",
|
|
60
|
+
"DFlashAccelerator",
|
|
61
|
+
"DFlashRunStats",
|
|
62
|
+
"GateDecision",
|
|
63
|
+
"GatePolicy",
|
|
64
|
+
"LATENCY_SCHEMA",
|
|
65
|
+
"MachBoost",
|
|
66
|
+
"MachBoostAPIError",
|
|
67
|
+
"MachBoostClient",
|
|
68
|
+
"MachBoostHostPool",
|
|
69
|
+
"MLXVLMAccelerator",
|
|
70
|
+
"ModelAlias",
|
|
71
|
+
"ModelResolution",
|
|
72
|
+
"HostProbe",
|
|
73
|
+
"HostTarget",
|
|
74
|
+
"OllamaMLXAccelerator",
|
|
75
|
+
"OllamaMLXCancelled",
|
|
76
|
+
"OllamaMLXRunStats",
|
|
77
|
+
"RunStats",
|
|
78
|
+
"SearchHit",
|
|
79
|
+
"RuntimeManager",
|
|
80
|
+
"TemporalVideoSampler",
|
|
81
|
+
"VideoFrame",
|
|
82
|
+
"VideoSelection",
|
|
83
|
+
"VisualAssetStore",
|
|
84
|
+
"VisionCacheInfo",
|
|
85
|
+
"VisionRunStats",
|
|
86
|
+
"Workspace",
|
|
87
|
+
"WorkspaceError",
|
|
88
|
+
"WorkspaceQuery",
|
|
89
|
+
"WorkspaceStore",
|
|
90
|
+
"IndexReport",
|
|
91
|
+
"benchmark",
|
|
92
|
+
"benchmark_cases",
|
|
93
|
+
"benchmark_chat_latency",
|
|
94
|
+
"benchmark_context_acceleration",
|
|
95
|
+
"context_fingerprint",
|
|
96
|
+
"ensure_server",
|
|
97
|
+
"expected_delay_score",
|
|
98
|
+
"machboost",
|
|
99
|
+
"resolve_model",
|
|
100
|
+
"summarize_results",
|
|
101
|
+
"__version__",
|
|
102
|
+
]
|