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/src/petals/utils
Alexander Borzunov dd4a3230bc
Add Falcon support (#499)
This PR adds:

- Support for models based on `transformers.FalconModel` (the in-library format for Falcon). Tested on Falcon-40B.
- CI tests for Falcon-RW-1B.
- `--throughput dry_run` option to evaluate throughput and exit right away (implemented by @mryab).

Limitations:

- Backward pass support is broken for now, will be fixed in #500.

Co-authored-by: Max Ryabinin <mryabinin0@gmail.com>
9 months ago
..
__init__.py Move SequenceManagerConfig -> ClientConfig, petals.dht_utils -> petals.utils.dht (#463) 10 months ago
asyncio.py Shield alloc & free from cancellation (#163) 1 year ago
auto_config.py Add Falcon support (#499) 9 months ago
convert_block.py Support Llama 2 (#379) 11 months ago
dht.py Move SequenceManagerConfig -> ClientConfig, petals.dht_utils -> petals.utils.dht (#463) 10 months ago
disk_cache.py Allow free_disk_space_for() remove arbitrary files from Petals cache (#339) 11 months ago
hf_auth.py Support Llama 2 (#379) 11 months ago
logging.py Remove unused imports and attributes (#324) 1 year ago
misc.py Rewrite MemoryCache alloc_timeout logic (#434) 10 months ago
packaging.py Add customizable input tensors (#445) 10 months ago
peft.py Rewrite MemoryCache alloc_timeout logic (#434) 10 months ago
ping.py Fix petals.utils.ping for servers with client-mode DHT (#430) 10 months ago
random.py Implement shortest-path routing for inference (#362) 11 months ago
version.py Add LLaMA support (#323) 12 months ago