Skip to content
This repository has been archived by the owner on Sep 5, 2024. It is now read-only.

Commit

Permalink
fix data issues in key generate
Browse files Browse the repository at this point in the history
  • Loading branch information
okedeji committed Apr 24, 2024
1 parent 176ed61 commit a447549
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion allocmd/utilities/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ def run_key_generate_command(worker_name, type):
command = (
f'docker run -it --entrypoint=bash -v "$(pwd)/{worker_name}/{type}/data":/data '
'alloranetwork/allora-inference-base:latest '
f'-c "mkdir -p /{type}/data/head/key /{type}/data/{type}/key && (cd /{type}/data/head/key && allora-keys) && (cd /{type}/data/{type}/key && allora-keys)"'
f'-c "mkdir -p /data/head/key /data/{type}/key && (cd /data/head/key && allora-keys) && (cd /data/{type}/key && allora-keys)"'
)
try:
subprocess.run(command, shell=True, check=True)
Expand Down

0 comments on commit a447549

Please sign in to comment.