Loading
Loading

Yanez SN54 generates synthetic identities for challenging Yanez humanhood, presence, and uniqueness detection models.
This information was auto-extracted from the GitHub repository and may be incomplete or out of date. Always refer to the subnet's GitHub repository for the latest instructions.
GPU is mandatory for production mining; CPU-only is not viable. Phase 4 requires FLUX diffusion model (~8-32 GB VRAM depending on variant), AdaFace for identity validation, and S3 upload capability.
CPU+network workload only; no GPU or Ollama required. ~1 hour per forward pass (miner querying + drand unlock + grading).
Clone the repository
git clone https://github.com/yanez-compliance/MIID-subnet.git && cd MIID-subnet
Run automated setup script (installs system deps, Python venv, image-generation dependencies, AdaFace)
bash scripts/miner/setup.sh
Activate virtual environment (do this every time in a new terminal)
source miner_env/bin/activate
Set Hugging Face token and GPU device (cuda, mps for Apple, or cpu)
export HF_TOKEN="hf_YOUR_TOKEN_HERE" && export FLUX_DEVICE="cuda"
Pre-download FLUX diffusion model weights (optional but recommended)(optional)
python -m MIID.miner.downloading_model
Create a Bittensor wallet (skip if already have one)(optional)
btcli wallet create --wallet.name miner_wallet --wallet.hotkey miner_hotkey
Register miner on subnet 54 (requires TAO for registration fee)(optional)
btcli subnet register --netuid 54 --wallet.name miner_wallet --wallet.hotkey miner_hotkey --subtensor.network finney
Start the miner
export HF_TOKEN="hf_YOUR_TOKEN_HERE" && export FLUX_DEVICE="cuda" && python neurons/miner.py --netuid 54 --subtensor.network finney --subtensor.chain_endpoint wss://entrypoint-finney.opentensor.ai:443 --wallet.name miner_wallet --wallet.hotkey miner_hotkey --logging.debug
Clone the repository
git clone https://github.com/yanez-compliance/MIID-subnet.git && cd MIID-subnet
Run automated setup script (installs system deps, Python venv, Bittensor)
bash scripts/validator/setup.sh
Activate virtual environment
source validator_env/bin/activate
Stake TAO to the subnet (100 TAO minimum recommended for validator)(optional)
btcli stake add --netuid 54 --amount 100 --wallet.name your_wallet_name --wallet.hotkey your_hotkey --subtensor.network finney
Start the validator
python neurons/validator.py --netuid 54 --wallet.name your_wallet_name --wallet.hotkey your_hotkey --subtensor.network finney