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

Make remote setup code easy to find #2

Open
loftusa opened this issue Jul 16, 2024 · 0 comments
Open

Make remote setup code easy to find #2

loftusa opened this issue Jul 16, 2024 · 0 comments

Comments

@loftusa
Copy link

loftusa commented Jul 16, 2024

I had to find the below from this colab:

from nnsight import CONFIG

CONFIG.set_default_api_key("<your api key here>")

It may be on the website, but I couldn't find it quickly if it was. Should be front and center somewhere.
Side note, I think this setup in general should be changed - it incentivizes people putting in API keys in raw form, to code that has a high chance of getting thrown on github somewhere. Much better in my opinion would be using click or similar to add an nnsight login CLI command, similar to the huggingface login command.

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