generated from opentensor/bittensor-subnet-template
-
Notifications
You must be signed in to change notification settings - Fork 47
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
## Change Log - Add security for staging. - Add mixture of miners endpoint. - Improve scoring of Organic Queries. No action required by miners and validators. --------- Co-authored-by: bkb2135 <98138173+bkb2135@users.noreply.github.com> Co-authored-by: richwardle <richard.wardle@macrocosmos.ai> Co-authored-by: Dmytro Bobrenko <17252809+dbobrenko@users.noreply.github.com>
- Loading branch information
1 parent
443cf20
commit d604a94
Showing
26 changed files
with
490 additions
and
238 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
API_PORT = "8005" | ||
API_HOST = "0.0.0.0" | ||
# SCORING_KEY = "YOUR_SCORING_API_KEY_GOES_HERE" | ||
API_PORT = "42170" # Port for the API server | ||
API_HOST = "0.0.0.0" # Host for the API server | ||
SCORING_KEY = "123" # The scoring key for the validator (must match the scoring key in the .env.validator file) | ||
SCORE_ORGANICS = True # Whether to score organics | ||
VALIDATOR_API = "0.0.0.0:8094" # The validator API to forward responses to for scoring |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -183,3 +183,4 @@ wandb | |
.vscode | ||
api_keys.json | ||
prompting/api/api_keys.json | ||
weights.csv |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
module.exports = { | ||
apps: [ | ||
{ | ||
name: 'api_server', | ||
script: 'poetry', | ||
interpreter: 'none', | ||
args: ['run', 'python', 'validator_api/api.py'], | ||
min_uptime: '5m', | ||
max_restarts: 5 | ||
} | ||
] | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
{} | ||
{} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.