christopi commited on
Commit
f387bf7
·
1 Parent(s): b26d0b8

update docs

Browse files
Files changed (1) hide show
  1. docs/validator_setup.md +3 -49
docs/validator_setup.md CHANGED
@@ -170,7 +170,7 @@ cd vmaf
170
  1. Set up the build environment:
171
  ```bash
172
  cd libvmaf
173
- meson setup build --buildtype release -Denable_avx512=true -Denable_cuda=true
174
  ```
175
 
176
  2. Optional flags:
@@ -227,55 +227,9 @@ cd ..
227
  source venv/bin/activate
228
  ```
229
 
230
- ## Running the Scoring endpoint
231
-
232
- You can run the video upscaling validation endpoint using **PM2** to manage the process:
233
-
234
- ```bash
235
- pm2 start "python services/scoring/server.py" --name scoring_endpoint
236
- ```
237
-
238
- ### Notes:
239
- - The `scoring_endpoint` process will handle video upscaling requests.
240
- - Use the following PM2 commands to manage the process:
241
- - **View Logs**: `pm2 logs scoring_endpoint`
242
- - **Restart**: `pm2 restart scoring_endpoint`
243
- - **Stop**: `pm2 stop scoring_endpoint`
244
-
245
- ---
246
-
247
- ## Video Scheduler Setup
248
-
249
- ### start worker:
250
  ```bash
251
- pm2 start "python services/video_scheduler/worker.py" --name video_scheduler_worker
252
  ```
253
 
254
- ### start endpoint:
255
- ```bash
256
- pm2 start "python services/video_scheduler/server.py" --name video_scheduler_endpoint
257
- ```
258
-
259
- ## Running the Validator with PM2
260
-
261
- To run the validator, use the following command:
262
-
263
- ```bash
264
- pm2 start "python3 neurons/validator.py --wallet.name [Your_Wallet_Name] --wallet.hotkey [Your_Hotkey_Name] --subtensor.network test --netuid 292 --axon.port [port] --logging.debug" --name video-validator
265
- ```
266
-
267
- ### Parameters:
268
- - **`--wallet.name`**: Replace `[Your_Wallet_Name]` with your wallet name.
269
- - **`--wallet.hotkey`**: Replace `[Your_Hotkey_Name]` with your hotkey name.
270
- - **`--subtensor.network`**: Specify the target network (e.g., `finney`).
271
- - **`--netuid`**: Specify the network UID (e.g., `292`).
272
- - **`--axon.port`**: Replace `[port]` with the desired port number.
273
- - **`--logging.debug`**: Enables debug-level logging for detailed output.
274
-
275
- ### Managing the validator Process:
276
- - **Start the validator**: The above command will start the validator as a PM2 process named `video-validator`.
277
- - **View Logs**: Use `pm2 logs vidaio-validator` to monitor validator logs in real time.
278
- - **Restart the Validator**: Use `pm2 restart video-validator` to restart the process.
279
- - **Stop the Validator**: Use `pm2 stop video-validator` to stop the process.
280
-
281
  ---
 
170
  1. Set up the build environment:
171
  ```bash
172
  cd libvmaf
173
+ meson setup build --buildtype release -Denable_avx512=true
174
  ```
175
 
176
  2. Optional flags:
 
227
  source venv/bin/activate
228
  ```
229
 
230
+ ## Running the validator
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
231
  ```bash
232
+ pm2 start run.sh --name vidaio_v_autoupdater -- --netuid {85} --wallet.name {wallet} --wallet.hotkey {hotkey} --axon.port {port} --axon.external_port {port} --logging.debug
233
  ```
234
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
235
  ---