Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,7 @@ Note: Get address ip and port information from ray head.
Here is an example to run the server with ray for llama2 7B model:

```bash
export DISABLE_XLA2_PJRT_TEST="true"
python run_server_with_ray.py --tpu_chips=16 --num_hosts=4 --worker_chips=4 -model_name=$model_name --size=7b --batch_size=96 --max_cache_length=2048 --quantize_weights=$quantize --quantize_type=$quantize_type --quantize_kv_cache=$quantize --checkpoint_path=$output_ckpt_dir --tokenizer_path=$tokenizer_path --sharding_config="default_shardings/llama.yaml"
```

Expand Down
2 changes: 1 addition & 1 deletion deps/xla
Submodule xla updated 298 files
2 changes: 1 addition & 1 deletion run_interactive_multiple_host.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ def create_engine():
sharding_config=FLAGS.sharding_config,
num_hosts=_NUM_HOSTS.value,
worker_chips=_WORKER_CHIPS.value,
tpu_chips=_TPU_CHIPS,
tpu_chips=_TPU_CHIPS.value,
)

print("Initialize engine", time.perf_counter() - start)
Expand Down