{"id":5646214,"date":"2022-06-27T09:54:09","date_gmt":"2022-06-27T13:54:09","guid":{"rendered":"https:\/\/lightningaidev.wpengine.com\/?p=5646214"},"modified":"2022-09-10T11:12:03","modified_gmt":"2022-09-10T15:12:03","slug":"an-introduction-to-lightning-ai","status":"publish","type":"post","link":"https:\/\/lightning.ai\/pages\/community\/tutorial\/an-introduction-to-lightning-ai\/","title":{"rendered":"An Introduction to Lightning AI"},"content":{"rendered":"<h3><span style=\"font-weight: 400;\">What is Lightning AI (and Where Does Grid.ai Fit With It)?<\/span><\/h3>\n<p><span style=\"font-weight: 400;\">Lightning is a free, modular, distributed, and open-source framework for building Lightning Apps where the components you want to use interact together.<\/span><\/p>\n<h3><span style=\"font-weight: 400;\">How is Lightning AI Different from Grid.ai?<\/span><\/h3>\n<p><span style=\"font-weight: 400;\">Lighting AI is the evolution of Grid.ai. The Grid platform enables users to scale their Machine Learning (ML) training workflows and remove all the burden of having to maintain or even think about cloud infrastructure. Lightning AI takes advantage of a lot of things Grid.ai does well, in fact Grid.ai is the backend that powers Lightning AI. Lightning AI builds upon Grid.ai by expanding further into the world of MLOps, helping to facilitating the entire end-to-end ML workflow. That is how powerful the framework is. It is a platform for ML practitioners by ML practitioners and engineers.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">By design Lightning AI is a minimally opinionated framework to guard developers against unorganized code and is flexible enough to build cool and interesting AI applications in a matter of days depending on complexity. It is truly a product made for engineers and creatives and built by engineers and creatives.<\/span><\/p>\n<h3><span style=\"font-weight: 400;\">So, What&#8217;s So Great About Lightning AI?<\/span><\/h3>\n<p><span style=\"font-weight: 400;\">Lightning Apps! Lightning Apps can be built for any AI use case, ranging from AI research to production-ready pipelines (and everything in between!). By abstracting the engineering boilerplate, Lightning AI allows researchers, data scientists, and software engineers to build highly-scalable, production-ready Lightning Apps using the tools and technologies of their choice, regardless of their level of engineering expertise.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">The current problem today is that the AI ecosystem is fragmented, which makes building AI slower and more expensive than it needs to be. For example, getting a model into production and maintaining it takes hundreds, if not thousands, of hours spent maintaining infrastructure. Lightning AI solves this by providing an intuitive user experience for building, running, sharing, and scaling fully functioning Lightning Apps. A nice consequence of this is it will now only take days (not years) to build AI applications.\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Here are a few cool things you can do with Lightning Apps:<\/span><\/p>\n<ol>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Integrate with your choice of tools &#8211; TensorBoard, WanDB, Optuna, and more!<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Train models<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Serve models in production<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Interact with Apps via a UI<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Many more apps to come as we and the community collaborate to make the Lightning Apps experience one to remember<\/span><\/li>\n<\/ol>\n<h3><span style=\"font-weight: 400;\">Lightning Apps Gallery<\/span><\/h3>\n<p><span style=\"font-weight: 400;\">Along with the concept of Lightning Apps, Lightning introduces the Lightning Gallery. The Gallery is the community&#8217;s one-stop-shop for a diverse set of curated applications and components. The value of the app and component galleries are endless and only limited by the developer&#8217;s imagination. For example, there could be components for:<\/span><\/p>\n<ol>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Model Training<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Model Serving<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Monitoring<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Notification<\/span><\/li>\n<\/ol>\n<p><span style=\"font-weight: 400;\">Using only these 4 components a fully qualified MLOps pipeline can be built. For example, an anomaly detection app with the following characteristics could be built from them:<\/span><\/p>\n<ol>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Model training component &#8211; Train model<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Model deployed to production &#8211; Model detects an anomaly<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Monitoring component &#8211; Data drift detected and then triggers a model update<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Notification component &#8211; Notifies interested parties of the detected anomaly<\/span><\/li>\n<\/ol>\n<h4><span style=\"font-weight: 400;\">Gallery Examples<\/span><\/h4>\n<p><span style=\"font-weight: 400;\">Prior to launching Lightning as a product we thought about the need to have some existing apps to give the community a flavor of what can be created and showcase how easy it is.<\/span><\/p>\n<p><strong>Components (Building blocks)<\/strong><\/p>\n<ol>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><a href=\"https:\/\/ideal-bassoon-5313f557.pages.github.io\/api_reference\/generated\/lightning_app.components.python.popen.PopenPythonScript.html#lightning_app.components.python.popen.PopenPythonScript\"><span style=\"font-weight: 400;\">PopenPythonScript<\/span><\/a><span style=\"font-weight: 400;\"> and <\/span><a href=\"https:\/\/ideal-bassoon-5313f557.pages.github.io\/api_reference\/generated\/lightning_app.components.python.tracer.TracerPythonScript.html#lightning_app.components.python.tracer.TracerPythonScript\"><span style=\"font-weight: 400;\">TracerPythonScript<\/span><\/a><span style=\"font-weight: 400;\"> &#8211; Enable easy transition from Python scripts to Lightning Apps. See our <span style=\"color: #0000ff;\"><a style=\"color: #0000ff;\" href=\"https:\/\/www.grid.ai\/how-to-move-a-grid-project-to-lightning-apps\/\" target=\"_blank\" rel=\"noopener\">How to Move a Grid Project to Lightning Apps<\/a><\/span> tutorial for an example.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><a href=\"https:\/\/ideal-bassoon-5313f557.pages.github.io\/api_reference\/generated\/lightning_app.components.serve.gradio.ServeGradio.html#lightning_app.components.serve.gradio.ServeGradio\"><span style=\"font-weight: 400;\">ServeGradio<\/span><\/a><span style=\"font-weight: 400;\"> &#8211; Enables quick deployment of an interactive UI component.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><a href=\"https:\/\/ideal-bassoon-5313f557.pages.github.io\/api_reference\/generated\/lightning_app.components.serve.serve.ModelInferenceAPI.html#lightning_app.components.serve.serve.ModelInferenceAPI\"><span style=\"font-weight: 400;\">ModelInferenceAPI<\/span><\/a><span style=\"font-weight: 400;\"> &#8211; Enables quick prototyping of model inferencing.<\/span><\/li>\n<\/ol>\n<p><strong>Applications (Building)<\/strong><\/p>\n<ol>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\"><strong>Train &amp; Demo PyTorch Lightning<\/strong> &#8211; This app trains a model using PyTorch Lightning and deploys it to be used for interactive demo purposes. This is not meant to be a real-time inference deployment app. There are other apps with real-time inference components that can be used to achieve &lt; 1 ms inference times. This is a great app to use as a starting point for building a more complex app around a PyTorch Lightning model.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\"><strong>Lightning Notebook<\/strong> &#8211; Use this app to run many Jupyter Notebook on cloud CPUs, and even machines with multiple GPUs. Notebooks are great for analysis, prototyping, or any time you need a scratchpad to try new ideas. Pause these notebooks to save money on cloud machines when you&#8217;re done with your work.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\"><strong>Lightning Sweeper (HPO)<\/strong> &#8211; Train hundreds of models across hundreds of cloud CPUs\/GPUs, using advanced hyperparameter tuning strategies.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\"><strong>Collaborative Training<\/strong> &#8211; This app showcases how you can train a model across machines spread over the internet. This is useful for when you have a mixed set of devices (different types of GPUs) or machines that are spread over the internet that do not have specialized interconnect between them. Via the UI you can start your own training run or join others via a link! The app will handle connecting\/updating and monitoring of your training job through the UI.<\/span><\/li>\n<\/ol>\n<h3><span style=\"font-weight: 400;\">Convert Modeling Code into Apps<\/span><\/h3>\n<p><span style=\"font-weight: 400;\">To convert your code to a Lightning App is a seamless task today with some of our convenient components. Both the<\/span><a href=\"https:\/\/ideal-bassoon-5313f557.pages.github.io\/api_reference\/generated\/lightning_app.components.python.popen.PopenPythonScript.html#lightning_app.components.python.popen.PopenPythonScript\"><span style=\"font-weight: 400;\"> PopenPythonScript<\/span><\/a><span style=\"font-weight: 400;\"> and<\/span><a href=\"https:\/\/ideal-bassoon-5313f557.pages.github.io\/api_reference\/generated\/lightning_app.components.python.tracer.TracerPythonScript.html#lightning_app.components.python.tracer.TracerPythonScript\"><span style=\"font-weight: 400;\"> TracerPythonScript<\/span><\/a><span style=\"font-weight: 400;\"> components are near-zero code change solutions for converting Python code to Lightning Apps! See <\/span><a href=\"https:\/\/github.com\/PyTorchLightning\/lightning\/blob\/grid-lightning-apps\/docs\/source\/tutorials\/grid-to-lightning-app\/app.py\"><span style=\"font-weight: 400;\">here<\/span><\/a><span style=\"font-weight: 400;\"> for all the code changes required to convert this official PyTorch Lightning<\/span> <span style=\"font-weight: 400;\">image classification <\/span><a href=\"https:\/\/github.com\/PyTorchLightning\/lightning-tutorials\/blob\/main\/lightning_examples\/cifar10-baseline\/baseline.py\"><span style=\"font-weight: 400;\">model<\/span><\/a><span style=\"font-weight: 400;\"> to a Lightning App with the TracerPythonScript component.<\/span><\/p>\n<h3><span style=\"font-weight: 400;\">Future Roadmap<\/span><\/h3>\n<p><span style=\"font-weight: 400;\">A great future lies ahead of Lightning AI and we are excited to share you a list of enhancements to come! Within the next months &#8211; year we plan to enable the following:<\/span><\/p>\n<ol>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Allow users to locally run multiple apps in tandem &#8211; This will be great for users that have multiple Lightning Apps they are testing and developing.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Multi-tenancy apps &#8211; This will allow the community to deploy Lightning Apps to their favorite cloud provider.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">App built-in user authentication &#8211; It is important for the community to be able to protect access to their Lightning Apps. This is a step in the right direction to making Lightning Apps more secure.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Hot-reload<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Pause and resume Lightning App &#8211; Some users will be using Lightning Apps that host an interactive environment like Jupyter Notebooks. For such users we want to remove all pain points related to losing work and being billed when a machine is idle.<\/span><\/li>\n<\/ol>\n<p><span style=\"font-weight: 400;\">We welcome the community to build Lightning Apps that meet their needs and share in our open source gallery ecosystem!<\/span><\/p>\n<p><span style=\"color: #0000ff;\"><a style=\"color: #0000ff;\" href=\"https:\/\/lightning.ai\/\"><u>Get started today<\/u><\/a><\/span>. We look forward to seeing what you #BuildWithLightning!<\/p>\n<p><i><span style=\"font-weight: 400;\">By Femi Ojo, Senior Support Engineer Lightning AI<\/span><\/i><\/p>\n","protected":false},"excerpt":{"rendered":"<p>What is Lightning AI (and Where Does Grid.ai Fit With It)? Lightning is a free, modular, distributed, and open-source framework for building Lightning Apps where the components you want to use interact together. How is Lightning AI Different from Grid.ai? Lighting AI is the evolution of Grid.ai. The Grid platform enables users to scale their<a class=\"excerpt-read-more\" href=\"https:\/\/lightning.ai\/pages\/community\/tutorial\/an-introduction-to-lightning-ai\/\" title=\"ReadAn Introduction to Lightning AI\">&#8230; Read more &raquo;<\/a><\/p>\n","protected":false},"author":16,"featured_media":5646215,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"footnotes":"","_links_to":"","_links_to_target":""},"categories":[41],"tags":[45,44],"glossary":[],"acf":{"hide_from_archive":null,"content_type":null,"code_embed":null,"code_shortcode":null,"custom_styles":null,"sticky":null,"additional_authors":null,"mathjax":null,"default_editor":null,"sections":null,"show_table_of_contents":null,"table_of_contents":null,"tabs":null,"tab_group":null},"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>An Introduction to Lightning AI - Lightning AI<\/title>\n<meta name=\"description\" content=\"Lightning AI is the next evolutionary stage after our introduction of PyTorch Lightning and Grid.ai, and aims to standardize AI.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/lightning.ai\/pages\/community\/tutorial\/an-introduction-to-lightning-ai\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"An Introduction to Lightning AI - Lightning AI\" \/>\n<meta property=\"og:description\" content=\"Lightning AI is the next evolutionary stage after our introduction of PyTorch Lightning and Grid.ai, and aims to standardize AI.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/lightning.ai\/pages\/community\/tutorial\/an-introduction-to-lightning-ai\/\" \/>\n<meta property=\"og:site_name\" content=\"Lightning AI\" \/>\n<meta property=\"article:published_time\" content=\"2022-06-27T13:54:09+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-09-10T15:12:03+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/lightningaidev.wpengine.com\/wp-content\/uploads\/2022\/06\/LightningAI-blog.png\" \/>\n\t<meta property=\"og:image:width\" content=\"2560\" \/>\n\t<meta property=\"og:image:height\" content=\"1280\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"JP Hennessy\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@LightningAI\" \/>\n<meta name=\"twitter:site\" content=\"@LightningAI\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"JP Hennessy\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/lightning.ai\/pages\/community\/tutorial\/an-introduction-to-lightning-ai\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/lightning.ai\/pages\/community\/tutorial\/an-introduction-to-lightning-ai\/\"},\"author\":{\"name\":\"JP Hennessy\",\"@id\":\"https:\/\/lightning.ai\/pages\/#\/schema\/person\/2518f4d5541f8e98016f6289169141a6\"},\"headline\":\"An Introduction to Lightning AI\",\"datePublished\":\"2022-06-27T13:54:09+00:00\",\"dateModified\":\"2022-09-10T15:12:03+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/lightning.ai\/pages\/community\/tutorial\/an-introduction-to-lightning-ai\/\"},\"wordCount\":1106,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/lightning.ai\/pages\/#organization\"},\"image\":{\"@id\":\"https:\/\/lightning.ai\/pages\/community\/tutorial\/an-introduction-to-lightning-ai\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/lightningaidev.wpengine.com\/wp-content\/uploads\/2022\/06\/LightningAI-blog.png\",\"keywords\":[\"lightning apps\",\"mlops\"],\"articleSection\":[\"Tutorials\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/lightning.ai\/pages\/community\/tutorial\/an-introduction-to-lightning-ai\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/lightning.ai\/pages\/community\/tutorial\/an-introduction-to-lightning-ai\/\",\"url\":\"https:\/\/lightning.ai\/pages\/community\/tutorial\/an-introduction-to-lightning-ai\/\",\"name\":\"An Introduction to Lightning AI - Lightning AI\",\"isPartOf\":{\"@id\":\"https:\/\/lightning.ai\/pages\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/lightning.ai\/pages\/community\/tutorial\/an-introduction-to-lightning-ai\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/lightning.ai\/pages\/community\/tutorial\/an-introduction-to-lightning-ai\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/lightningaidev.wpengine.com\/wp-content\/uploads\/2022\/06\/LightningAI-blog.png\",\"datePublished\":\"2022-06-27T13:54:09+00:00\",\"dateModified\":\"2022-09-10T15:12:03+00:00\",\"description\":\"Lightning AI is the next evolutionary stage after our introduction of PyTorch Lightning and Grid.ai, and aims to standardize AI.\",\"breadcrumb\":{\"@id\":\"https:\/\/lightning.ai\/pages\/community\/tutorial\/an-introduction-to-lightning-ai\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/lightning.ai\/pages\/community\/tutorial\/an-introduction-to-lightning-ai\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/lightning.ai\/pages\/community\/tutorial\/an-introduction-to-lightning-ai\/#primaryimage\",\"url\":\"https:\/\/lightningaidev.wpengine.com\/wp-content\/uploads\/2022\/06\/LightningAI-blog.png\",\"contentUrl\":\"https:\/\/lightningaidev.wpengine.com\/wp-content\/uploads\/2022\/06\/LightningAI-blog.png\",\"width\":2560,\"height\":1280,\"caption\":\"Lightning AI\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/lightning.ai\/pages\/community\/tutorial\/an-introduction-to-lightning-ai\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/lightning.ai\/pages\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"An Introduction to Lightning AI\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/lightning.ai\/pages\/#website\",\"url\":\"https:\/\/lightning.ai\/pages\/\",\"name\":\"Lightning AI\",\"description\":\"The platform for teams to build AI.\",\"publisher\":{\"@id\":\"https:\/\/lightning.ai\/pages\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/lightning.ai\/pages\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/lightning.ai\/pages\/#organization\",\"name\":\"Lightning AI\",\"url\":\"https:\/\/lightning.ai\/pages\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/lightning.ai\/pages\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/lightningaidev.wpengine.com\/wp-content\/uploads\/2023\/02\/image-17.png\",\"contentUrl\":\"https:\/\/lightningaidev.wpengine.com\/wp-content\/uploads\/2023\/02\/image-17.png\",\"width\":1744,\"height\":856,\"caption\":\"Lightning AI\"},\"image\":{\"@id\":\"https:\/\/lightning.ai\/pages\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/x.com\/LightningAI\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/lightning.ai\/pages\/#\/schema\/person\/2518f4d5541f8e98016f6289169141a6\",\"name\":\"JP Hennessy\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/lightning.ai\/pages\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/28ade268218ae45f723b0b62499f527a?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/28ade268218ae45f723b0b62499f527a?s=96&d=mm&r=g\",\"caption\":\"JP Hennessy\"},\"url\":\"https:\/\/lightning.ai\/pages\/author\/jplightning-ai\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"An Introduction to Lightning AI - Lightning AI","description":"Lightning AI is the next evolutionary stage after our introduction of PyTorch Lightning and Grid.ai, and aims to standardize AI.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/lightning.ai\/pages\/community\/tutorial\/an-introduction-to-lightning-ai\/","og_locale":"en_US","og_type":"article","og_title":"An Introduction to Lightning AI - Lightning AI","og_description":"Lightning AI is the next evolutionary stage after our introduction of PyTorch Lightning and Grid.ai, and aims to standardize AI.","og_url":"https:\/\/lightning.ai\/pages\/community\/tutorial\/an-introduction-to-lightning-ai\/","og_site_name":"Lightning AI","article_published_time":"2022-06-27T13:54:09+00:00","article_modified_time":"2022-09-10T15:12:03+00:00","og_image":[{"width":2560,"height":1280,"url":"https:\/\/lightningaidev.wpengine.com\/wp-content\/uploads\/2022\/06\/LightningAI-blog.png","type":"image\/png"}],"author":"JP Hennessy","twitter_card":"summary_large_image","twitter_creator":"@LightningAI","twitter_site":"@LightningAI","twitter_misc":{"Written by":"JP Hennessy","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/lightning.ai\/pages\/community\/tutorial\/an-introduction-to-lightning-ai\/#article","isPartOf":{"@id":"https:\/\/lightning.ai\/pages\/community\/tutorial\/an-introduction-to-lightning-ai\/"},"author":{"name":"JP Hennessy","@id":"https:\/\/lightning.ai\/pages\/#\/schema\/person\/2518f4d5541f8e98016f6289169141a6"},"headline":"An Introduction to Lightning AI","datePublished":"2022-06-27T13:54:09+00:00","dateModified":"2022-09-10T15:12:03+00:00","mainEntityOfPage":{"@id":"https:\/\/lightning.ai\/pages\/community\/tutorial\/an-introduction-to-lightning-ai\/"},"wordCount":1106,"commentCount":0,"publisher":{"@id":"https:\/\/lightning.ai\/pages\/#organization"},"image":{"@id":"https:\/\/lightning.ai\/pages\/community\/tutorial\/an-introduction-to-lightning-ai\/#primaryimage"},"thumbnailUrl":"https:\/\/lightningaidev.wpengine.com\/wp-content\/uploads\/2022\/06\/LightningAI-blog.png","keywords":["lightning apps","mlops"],"articleSection":["Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/lightning.ai\/pages\/community\/tutorial\/an-introduction-to-lightning-ai\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/lightning.ai\/pages\/community\/tutorial\/an-introduction-to-lightning-ai\/","url":"https:\/\/lightning.ai\/pages\/community\/tutorial\/an-introduction-to-lightning-ai\/","name":"An Introduction to Lightning AI - Lightning AI","isPartOf":{"@id":"https:\/\/lightning.ai\/pages\/#website"},"primaryImageOfPage":{"@id":"https:\/\/lightning.ai\/pages\/community\/tutorial\/an-introduction-to-lightning-ai\/#primaryimage"},"image":{"@id":"https:\/\/lightning.ai\/pages\/community\/tutorial\/an-introduction-to-lightning-ai\/#primaryimage"},"thumbnailUrl":"https:\/\/lightningaidev.wpengine.com\/wp-content\/uploads\/2022\/06\/LightningAI-blog.png","datePublished":"2022-06-27T13:54:09+00:00","dateModified":"2022-09-10T15:12:03+00:00","description":"Lightning AI is the next evolutionary stage after our introduction of PyTorch Lightning and Grid.ai, and aims to standardize AI.","breadcrumb":{"@id":"https:\/\/lightning.ai\/pages\/community\/tutorial\/an-introduction-to-lightning-ai\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/lightning.ai\/pages\/community\/tutorial\/an-introduction-to-lightning-ai\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/lightning.ai\/pages\/community\/tutorial\/an-introduction-to-lightning-ai\/#primaryimage","url":"https:\/\/lightningaidev.wpengine.com\/wp-content\/uploads\/2022\/06\/LightningAI-blog.png","contentUrl":"https:\/\/lightningaidev.wpengine.com\/wp-content\/uploads\/2022\/06\/LightningAI-blog.png","width":2560,"height":1280,"caption":"Lightning AI"},{"@type":"BreadcrumbList","@id":"https:\/\/lightning.ai\/pages\/community\/tutorial\/an-introduction-to-lightning-ai\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/lightning.ai\/pages\/"},{"@type":"ListItem","position":2,"name":"An Introduction to Lightning AI"}]},{"@type":"WebSite","@id":"https:\/\/lightning.ai\/pages\/#website","url":"https:\/\/lightning.ai\/pages\/","name":"Lightning AI","description":"The platform for teams to build AI.","publisher":{"@id":"https:\/\/lightning.ai\/pages\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/lightning.ai\/pages\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/lightning.ai\/pages\/#organization","name":"Lightning AI","url":"https:\/\/lightning.ai\/pages\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/lightning.ai\/pages\/#\/schema\/logo\/image\/","url":"https:\/\/lightningaidev.wpengine.com\/wp-content\/uploads\/2023\/02\/image-17.png","contentUrl":"https:\/\/lightningaidev.wpengine.com\/wp-content\/uploads\/2023\/02\/image-17.png","width":1744,"height":856,"caption":"Lightning AI"},"image":{"@id":"https:\/\/lightning.ai\/pages\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/x.com\/LightningAI"]},{"@type":"Person","@id":"https:\/\/lightning.ai\/pages\/#\/schema\/person\/2518f4d5541f8e98016f6289169141a6","name":"JP Hennessy","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/lightning.ai\/pages\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/28ade268218ae45f723b0b62499f527a?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/28ade268218ae45f723b0b62499f527a?s=96&d=mm&r=g","caption":"JP Hennessy"},"url":"https:\/\/lightning.ai\/pages\/author\/jplightning-ai\/"}]}},"_links":{"self":[{"href":"https:\/\/lightning.ai\/pages\/wp-json\/wp\/v2\/posts\/5646214"}],"collection":[{"href":"https:\/\/lightning.ai\/pages\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lightning.ai\/pages\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lightning.ai\/pages\/wp-json\/wp\/v2\/users\/16"}],"replies":[{"embeddable":true,"href":"https:\/\/lightning.ai\/pages\/wp-json\/wp\/v2\/comments?post=5646214"}],"version-history":[{"count":0,"href":"https:\/\/lightning.ai\/pages\/wp-json\/wp\/v2\/posts\/5646214\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lightning.ai\/pages\/wp-json\/wp\/v2\/media\/5646215"}],"wp:attachment":[{"href":"https:\/\/lightning.ai\/pages\/wp-json\/wp\/v2\/media?parent=5646214"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lightning.ai\/pages\/wp-json\/wp\/v2\/categories?post=5646214"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lightning.ai\/pages\/wp-json\/wp\/v2\/tags?post=5646214"},{"taxonomy":"glossary","embeddable":true,"href":"https:\/\/lightning.ai\/pages\/wp-json\/wp\/v2\/glossary?post=5646214"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}