BOINC AI Hub
  • 🌍BOINC AI Hub
  • 🌍Repositories
  • Getting Started with Repositories
  • Repository Settings
  • Pull Requests & Discussions
  • Notifications
  • Collections
  • 🌍Webhooks
    • How-to: Automatic fine-tuning with Auto-Train
    • How-to: Build a Discussion bot based on BLOOM
    • How-to: Create automatic metadata quality reports
  • Repository size recommendations
  • Next Steps
  • Licenses
  • 🌍Models
  • The Model Hub
  • 🌍Model Cards
    • Annotated Model Card
    • Carbon Emissions
    • Model Card Guidebook
    • Landscape Analysis
  • Gated Models
  • Uploading Models
  • Downloading Models
  • 🌍Integrated Libraries
    • Adapter Transformers
    • AllenNLP
    • Asteroid
    • Diffusers
    • ESPnet
    • fastai
    • Flair
    • Keras
    • ML-Agents
    • PaddleNLP
    • RL-Baselines3-Zoo
    • Sample Factory
    • Sentence Transformers
    • spaCy
    • SpanMarker
    • SpeechBrain
    • Stable-Baselines3
    • Stanza
    • TensorBoard
    • timm
    • Transformers
    • Transformers.js
  • 🌍Model Widgets
    • Widget Examples
  • Inference API docs
  • Frequently Asked Questions
  • 🌍Advanced Topics
    • Integrate a library with the Hub
    • Tasks
  • 🌍Datasets
  • Datasets Overview
  • Dataset Cards
  • Gated Datasets
  • Dataset Viewer
  • Using Datasets
  • Adding New Datasets
  • 🌍Spaces
  • 🌍Spaces Overview
    • Handling Spaces Dependencies
    • Spaces Settings
    • Using Spaces for Organization Cards
  • Spaces GPU Upgrades
  • Spaces Persistent Storage
  • Gradio Spaces
  • Streamlit Spaces
  • Static HTML Spaces
  • 🌍Docker Spaces
    • Your first Docker Spaces
    • Example Docker Spaces
    • Argilla on Spaces
    • Label Studio on Spaces
    • Aim on Space
    • Livebook on Spaces
    • Shiny on Spaces
    • ZenML on Spaces
    • Panel on Spaces
    • ChatUI on Spaces
    • Tabby on Spaces
  • Embed your Space
  • Run Spaces with Docker
  • Spaces Configuration Reference
  • Sign-In with BA button
  • Spaces Changelog
  • 🌍Advanced Topics
    • Using OpenCV in Spaces
    • More ways to create Spaces
    • Managing Spaces with Github Actions
    • Custom Python Spaces
    • How to Add a Space to ArXiv
    • Cookie limitations in Spaces
  • 🌍Other
  • 🌍Organizations
    • Managing Organizations
    • Organization Cards
    • Access Control in Organizations
  • Billing
  • 🌍Security
    • User Access Tokens
    • Git over SSH
    • Signing Commits with GPG
    • Single Sign-On (SSO)
    • Malware Scanning
    • Pickle Scanning
    • Secrets Scanning
  • Moderation
  • Paper Pages
  • Search
  • Digital Object Identifier (DOI)
  • Hub API Endpoints
  • Sign-In with BA
Powered by GitBook
On this page
  • Livebook on Spaces
  • Your first Livebook Space
  • Livebook integration with Hugging Face Models
  • How to configure Livebook to use the GPU
  • How to update Livebook’s version
  • Caveats
  • Feedback and support
  1. Docker Spaces

Livebook on Spaces

PreviousAim on SpaceNextShiny on Spaces

Last updated 1 year ago

Livebook on Spaces

Livebook is an open-source tool for writing interactive code notebooks in . It’s part of a growing collection of Elixir tools for , , and .

Some of Livebook’s most exciting features are:

  • Reproducible workflows: Livebook runs your code in a predictable order, all the way down to package management

  • Smart cells: perform complex tasks, such as data manipulation and running machine learning models, with a few clicks using Livebook’s extensible notebook cells

  • Elixir powered: use the power of the Elixir programming language to write concurrent and distributed notebooks that scale beyond your machine

To learn more about it, watch this . Or visit . Or follow its and to keep up with new features and updates.

Your first Livebook Space

You can get Livebook up and running in a Space with just a few clicks. Click the button below to start creating a new Space using Livebook’s Docker template:

Then:

  1. Give your Space a name

  2. Set the password of your Livebook

  3. Set its visibility to public

  4. Create your Space

Creating a Livebok Space

This will start building your Space using Livebook’s Docker image.

The visibility of the Space must be set to public for the Smart cells feature in Livebook to function properly. However, your Livebook instance will be protected by Livebook authentication.

Once the app build is finished, go to the “App” tab in your Space and log in to your Livebook using the password you previously set:

That’s it! Now you can start using Livebook inside your Space.

If this is your first time using Livebook, you can learn how to use it with its interactive notebooks within Livebook itself:

Livebook integration with Hugging Face Models

Here’s a quick video showing how to do that:

How to configure Livebook to use the GPU

If your Space Hardware is configured to use a GPU accelerator, you can configure Livebook to leverage it.

Go to the Settings page of your Space and create a secret called XLA_TARGET with the value cuda118.

Restart your Space and start using Livebook with a GPU.

How to update Livebook’s version

To update Livebook to its latest version, go to the Settings page of your Space and click on “Factory reboot this Space”:

Caveats

The following caveats apply to running Livebook inside a Space:

  • The Space’s visibility setting must be public. Otherwise, Smart cells won’t work. That said, your Livebook instance will still be behind Livebook authentication since you’ve set the LIVEBOOK_PASSWORD secret.

Feedback and support

is a type of Livebook cell that provides a UI component for accomplishing a specific task. The code for the task is generated automatically based on the user's interactions with the UI, allowing for faster completion of high-level tasks without writing code from scratch.

Livebook authentication
Livebook's learn notebooks

Livebook has an . With this feature, you can run various Machine Learning models within Livebook with just a few clicks.

Factory reboot a Space

Livebook global configurations will be lost once the Space restarts. Consider using the if you find yourself in need of persisting configuration across deployments.

If you have improvement suggestions or need specific support, please join the .

🌍
Smart cell
official integration with Hugging Face models
desktop app
Livebook community on GitHub
Elixir
numerical computing
data science
Machine Learning
15-minute video
Livebook’s website
Twitter
blog