This is a swift clone of examples/batched.
examples/batched
$ ./llama-batched-swift MODEL_PATH [PROMPT] [PARALLEL]