runbooks icon indicating copy to clipboard operation
runbooks copied to clipboard

`sub notebook` with directory that only contains `ipynb` files

Open samos123 opened this issue 2 years ago • 1 comments

use case: Directory only contains 1 or more ipynb files and I want to quickly launch a notebook without having to learn Dockerfile or substratus specific yaml manifests.

Desired UX:

  • User runs sub notebook .
  • cli detects there is no Dockerfile and creates the Dockerfile by doing this:
No Dockerfile found in directory. Creating Dockerfile.

No Substratus YAML file found. Creating one for you now:
What should be the name of this notebook?
( Optional) can do in follow up FR) Do you need any GPUs? Yes
If no, skip adding any resource section
If yes, what kind of GPU do you need? Ideally show list of supported options
If yes, how many GPUs do you need?
Creating the Substratus YAML file for you
  • Resume the usual sub notebook . flow

samos123 avatar Oct 07 '23 21:10 samos123

I like it!

nstogner avatar Oct 12 '23 01:10 nstogner