Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dependency issue with new bittensor version #131

Open
Shayansalesi opened this issue Oct 17, 2024 · 0 comments
Open

dependency issue with new bittensor version #131

Shayansalesi opened this issue Oct 17, 2024 · 0 comments

Comments

@Shayansalesi
Copy link

/template/base/neuron.py:91 in __init__  

 88 │   │   │   │   self.config.netuid, subtensor=self.subtensor                               │
│    89 │   │   │   )                                                                              │
│    90 │   │   else:                                                                              │
│ ❱  91 │   │   │   self.wallet = bt.wallet(config=self.config)                                    │
│    92 │   │   │   self.subtensor = bt.subtensor(config=self.config)                              │
│    93 │   │   │   self.metagraph = self.subtensor.metagraph(self.config.netuid)                  │
│    94                                                                                            │
╰──────────────────────────────────────────────────────────────────────────────────────────────────╯
TypeError: argument 'config': 'Config' object cannot be converted to 'Config'

This error happens with bittensor>8.0 - switching to 7.3.1 fixed the issue. The config passed through self.config is not the same object as is expected by bt.wallet().

Either version should be reverted or a conversion of the config made.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant