config.axon.port
ignored when port
parameter is used or defaults to 8091
#2488
Labels
bug
Something isn't working
Describe the bug
Hey team,
I noticed that this line in the
axon.py
file:bittensor/bittensor/core/axon.py
Line 336 in ae02978
...ends up replacing
config.axon.port
with theport
parameter (if provided) or defaults to8091
. This makes theconfig.axon.port
setting kind of pointless since it only gets used if noport
is passed explicitly.What’s the recommended way to set a custom port? Should we always pass it as a parameter?
Thanks!
To Reproduce
Axon created: Axon([::], 8091, ..., stopped, ['Synapse'])
port
as a param, axon is created on 8092.Expected behavior
We can't run multiple neurons on the same device.
Screenshots
No response
Environment
Ubuntu 22.04 Bittensor 8.3.1
Additional context
No response
The text was updated successfully, but these errors were encountered: