Spaces:
Sleeping
Sleeping
Add instructions for running
Browse files
README.md
CHANGED
|
@@ -9,10 +9,24 @@ To run, you will need a bittensor wallet which is registered to the relevant sub
|
|
| 9 |
## Install
|
| 10 |
Create a new python environment and install the dependencies with the command. **Note**: This project uses python >=3.10.
|
| 11 |
|
|
|
|
| 12 |
```bash
|
| 13 |
pip install -r requirements.txt
|
| 14 |
```
|
| 15 |
|
| 16 |
> Note: Currently the prompting library is only installable on machines with cuda devices (NVIDIA-GPU).
|
| 17 |
|
|
|
|
| 18 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 9 |
## Install
|
| 10 |
Create a new python environment and install the dependencies with the command. **Note**: This project uses python >=3.10.
|
| 11 |
|
| 12 |
+
(First time only)
|
| 13 |
```bash
|
| 14 |
pip install -r requirements.txt
|
| 15 |
```
|
| 16 |
|
| 17 |
> Note: Currently the prompting library is only installable on machines with cuda devices (NVIDIA-GPU).
|
| 18 |
|
| 19 |
+
## Run
|
| 20 |
|
| 21 |
+
First activate the virtual environment and then run the following command to start the server.
|
| 22 |
+
|
| 23 |
+
```bash
|
| 24 |
+
source env/bin/activate
|
| 25 |
+
```
|
| 26 |
+
|
| 27 |
+
Run the server with the following command.
|
| 28 |
+
|
| 29 |
+
```bash
|
| 30 |
+
EXPECTED_ACCESS_KEY="macrocosmos" python server.py --neuron.model_id mock --wallet.name sn1 --wallet.hotkey v1 --netuid 1 --neuron.tasks math --neuron.task_p 1 --neuron.device cpu
|
| 31 |
+
```
|
| 32 |
+
Note that this command is subject to change as the project evolves.
|