Luciano Resende - What's new on Elyra - A set of AI centric JupyterLab extensions | JupyterCon 2020

JupyterCon · Intermediate ·🛠️ AI Tools & Apps ·5y ago
Skills: LLMOps70%

Key Takeaways

Elyra is a set of AI-centric extensions for JupyterLab, providing features such as Notebook Pipelines visual editor, ability to run notebooks as batch jobs, Hybrid runtime support, and Python script execution capabilities. The talk covers the new functionalities and enhancements introduced in Elyra, including the pipeline editor, support for Python scripts, and code snippet extensions.

Full Transcript

hello it's really a pleasure to be here again in another jupiter con talking about some of the projects that i have been contributing around the jupiter ecosystem today i'm gonna be talking about elira and some of the new functionalities that we have been uh adding into that more recently my name again is luciano hazenji i also have carla spoldaro with me we work at ibm at the code which stands for center of open source data and ai technologies uh we pretty much do 100 uh contributions to open source projects directly into their community so what is lyra elera is a set of ai centric extensions for jupiter lab it's an open source projects that we have announced around april 29th uh a lot of people ask me about the name elira name is kind of like a word play uh with one of the jupiter moons we had a y there so instead of alara it's now lyra uh similar to what we have in jupiter let me go and move to the live demo that is gonna help you guys understand a lot more of what's going on what it is a liar and how it can help you build your analytics and ai models you should already be familiar with the jupiter lab interface and you will notice that after you install lram there is going to be a new section in the workspace uh where some of the editors are being available and you're also going to start seeing a few new additions on the left side panel with related capabilities let's take a quick tour around the lyra focusing on some of the new enhancements introduced recently one of the most popular features we have is the pipeline editor the pipeline editor simplifies you the conversion of multiple notebooks into batch jobs or workflows you can start adding multiple notebooks and we recently just announced the ability to also include python scripts you can then start defining the dependencies between them which will influence the execution order and you can add additional properties to each of the nodes where you specify runtime image which is a docker image use it as an execution environment we have predefined docker images but you also can specify your own [Music] you can define file dependencies environment variables and also output files note that the output files are then going to be propagated to subsequent operations on the flow uh if you have been using the library in the past you've seen that we have uh enabled the execution of these pipelines in kubeflow pipelines uh we now added a panel a left side panel here where you can see a list of runtimes that you have available that gives you quick access to kind of like access the pipelines and experiments on that ui and also look into associated files in the object storage we also recently announced the ability to run these pipelines locally and what is happening here is uh we're just calculating kind of like the the right order and executing those pipelines in your local environment if you then uh look here you will see it in the console uh kind of like the jupiter lab blogs uh all of the execution that is happening and then coming back uh once that execution is finalized uh we get a notification and we can kind of like just go ahead and open those notebooks and you will see the executed results all there you can also just go to where those files are and see generated files for example regarding the runtimes when you add that you can see that now we have additional files for username and password that that is to enable you connecting to uh tubeflow pipelines that are secured those are sort of like a common environment when you are on enterprise or when you are execute that kind of like a in production environment [Music] let's take a look at the lyra support for python scripts alarm introduces the ability to create python scripts directly from the workspace launcher but for this demo let me clone the github repository that i already have some python scripts file there okay let's take a look here this is a repository that i just cloned alera allow users to locally edit their scripts and execute them against local or cloud-based resources seamlessly you can see that now i can select a environment that i need for example if i'm doing model training i need tensorflow with gpus or if i'm doing some analytics and i need pi spark but for the case of this demo i just need python a simple python environment i'm just doing some pandas analytics here and calculating kind of like the the sales price the mean sales price for a given city i can then go and execute those files and you will see that the bottom uh on the python console output all the results are going to be available for you here independent if this has been executed locally or for example remotely using cloud resources eliara also recently announced a code snippet extensions that allow users to add custom pieces of code that can be then reused in making programming in jupiter lab more efficient and reducing repetitive work let's take a quick look on how to use this let me create a new notebook i have here some pre-configured code snippets in this case let me just add here the cell that check the version of tensorflow that is being used i see oh this is the right version now let me start putting some uh my graphing things and requirements that i need to start building and using matplotlib so i have all the imports here and i have a template for kind of like a graph i can basically easily import those and start executing you see that out of the box out of the back the box i then have kind of like a working notebook with all that i need and then i can start customizing so that it applies to the use case that i'm trying to resolve here this gives you a quick overview on what's new around the lyra there are a lot more of the functionality that has been uh available for a little while uh we have a several other talks around jupitercon that it's interests of you and we'll demonstrate different areas and different aspects of lyra please let me pass to carla which is going to give you a lot more details on those thank you very much we have put together some helpful links for you to get started with the lyra today go to ibm.biz slash a lyra dash demo to run a lara from binder no need to install anything it's just a nice and easy way to test drive it you can also install a lyra on your machine just by following this link here are all the prerequisites you need all the installation steps you can also run elara from docker and from here you can have access to the complete elira documentation we have tutorials user guide how you can set up your deployments you can read about the developer guide and so on there's also a link to a lyra's github page so either if you are a user a data scientist or a developer wanting to contribute to this project your feedback is always appreciated there are many ways to get involved contribute to the projects and become part of the open source community please give us a start on github fork the project if you want to help out on the development submit bug reports or suggest improvements by creating issues or pull requests on github you can also help on code reviews test them give your feedback and elara also has community meetings where you can stay up to date with the project get to know the people involved feel free to share your comments live with the team uh our meetings happen once a week every thursday 9 00 am pacific time there is a link to the web bags room at the bottom of the read me eliara's github you're more than welcome to join us and we're also on getter if you prefer to chat with us also if you're interested in learning about elira in more depth here are other jupiter cone talks hosted by the ibm coding team including some talks about jupiter lab extensions which is pretty cool so that's it from us we hope you get inspired by eliara today

Original Description

Brief Summary Elyra is a set of AI-centric extensions to JupyterLab. In this talk we will cover all the additional capabilities it brings to your Jupyter Notebooks such as Notebook Pipelines visual editor, Ability to run notebooks as batch jobs, Hybrid runtime support, Python script execution capabilities within the editor, Code Snippets, Metadata Editor and Notebook versioning based on git integration. Outline Jupyter Notebooks became very popular among data scientists and AI model developers, and JupyterLab as its next generation tool can make notebooks, code and data manipulation much more extensible, flexible while providing a more friendly user interface. Elyra AI toolkit extends JupyterLab interface in order to better support the development of data science and AI models, by simplifying the process and helping AI workflows. In this talk, we will describe how Elyra can make JupyterLab even more powerful, by introducing its AI-centric main features. Elyra provides a visual editor for building notebook pipelines, allowing modularization of the required steps when building machine learning and AI models. AI models and experiments often require long processing and heavy CPU resources, a problem that Elyra simplifies by leveraging hybrid runtime support on cloud-based resources across distributed clusters, with the Enterprise Gateway. Python scripts now have their own custom editor within Elyra, supporting code execution against local or cloud-based resources. While programming similar tasks can become tedious, the Code Snippet feature in combination with Metadata editor allows users to add reusable pieces of code, making the development more efficient by reducing repetitive work. Elyra’s integrated support for git repositories simplifies tracking changes, allowing rollback to working versions of the code, backups, and, most importantly, sharing among team members and enabling a collaborative working environment. Attendees are expected to have basic knowledge of
Watch on YouTube ↗ (saves to browser)
Sign in to unlock AI tutor explanation · ⚡30

Playlist

Uploads from JupyterCon · JupyterCon · 8 of 60

1 Interview   Joshua Patterson NVIDIA
Interview Joshua Patterson NVIDIA
JupyterCon
2 Dave Stuart - Jupyter as an Enterprise “Do It Yourself” (DIY) Analytic Platform | JupyterCon 2020
Dave Stuart - Jupyter as an Enterprise “Do It Yourself” (DIY) Analytic Platform | JupyterCon 2020
JupyterCon
3 Jeffrey Mew - Supercharge your Data Science workflow | JupyterCon 2020
Jeffrey Mew - Supercharge your Data Science workflow | JupyterCon 2020
JupyterCon
4 Michelle Ufford- Supercharging SQL Users with Jupyter Notebooks | JupyterCon 2020
Michelle Ufford- Supercharging SQL Users with Jupyter Notebooks | JupyterCon 2020
JupyterCon
5 Alan Yu - What we learned from introducing Jupyter Notebooks to the SQL community  | JupyterCon 2020
Alan Yu - What we learned from introducing Jupyter Notebooks to the SQL community | JupyterCon 2020
JupyterCon
6 Chris Holdgraf- 2i2c: sustaining open source through hosted Jupyter infrastructure | JupyterCon 2020
Chris Holdgraf- 2i2c: sustaining open source through hosted Jupyter infrastructure | JupyterCon 2020
JupyterCon
7 Yiwen Li - Intro to Elyra - an AI centric extension for JupyterLab | JupyterCon 2020
Yiwen Li - Intro to Elyra - an AI centric extension for JupyterLab | JupyterCon 2020
JupyterCon
Luciano Resende - What's new on Elyra - A set of AI centric JupyterLab extensions | JupyterCon 2020
Luciano Resende - What's new on Elyra - A set of AI centric JupyterLab extensions | JupyterCon 2020
JupyterCon
9 Alan Chin - Explore and Extend AI Pipeline Runtimes with Elyra and JupyterLab | JupyterCon 2020
Alan Chin - Explore and Extend AI Pipeline Runtimes with Elyra and JupyterLab | JupyterCon 2020
JupyterCon
10 Eduardo Blancas- Streamline your Data Science projects with Ploomber | JupyterCon 2020
Eduardo Blancas- Streamline your Data Science projects with Ploomber | JupyterCon 2020
JupyterCon
11 Thorin Tabor - Democratizing the accessibility of computational workflows | JupyterCon 2020
Thorin Tabor - Democratizing the accessibility of computational workflows | JupyterCon 2020
JupyterCon
12 Simon Willison- Using Datasette with Jupyter to publish your data | JupyterCon 2020
Simon Willison- Using Datasette with Jupyter to publish your data | JupyterCon 2020
JupyterCon
13 Brendan O'Brien - Using Qri (“query”) to fetch, query, combine and publish datasets.|JupyterCon 2020
Brendan O'Brien - Using Qri (“query”) to fetch, query, combine and publish datasets.|JupyterCon 2020
JupyterCon
14 Georgiana Dolocan - Putting the JupyterHub puzzle pieces together | JupyterCon 2020
Georgiana Dolocan - Putting the JupyterHub puzzle pieces together | JupyterCon 2020
JupyterCon
15 Yuvi Panda- Running nonjupyter applications on JupyterHub with jupyter-server-proxy| JupyterCon 2020
Yuvi Panda- Running nonjupyter applications on JupyterHub with jupyter-server-proxy| JupyterCon 2020
JupyterCon
16 Richard Wagner- The Streetwise Guide to JupyterHub Security | JupyterCon 2020
Richard Wagner- The Streetwise Guide to JupyterHub Security | JupyterCon 2020
JupyterCon
17 TamNguyen- Handling Custom Jupyter Data Sources | JupyterCon 2020
TamNguyen- Handling Custom Jupyter Data Sources | JupyterCon 2020
JupyterCon
18 Immanuel Bayer- ipyannotator - the infinitely hackable annotation framework  | JupyterCon 2020
Immanuel Bayer- ipyannotator - the infinitely hackable annotation framework | JupyterCon 2020
JupyterCon
19 Rebecca Kelly- A shared Python, R and Q  Jupyter Notebook - A Quant Sandbox Dream |JupyterCon 2020
Rebecca Kelly- A shared Python, R and Q Jupyter Notebook - A Quant Sandbox Dream |JupyterCon 2020
JupyterCon
20 Itay Dafna - Leap of faith: Transitioning from Excel to Jupyter-based applications | JupyterCon 2020
Itay Dafna - Leap of faith: Transitioning from Excel to Jupyter-based applications | JupyterCon 2020
JupyterCon
21 Damián Avila - Using the Jupyterverse to power MADS | JupyterCon 2020
Damián Avila - Using the Jupyterverse to power MADS | JupyterCon 2020
JupyterCon
22 Chiin Rui Tan- From Zero to Hero | JupyterCon 2020
Chiin Rui Tan- From Zero to Hero | JupyterCon 2020
JupyterCon
23 Firas Moosvi- Teaching an Active Learning class with Jupyter Book| JupyterCon 2020
Firas Moosvi- Teaching an Active Learning class with Jupyter Book| JupyterCon 2020
JupyterCon
24 Daniel Mietchen- Jupyter in the Wikimedia ecosystem | JupyterCon 2020
Daniel Mietchen- Jupyter in the Wikimedia ecosystem | JupyterCon 2020
JupyterCon
25 Qiusheng Wu- How Jupyter and geemap enable interactive mapping and analysis | JupyterCon 2020
Qiusheng Wu- How Jupyter and geemap enable interactive mapping and analysis | JupyterCon 2020
JupyterCon
26 Stephanie Juneau- Jupyterenabled astrophysical analysis for researchers and students|JupyterCon 2020
Stephanie Juneau- Jupyterenabled astrophysical analysis for researchers and students|JupyterCon 2020
JupyterCon
27 Denton Gentry- The Care and Feeding of JupyterHub for Climate Solution Models| JupyterCon 2020
Denton Gentry- The Care and Feeding of JupyterHub for Climate Solution Models| JupyterCon 2020
JupyterCon
28 Tingkai Liu- FlyBrainLab: Interactive Computing in the Connectomic/Synaptomic Era  | JupyterCon 2020
Tingkai Liu- FlyBrainLab: Interactive Computing in the Connectomic/Synaptomic Era | JupyterCon 2020
JupyterCon
29 Kunal Bhalla- A Notebook Style Guide| JupyterCon 2020
Kunal Bhalla- A Notebook Style Guide| JupyterCon 2020
JupyterCon
30 Julia Wagemann - How to avoid 'Death by Jupyter Notebooks' | JupyterCon 2020
Julia Wagemann - How to avoid 'Death by Jupyter Notebooks' | JupyterCon 2020
JupyterCon
31 David Pugh - Best practices for managing Jupyter-based data science  | JupyterCon 2020
David Pugh - Best practices for managing Jupyter-based data science | JupyterCon 2020
JupyterCon
32 Karla Spuldaro - Debugging notebooks and python scripts in JupyterLab | JupyterCon 2020
Karla Spuldaro - Debugging notebooks and python scripts in JupyterLab | JupyterCon 2020
JupyterCon
33 Shreyas Dalia - assert browserTest == True # Frontend Testing JupyterLab  | JupyterCon 2020
Shreyas Dalia - assert browserTest == True # Frontend Testing JupyterLab | JupyterCon 2020
JupyterCon
34 Chris Holdgraf - The new Jupyter Book stack | JupyterCon 2020
Chris Holdgraf - The new Jupyter Book stack | JupyterCon 2020
JupyterCon
35 Hamel Husain - Fastpages - A new, open source Jupyter notebook blogging system | JupyterCon 2020
Hamel Husain - Fastpages - A new, open source Jupyter notebook blogging system | JupyterCon 2020
JupyterCon
36 Marc Wouts - Jupytext: Jupyter Notebooks as Markdown Documents | JupyterCon 2020
Marc Wouts - Jupytext: Jupyter Notebooks as Markdown Documents | JupyterCon 2020
JupyterCon
37 Sheeba Samuel- ProvBook |JupyterCon 2020
Sheeba Samuel- ProvBook |JupyterCon 2020
JupyterCon
38 Philipp Rudiger - To Jupyter and back again | JupyterCon 2020
Philipp Rudiger - To Jupyter and back again | JupyterCon 2020
JupyterCon
39 Jacob Tomlinson - What is my GPU doing? | JupyterCon 2020
Jacob Tomlinson - What is my GPU doing? | JupyterCon 2020
JupyterCon
40 Afshin Darian - A visual debugger in Jupyter | JupyterCon 2020
Afshin Darian - A visual debugger in Jupyter | JupyterCon 2020
JupyterCon
41 Eric Charles - Jupyter Real Time Collaboration| JupyterCon 2020
Eric Charles - Jupyter Real Time Collaboration| JupyterCon 2020
JupyterCon
42 Devin Robison - Optimizing model performance | JupyterCon 2020
Devin Robison - Optimizing model performance | JupyterCon 2020
JupyterCon
43 Junhua zhao - PayPal Notebooks: ML & Data Science experience | JupyterCon 2020
Junhua zhao - PayPal Notebooks: ML & Data Science experience | JupyterCon 2020
JupyterCon
44 April Wang - Redesigning Notebooks for Better Collaboration | JupyterCon 2020
April Wang - Redesigning Notebooks for Better Collaboration | JupyterCon 2020
JupyterCon
45 Bryan Weber - Distributing and Collecting Jupyter Notebooks for Manual Grading| JupyterCon 2020
Bryan Weber - Distributing and Collecting Jupyter Notebooks for Manual Grading| JupyterCon 2020
JupyterCon
46 Georgiana Dolocan - The Littlest JupyterHub distribution | JupyterCon 2020
Georgiana Dolocan - The Littlest JupyterHub distribution | JupyterCon 2020
JupyterCon
47 Tim Metzler - Electronic Examination using Jupyter Notebook | JupyterCon 2020
Tim Metzler - Electronic Examination using Jupyter Notebook | JupyterCon 2020
JupyterCon
48 Blaine Mooers - Why develop a snippet library for Jupyter in your subject domain? | JupyterCon 2020
Blaine Mooers - Why develop a snippet library for Jupyter in your subject domain? | JupyterCon 2020
JupyterCon
49 Ryan Abernathey - Cloud Native Repositories for Big Scientific Data | JupyterCon 2020
Ryan Abernathey - Cloud Native Repositories for Big Scientific Data | JupyterCon 2020
JupyterCon
50 Tanya Rai - Introducing Bento: Jupyter Notebooks @ Facebook | JupyterCon 2020
Tanya Rai - Introducing Bento: Jupyter Notebooks @ Facebook | JupyterCon 2020
JupyterCon
51 Kenton McHenry - From Papers to Notebooks | JupyterCon 2020
Kenton McHenry - From Papers to Notebooks | JupyterCon 2020
JupyterCon
52 Ryan Herr - After model.fit, before you deploy| JupyterCon 2020
Ryan Herr - After model.fit, before you deploy| JupyterCon 2020
JupyterCon
53 Ana Ruvalcaba - Community building is a sustainability strategy | JupyterCon 2020
Ana Ruvalcaba - Community building is a sustainability strategy | JupyterCon 2020
JupyterCon
54 Martin Renou - Xeus: an ecosystem of Jupyter kernels | JupyterCon 2020
Martin Renou - Xeus: an ecosystem of Jupyter kernels | JupyterCon 2020
JupyterCon
55 Michael Wilson - Teaching teenagers to understand Dark Energy | JupyterCon 2020
Michael Wilson - Teaching teenagers to understand Dark Energy | JupyterCon 2020
JupyterCon
56 Davide De Marchi - Voilà dashboards for policy support | JupyterCon 2020
Davide De Marchi - Voilà dashboards for policy support | JupyterCon 2020
JupyterCon
57 Marcos Lopez Caniego - ESASky's JupyterLab widget| JupyterCon 2020
Marcos Lopez Caniego - ESASky's JupyterLab widget| JupyterCon 2020
JupyterCon
58 Praveen Kanamarlapud - Kernel Life Cycle Management | JupyterCon 2020
Praveen Kanamarlapud - Kernel Life Cycle Management | JupyterCon 2020
JupyterCon
59 Aaron Bray - Pulse Physiology Engine | JupyterCon 2020
Aaron Bray - Pulse Physiology Engine | JupyterCon 2020
JupyterCon
60 Aaron Watters - Using WebGL2 transform/feedback in Jupyter widgets | JupyterCon 2020
Aaron Watters - Using WebGL2 transform/feedback in Jupyter widgets | JupyterCon 2020
JupyterCon

Elyra is a set of AI-centric extensions for JupyterLab that provides features such as Notebook Pipelines visual editor and Python script execution capabilities. The talk covers the new functionalities and enhancements introduced in Elyra, including the pipeline editor and code snippet extensions. By using Elyra, users can streamline their AI and analytics workflows, and improve their productivity.

Key Takeaways
  1. Install Elyra
  2. Create a new Notebook Pipeline
  3. Add notebooks and Python scripts to the pipeline
  4. Define dependencies and execution order
  5. Execute the pipeline locally or remotely using Kubeflow Pipelines
  6. Use code snippet extensions to reuse code and reduce repetitive work
💡 Elyra provides a streamlined way to create and manage AI and analytics workflows, making it easier to deploy and manage AI models.

Related AI Lessons

Up next
Salesforce Flow New Features (Summer '26) | Open Record, URL & Show Toast Messages
AITECHONE
Watch →