Commit 7e2701c
committed
Cut MyxBoard, openclaw skill, RemyxAPI wrapper, unused dependencies
Removes legacy code paths that no longer back any live Remyx service.
Trims setup.py install_requires from 10 packages to 2 (click +
requests). Net diff: 12 files deleted, ~2700 lines removed; install
footprint drops by ~600MB (no more onnxruntime / huggingface_hub /
datasets / pandas / numpy / pillow).
Deleted files:
- remyxai/client/myxboard.py — legacy MyxBoard class
- remyxai/api/myxboard.py — MyxBoard CRUD API client
- remyxai/utils/myxboard.py — MyxBoard helpers
- remyxai/api/inference.py — Triton inference path (no CLI consumer)
- remyxai/utils/helpers.py — unused (numpy/PIL/onnxruntime/tqdm)
- remyxai/utils/validators.py — only consumer was myxboard.py
- remyxai/client/remyx_client.py — legacy RemyxAPI wrapper class
- tests/myxboard/test_myxboard.py — tests for deleted MyxBoard
- tests/api/test_inference.py — tests for deleted inference module
- tests/api/test_evaluations.py — MyxBoard-shaped evaluation tests
- skills/openclaw/ — Slack-digest skill (lives in docs site)
Refactored handlers (RemyxAPI wrapper was thin; handlers now call
remyxai.api.* functions directly):
- remyxai/cli/deployment_actions.py — calls deploy_model() directly
- remyxai/cli/evaluation_actions.py — calls list_models() / get_model_summary()
/ delete_model() / download_model() directly; handle_evaluation_action
(MyxBoard-specific) removed
- remyxai/cli/commands.py — drops the `evaluate_myxboard` CLI
command + the `handle_evaluation_action` import
- remyxai/cli/recommendation_actions.py — docstring drops OpenClaw reference
setup.py:
- Version bumped 0.2.5 → 0.2.6
- install_requires cut to [click, requests]
- Removed: numpy, onnx, onnxruntime, pillow, tqdm, huggingface_hub,
datasets, pandas
- Removed extras_require[triton] (tritonclient[all] no longer needed)
- Bumped python_requires 3.6 → 3.10 (matches actual usage; type hints
in remyxai/cli/outrider_actions.py use 3.10+ syntax)
- Added include_package_data + package_data for the bundled outrider
workflow template
Tests:
- 100 passing (up from 96 — the click underscore→dash issue in
test_commands.py was pre-existing; this PR fixes those 4 tests as
collateral cleanup)
- 6 still failing — ALL pre-existing, unrelated to this cleanup:
- tests/api/test_dataset.py (3) — function signatures mismatched
- tests/api/test_recommendations.py (2) — header-threading test setup
- tests/cli/test_commands.py::test_deploy_model_invalid_action — the
deploy_model command catches its own exception, exit code stays 0
Worth tracking these as a follow-up PR; not blocking this cleanup.
Backward compatibility:
- The Python API surface stays: remyxai.api.* still exports models,
deployment, interests, papers, recommendations, search, tasks, user,
datasets, evaluations (the modules, just not the MyxBoard helpers
that used them)
- The CLI surface drops `remyxai evaluate_myxboard` only. All other
CLI commands (model, deploy, dataset, search, papers, interests,
outrider) unchanged.
- `remyxai/utils/validators.py:get_hf_token` is gone — only consumer
was myxboard.py; if any external script imported it, they'll need
to switch to `huggingface_hub.get_token()` directly.1 parent 748cbde commit 7e2701c
20 files changed
Lines changed: 91 additions & 1742 deletions
File tree
- remyxai
- api
- client
- cli
- utils
- skills/openclaw/remyx
- tests
- api
- cli
- myxboard
This file was deleted.
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | 58 | | |
70 | 59 | | |
71 | 60 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
7 | 6 | | |
8 | 7 | | |
9 | 8 | | |
| |||
12 | 11 | | |
13 | 12 | | |
14 | 13 | | |
15 | | - | |
| 14 | + | |
16 | 15 | | |
17 | 16 | | |
18 | 17 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | | - | |
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
4 | 17 | | |
5 | 18 | | |
6 | 19 | | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
| 20 | + | |
| 21 | + | |
13 | 22 | | |
14 | | - | |
15 | | - | |
| 23 | + | |
| 24 | + | |
16 | 25 | | |
17 | 26 | | |
18 | | - | |
| 27 | + | |
19 | 28 | | |
20 | | - | |
| 29 | + | |
21 | 30 | | |
22 | 31 | | |
23 | | - | |
| 32 | + | |
24 | 33 | | |
25 | | - | |
| 34 | + | |
26 | 35 | | |
27 | 36 | | |
28 | | - | |
| 37 | + | |
29 | 38 | | |
30 | 39 | | |
31 | | - | |
| 40 | + | |
32 | 41 | | |
33 | 42 | | |
34 | 43 | | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
| 44 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
202 | 202 | | |
203 | 203 | | |
204 | 204 | | |
205 | | - | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
206 | 208 | | |
207 | 209 | | |
208 | 210 | | |
| |||
0 commit comments