Skip to content

Commit

Permalink
Merge branch 'staging' of https://github.com/opentensor/validators in…
Browse files Browse the repository at this point in the history
…to staging
  • Loading branch information
Eugene-hu committed Aug 28, 2023
2 parents dfc2174 + 8fa0b21 commit b231246
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions openvalidators/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

import asyncio
import bittensor as bt
from traceback import print_exc
from traceback import print_exception

from openvalidators.forward import forward
from openvalidators.utils import should_checkpoint, checkpoint, should_reinit_wandb, reinit_wandb, load_state, save_state
Expand Down Expand Up @@ -58,4 +58,4 @@ async def run_forward():

except Exception as e:
bt.logging.error("Error in training loop", str(e))
bt.logging.debug(print_exc(e))
bt.logging.debug(print_exception(value=e))
4 changes: 2 additions & 2 deletions scripts/data_collector.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
import openvalidators
import os
from analysis.utils import get_runs, download_data
from traceback import print_exc
from traceback import print_exception
from typing import List
from data_formatter import create_json_dataset, create_csv_dataset, create_openai_dataset

Expand Down Expand Up @@ -170,4 +170,4 @@ def create_mining_dataset(
)
except Exception as e:
bt.logging.error("Error in training loop", str(e))
bt.logging.debug(print_exc(e))
bt.logging.debug(print_exception(value=e))

0 comments on commit b231246

Please sign in to comment.