You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
petals/cli
justheuristic d271b75dd4
Let users specify sequence length instead of assuming 2048 (#52)
- Maximum length is now provided in `.inference_session(max_length=100)`
   - previously, we would always assume max length = 2048
- added a generic way to forward **kwargs to inference session
  - for compatibility with #47 
  - Note to @borzunov : it does *not* pass them arbitrarily, but instead checks for kwarg names at the bottom level
- run_server can be started with a custom max_length for inference
- renamed --cache_size_bytes to --attention_cache_bytes (to avoid collision with --cache_dir)
- --attn_cache_bytes can now support humane file sizes (e.g. 300MB instead of 314572800)
- made some server-side errors more human-readable to user (e.g. when max length is exceeded)

Co-authored-by: Aleksandr Borzunov <borzunov.alexander@gmail.com>
Co-authored-by: Alexander Borzunov <hxrussia@gmail.com>
2 years ago
..
__init__.py add quantization script for cpu 2 years ago
config.json add minimalistic benchmarks 2 years ago
convert_model.py Reduce vocabulary size in test model, fix bug in routing when overlapped (#45) 2 years ago
deploy_server.sh integrate mixed-8bit model (#39) 2 years ago
inference_one_block.py WIP: make DistributedBloom compliant with HF interface 2 years ago
local_server_config_example.cfg deploy swarm on local & remote machines 2 years ago
remote_server_config_example.cfg deploy swarm on local & remote machines 2 years ago
run_local_servers.sh integrate mixed-8bit model (#39) 2 years ago
run_remote_servers.sh Sequential and parallel forward / backward (#36) 2 years ago
run_server.py Let users specify sequence length instead of assuming 2048 (#52) 2 years ago
speed_test.py Add automated tests (#23) 2 years ago