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

Document btcli profile command #198

Open
rajkaramchedu opened this issue Apr 15, 2024 · 2 comments
Open

Document btcli profile command #198

rajkaramchedu opened this issue Apr 15, 2024 · 2 comments
Assignees

Comments

@rajkaramchedu
Copy link
Collaborator

rajkaramchedu commented Apr 15, 2024

See this PR and document what's necessary. opentensor/bittensor#1784

@rajkaramchedu rajkaramchedu self-assigned this Apr 15, 2024
@rajkaramchedu
Copy link
Collaborator Author

cc: @gus-opentensor

@rajkaramchedu rajkaramchedu changed the title Document btcli profie command Document btcli profile command Apr 16, 2024
@rajkaramchedu
Copy link
Collaborator Author

Posting these questions here for future reference when documenting this feature.

  1. The main purpose of btcli profile create is so that the user can simply pass the config file to a command like python neurons/validator.py --netuid 1 --subtensor.network test --wallet.name validator --wallet.hotkey default --logging.debug instead of typing all these options and their values, correct?

  2. How would I pass the created config file? Like, python neurons/validator.py --config ~/.bittensor/profiles/myfirstprofile?

  3. Are these below the only key-value pairs created in the profile file?
    -- name (is this the name of the output file name, like "myfirstprofile" above?
    -- path (path to the location of the "myfirstprofile" I think?)
    -- coldkey: does it accept both "0x" prefixed-format and also the SS58 format?
    -- hotkey: same q as above
    -- subtensor_network: allowed values I think are "test, finney, local" correct?
    -- active_netuid: I think the netuid of interest

  4. In the screenshot in the PR, I see that provided inputs are "1" and "2" and "3" for the prompted fields. Does it mean it is not doing any typecheck?

  5. Two terms are used in the PR: "profile" and "config" so a single profile can contain multiple configs, correct?

  6. Lastly, are these config files in plain text format or yaml or ? Asking because can the user simply follow a sample file example and manually create these profiles and configs for each profile? A good option to document if this is true.

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

No branches or pull requests

1 participant