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/tests
Alexander Borzunov 21c3526ec1
Start SequenceManager's thread only after first .make_sequence() (#301)
**Why?**

- We'd like to avoid excess threads for the original sequence manager in case if we only use its slices (e.g. when we add adapters or need only a subset of model blocks):

- If we create a sequence manager just before a fork (e.g. in a web app backend or a multi-thread benchmark), we'd like to avoid excess threads in the original process and only use this thread in child processes where we actually call `.make_sequence()`.
1 year ago
..
scripts Fix arguments in remove_old_models.py (#153) 1 year ago
conftest.py Fix logging: do not duplicate lines, enable colors in Colab (#156) 1 year ago
test.id Add automated tests (#23) 2 years ago
test_aux_functions.py Speed up loading blocks using init with meta weights (#285) 1 year ago
test_block_exact_match.py Speed up loading blocks using init with meta weights (#285) 1 year ago
test_chained_calls.py Speed up loading blocks using init with meta weights (#285) 1 year ago
test_full_model.py Speed up loading blocks using init with meta weights (#285) 1 year ago
test_priority_pool.py Fix issues related to `petals` as a module (#159) 1 year ago
test_remote_sequential.py Start SequenceManager's thread only after first .make_sequence() (#301) 1 year ago
test_sequence_manager.py Start SequenceManager's thread only after first .make_sequence() (#301) 1 year ago
test_server_stats.py Speed up loading blocks using init with meta weights (#285) 1 year ago
test_tensor_parallel.py Speed up loading blocks using init with meta weights (#285) 1 year ago
test_utils.py Implement RemoteSequential slicing and extra repr, add tests (#30) 2 years ago