Article complete

PyTorch Lightning Introduces Improved Lightning Logger Support for Weight & Biases and Neputne.ai

The Lightning Team recently announced that it has collaborated closely with Neptune.ai and Weight & Biases Teams to provide the best experience in terms of Logging and Experiment Tracking.

Purple background with the PyTorch Lightning logo prominently displayed in the center.

Key takeaways

  • PyTorch Lightning has enhanced its collaboration with Neptune.ai and Weight & Biases for improved logging and experiment tracking.
  • The release of PyTorch Lightning v1.5 significantly boosts reliability for AI organisations and research labs.
  • New features in Lightning 1.5 include methods that enhance logging capabilities, enabling detailed monitoring of model weights.
  • The latest updates allow for tracking of gradients, parameter histograms, and model topologies directly within the LightningModule.
  • The introduction of log_table support via WandbLogger enhances the overall logging experience for users.

Takeaways drafted with AI from the article text.

The Lightning Team recently announced that it has collaborated closely with Neptune.ai and Weight & Biases Teams to provide the best experience in terms of Logging and Experiment Tracking. The launch of PyTorch Lightning v1.5 marked a major leap in reliability to support the increasingly complex demands of the leading AI organizations and prestigious research labs that rely on Lightning to develop and deploy AI at scale. To better support the fast-growing community, PyTorch Lightning aims at becoming the simplest, most flexible framework for expediting any kind of deep learning research to production.

Image Source: PyTorch Lightning
Image Source: PyTorch Lightning

But the most exciting feature is the support of log_table directly though the WandbLogger.

Image Source: PyTorch Lightning
Image Source: PyTorch Lightning

Below is an example of how W&B tables can be used to provide insightful reports.

Image Source: PyTorch Lightning
Image Source: PyTorch Lightning

With the v1.5 release, NeptuneLogger is revamped and relies on the new improved neptune-client.

To utilize the NeptuneLogger with Lightning, simply do the following:

Image Source: PyTorch Lightning
Image Source: PyTorch Lightning

Using the NeptuneLogger, you can log images, texts, and artifacts.

Image Source: PyTorch Lightning
Image Source: PyTorch Lightning

And using the log_model_summary method, you can track the summary of the parameters of your models.

Image Source: PyTorch Lightning
Image Source: PyTorch Lightning

The Lightning Team seems more than ever committed to provide users with the best experience possible to anyone doing optimization with PyTorch and the PyTorch Lightning API being already stable, breaking changes will be minimal. You can learn more though the WandbLogger documentation and the NeptuneLogger documentation.

Published Updated

Spotted an error? Tell our editors. Read our editorial standards and corrections.