Skip to content

Commit

Permalink
pulling in hotfix from main
Browse files Browse the repository at this point in the history
  • Loading branch information
dylanuys committed Dec 6, 2024
2 parents ec3a8f7 + f32fe33 commit 1a07c68
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions docs/Validating.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ Install the remaining necessary requirements with the following chained command.
```bash
conda activate bitmind
export PIP_NO_CACHE_DIR=1
chmod +x setup_validator_env.sh
./setup_validator_env.sh
chmod +x setup_env.sh
./setup_env.sh
```

## Registration
Expand Down Expand Up @@ -109,4 +109,4 @@ The above command will kick off 3 `pm2` processes
- `run_neuron` manages self heals and auto updates
- `bitmind_validator` is the validator process, whose hotkey, port, etc. are configured in `validator.env`
- `bitmind_data_generator` runs our synthetic data generation pipeline to produce synthetic images and videos.
- These data are stored in `~/.cache/sn34` and are sampled by the `bitmind_validator` process
- These data are stored in `~/.cache/sn34` and are sampled by the `bitmind_validator` process
4 changes: 2 additions & 2 deletions neurons/validator_proxy.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

from bitmind.validator.config import TARGET_IMAGE_SIZE
from bitmind.utils.image_transforms import get_base_transforms
from bitmind.protocol import ImageSynapse, prepare_image_synapse
from bitmind.protocol import ImageSynapse, prepare_synapse
from bitmind.utils.uids import get_random_uids
from bitmind.validator.proxy import ProxyCounter
import bitmind
Expand Down Expand Up @@ -146,7 +146,7 @@ async def forward(self, request: Request):
bt.logging.info(f"[ORGANIC] Querying {len(miner_uids)} miners...")
predictions = await self.dendrite(
axons=[metagraph.axons[uid] for uid in miner_uids],
synapse=prepare_image_synapse(image=image),
synapse=prepare_synapse(image, modality='image'),
deserialize=True,
timeout=9
)
Expand Down

0 comments on commit 1a07c68

Please sign in to comment.