-
Notifications
You must be signed in to change notification settings - Fork 640
[Nebius] Add support config file and remove hardcode #5463
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
base: master
Are you sure you want to change the base?
[Nebius] Add support config file and remove hardcode #5463
Conversation
The Nebius project ID file support has been removed in favor of configuration in `~/.sky/config.yaml`, which now includes `project_id` and `fabric` options. Enhancements include streamlined GPU cluster creation and clearer documentation for Nebius configurations.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there any way we can throw an error if the user typos a region name in the config? E.g. if I accidentally write ue-north1
, it should have an error.
Otherwise, I think this looks pretty good. Thanks!
|
||
.. code-block:: shell | ||
**Optional**: You can specify a preferable project ID and fabric in `~/.sky/config.yaml` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Question about "preferable" - does this mean that the project id / fabric can be ignored in some cases, or is it always respected?
Optional: GPU cluster disabled if not specified | ||
|
||
|
||
The configuration can be specified in region-specific sections. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The configuration can be specified in region-specific sections. | |
The configuration must be specified in region-specific sections. |
.. code-block:: yaml | ||
|
||
echo $NEBIUS_PROJECT_ID > ~/.nebius/NEBIUS_PROJECT_ID.txt | ||
# ~/.sky/config.yaml | ||
nebius: | ||
eu-north1: | ||
project_id: project-e00xxxxxxxxxxxx | ||
fabric: fabric-2 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this should be moved to cloud-setup/cloud-permissions/nebius.rst. We can just have a link in the "Optional:" part to that page.
The Nebius project ID file support has been removed in favor of configuration in
~/.sky/config.yaml
, which now includesproject_id
andfabric
options. Enhancements include streamlined GPU cluster creation and clearer documentation for Nebius configurations.Tested (run the relevant ones):
bash format.sh
/smoke-test
(CI) orpytest tests/test_smoke.py
(local)