aboutsummaryrefslogtreecommitdiff
path: root/tests/test_cli.c
diff options
context:
space:
mode:
authorOnur Gündüz <ogunduz@gmail.com>2026-06-11 15:34:50 +0200
committerOnur Gündüz <ogunduz@gmail.com>2026-06-14 08:27:03 +0200
commit6b3c4bb1482917e4fb24480a1d082da5f191467b (patch)
tree6a29d58959d1c5d3a0febcc9cb06005ac5a009ed /tests/test_cli.c
parent54e6e6bbef396eb1d38c09517d8157301fb8f151 (diff)
downloadffwd-6b3c4bb1482917e4fb24480a1d082da5f191467b.tar.gz
ffwd-6b3c4bb1482917e4fb24480a1d082da5f191467b.zip
dist: remove distributed layer-sharding (protocol, CLI flags, slice APIs)
Diffstat (limited to 'tests/test_cli.c')
-rw-r--r--tests/test_cli.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/tests/test_cli.c b/tests/test_cli.c
index fd464f0..0a5212a 100644
--- a/tests/test_cli.c
+++ b/tests/test_cli.c
@@ -167,9 +167,6 @@ int main(int argc, char **argv)
{"--cuda", "--cuda without CUDA build"},
{"--mlx-quant-bits 4", "--mlx-quant-bits 4"},
{"--mlx-quant-group-size 0", "--mlx-quant-group-size 0"},
- {"--layers 5:2", "inverted --layers range"},
- {"--layers nope", "malformed --layers"},
- {"--dist-activation-bits 8", "--dist-activation-bits 8"},
{"--cuda-gemm-mode f32 -d X t", "--cuda-gemm-mode without CUDA"},
{"--cuda-weight-dtype bf16 -d X t", "--cuda-weight-dtype without CUDA"},
};
@@ -179,15 +176,6 @@ int main(int argc, char **argv)
/* Validation that runs after the model dir is accepted. */
snprintf(args, sizeof(args), "-d '%s' --mlx-quant-bits 8 t", g_dir);
expect(run_cli(args, NULL) == 1, "--mlx-quant-bits without --mlx");
- snprintf(args, sizeof(args), "-d '%s' --dist-worker", g_dir);
- expect(run_cli(args, NULL) == 1, "--dist-worker without --layers");
- snprintf(args, sizeof(args),
- "-d '%s' --dist-worker --dist-remote h:1 --layers 0:1", g_dir);
- expect(run_cli(args, NULL) == 1, "--dist-worker with --dist-remote");
- snprintf(args, sizeof(args),
- "-d '%s' --dist-activation-bits 16 t", g_dir);
- expect(run_cli(args, NULL) == 1,
- "--dist-activation-bits without --dist-remote");
if (g_failures) {
fprintf(stderr, "%d CLI check(s) failed\n", g_failures);