The default environment
Each workspace has a default environment that every notebook in it uses. It comes with:Add packages
Open Panels in the toolbar and choose Environment.1
Add the package
Type package names in the box, such as
lightgbm or scikit-learn==1.5, and click Install.2
Build
The package is added under Requirements. Alkera builds the environment and lists everything under Installed.
Packages after sleep
The environment’s package list, and a lock file that pins exact versions, are saved in the workspace’s folder. The installed packages themselves are not. After the workspace sleeps or moves to another machine, Alkera rebuilds the environment from that list, so the first run can take longer. Packages installed any other way, such as withpip install in a shell, are not on the list and are gone after sleep. Add them in the Environment panel so they stay.
The kernel
A kernel starts the first time you run a cell. Opening a notebook does not start one. Everyone in the notebook shares its kernel.- Interrupt stops the running cell. If it does not stop, Alkera escalates to a restart.
- Restart clears every variable in memory. Saved outputs stay on screen, marked Not run in this kernel.
- The toolbar shows memory use and warns at 80%. If the kernel runs out of memory, it is restarted.
Compute
Notebooks run on the machine their workspace runs on. For large data, long-running jobs, or training models, move the workspace to a dedicated CPU or GPU machine. Files and the environment’s package list move with the workspace, and the environment is rebuilt on the new machine.Notebook settings
Open Settings (the gear in the toolbar) to change:- When a cell runs: autorun or lazy. See Reactivity.
- Frames as: Polars or pandas for SQL results.
- Rows per SQL result: a cap on rows returned by SQL cells.
Related
Machines
Standard compute and dedicated CPU and GPU machines.
Keyboard shortcuts
Run, interrupt, and restart from the keyboard.