opentensor / bittensor-subnet-template

Template Design for a Bittensor subnetwork
MIT License
65 stars 112 forks source link

tensor warning in base validator #62

Closed crazydevlegend closed 7 months ago

crazydevlegend commented 7 months ago
/base/validator.py:313: UserWarning: To copy construct from a tensor, it is recommended to use sourceTensor.clone().detach() or sourceTensor.clone().detach().requires_grad_(True), rather than torch.tensor(sourceTensor).

i get the following error in update_scores method i suppose it's tensor-related warning - will make a PR soon