2.4.0
## Changelog
### General
- [x] bittensor version 8.4.5
- [x] new tournament params options:
chunk size:
https://github.com/VectorChat/chunking_subnet/blob/5dcad231cb30f5fd38bf057c3fcc448726cf0252/chunking/utils/synthetic/synthetic.py#L302-L303
synthetic doc generation method, 'old' is easier, 'new' is harder
https://github.com/VectorChat/chunking_subnet/blob/5dcad231cb30f5fd38bf057c3fcc448726cf0252/chunking/utils/synthetic/synthetic.py#L271-L272
### Miner
- [x] miner does not run in background thread anymore
- [x] miner reconnect logic if disconnect from `subtensor` chain. New flags: `--neuron.reconnect.min_seconds`, `--neuron.reconnect.max_seconds`, and `--neuron.reconnect.max_attempts` described in the [default miner guide](https://github.com/VectorChat/chunking_subnet/blob/2.4.0/docs/default_miner.md#configuration)
- [x] `--neuron.no_serve` option to allow skipping axon serve on miner restart
### Validator
- [x] temp file lib when making temp file for ipfs
- [x] `--wandb.restart_interval_hours`, how often to restart `wandb` run
- [x] remove `aiomultiprocess` pool from `get_rewards` fn. Helps avoid semaphore leaks when users send organic requests via the task api
- [x] optional `benchmark_id`, `doc_name` in organic request body
- [x] default query interval is now 0 seconds, so no delay between rounds
- [x] scoring updates
#### Scoring updates
- do not penalize a miner's score in any circumstance if they did the best in their group (skip score update if `rank_value > cur_score` and the miner won in the group)
https://github.com/VectorChat/chunking_subnet/blob/5dcad231cb30f5fd38bf057c3fcc448726cf0252/chunking/utils/score.py#L77-L85
- for miner's that lose, a multiplier for alpha is multiplied to the group alpha value, following this cadence:
```
group 0: group_alpha * 2
group 1: group_alpha * 1.25
group 2: group_alpha * 1.0625
...
```
Therefore, the full alpha calculation process for a specific miner UID in a specific round goes as follows
https://github.com/VectorChat/chunking_subnet/blob/5dcad231cb30f5fd38bf057c3fcc448726cf0252/chunking/utils/score.py#L53-L68
## Checklist
- [x] updated relevant documentation
- [x] tests pass
- [x] version bump
合并状态:已合并 合并于 2024-12-12 关闭于 2024-12-12 0 条评论