    Skip to content

      Navigation Menu

            Sign in Appearance settings
                * Platform
                        + AI CODE CREATION
                            o GitHub Copilot Write better code with AI
                            o GitHub Copilot app Direct agents from issue to merge
                            o MCP Registry Integrate external tools
                        + DEVELOPER WORKFLOWS
                            o Actions Automate any workflow
                            o Codespaces Instant dev environments
                            o Issues Plan and track work
                            o Code Review Manage code changes
                            o Code Quality Enforce quality at merge
                        + APPLICATION SECURITY
                            o GitHub Advanced Security Find and fix vulnerabilities
                            o Code security Secure your code as you build
                            o Secret protection Stop leaks before they start
                        + EXPLORE
                            o Why GitHub
                            o Documentation
                            o Blog
                            o Changelog
                            o Marketplace
                      View all features
                * Solutions
                        + BY COMPANY SIZE
                            o Enterprises
                            o Small and medium teams
                            o Startups
                            o Nonprofits
                        + BY USE CASE
                            o App Modernization
                            o DevSecOps
                            o DevOps
                            o CI/CD
                            o View all use cases
                        + BY INDUSTRY
                            o Healthcare
                            o Financial services
                            o Manufacturing
                            o Government
                            o View all industries
                      View all solutions
                * Resources
                        + EXPLORE BY TOPIC
                            o AI
                            o Software Development
                            o DevOps
                            o Security
                            o View all topics
                        + EXPLORE BY TYPE
                            o Customer stories
                            o Events & webinars
                            o Ebooks & reports
                            o Business insights
                            o GitHub Skills
                        + SUPPORT & SERVICES
                            o Documentation
                            o Customer support
                            o Community forum
                            o Trust center
                            o Partners
                      View all resources
                * Open Source
                        + COMMUNITY
                            o GitHub Sponsors Fund open source developers
                        + PROGRAMS
                            o Security Lab
                            o Maintainer Community
                            o Accelerator
                            o GitHub Stars
                            o Archive Program
                        + REPOSITORIES
                            o Topics
                            o Trending
                            o Collections
                * Enterprise
                        + ENTERPRISE SOLUTIONS
                            o Enterprise platform AI-powered developer platform
                        + AVAILABLE ADD-ONS
                            o GitHub Advanced Security Enterprise-grade security features
                            o Copilot for Business Enterprise-grade AI features
                            o Premium Support Enterprise-grade 24/7 support
              * Pricing
                Type / to search
                Sign in
              Sign up Appearance settings
      You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert

              Uh oh!

              There was an error while loading. Please reload this page.

              wandb / wandb Public
              * Notifications You must be signed in to change notification settings
              * Fork 881
                * Star 11.2k
          * Code
          * Issues 703
          * Pull requests 233
          * Actions
          * Projects
          * Security and quality 0
          * Insights
          Additional navigation options
                  * Code
                  * Issues
                  * Pull requests
                  * Actions
                  * Projects
                  * Security and quality
                  * Insights
                                              main
                                          Branches Tags
                                            Go to file
                                        Code
                                          Open more actions menu

                                        Folders and files

                                          Name                             Name                               Last commit message    Last commit date
                                            Latest commit                
                                                                         
                                                History                  
                                                                         
                                                9,631 Commits            
                                                  9,631 Commits          
                                                  .circleci                        .circleci                                                         
                                                  .github                          .github                                                           
                                                  .vscode                          .vscode                                                           
                                                  assets                           assets                                                            
                                                  core                             core                                                              
                                                  docs                             docs                                                              
                                                  experimental                     experimental                                                      
                                                  parquet-rust-wrapper             parquet-rust-wrapper                                              
                                                  requirements                     requirements                                                      
                                                  tests                            tests                                                             
                                                  tools                            tools                                                             
                                                  wandb                            wandb                                                             
                                                  xpu                              xpu                                                               
                                                  .bumpversion.cfg                 .bumpversion.cfg                                                  
                                                  .clang-format                    .clang-format                                                     
                                                  .codecov.yml                     .codecov.yml                                                      
                                                  .git-blame-ignore-revs           .git-blame-ignore-revs                                            
                                                  .gitattributes                   .gitattributes                                                    
                                                  .gitignore                       .gitignore                                                        
                                                  .pre-commit-config.yaml          .pre-commit-config.yaml                                           
                                                  BREAKING.md                      BREAKING.md                                                       
                                                  CHANGELOG.md                     CHANGELOG.md                                                      
                                                  CHANGELOG.unreleased.md          CHANGELOG.unreleased.md                                           
                                                  CODE_OF_CONDUCT.md               CODE_OF_CONDUCT.md                                                
                                                  CONTRIBUTING.md                  CONTRIBUTING.md                                                   
                                                  LICENSE                          LICENSE                                                           
                                                  README.md                        README.md                                                         
                                                  SECURITY.md                      SECURITY.md                                                       
                                                  buf.yaml                         buf.yaml                                                          
                                                  hatch.toml                       hatch.toml                                                        
                                                  hatch_build.py                   hatch_build.py                                                    
                                                  noxfile.py                       noxfile.py                                                        
                                                  package_readme.md                package_readme.md                                                 
                                                  pyproject.toml                   pyproject.toml                                                    
                                            View all files               
                                          

                                              Repository files navigation

                                                * 
                                                * README
                                                * Code of conduct
                                                * Contributing
                                                * MIT license
                                                * Security
                                                More items

                                              Use W&B to build better models faster. Track and visualize all the pieces of your machine learning pipeline, from datasets to production machine learning models. Get started with W&B today, sign up for a W&B account!


                                              Building an LLM app? Track, debug, evaluate, and monitor LLM apps with Weave, our new suite of tools for GenAI.

                                                Documentation

                                              See the W&B Developer Guide and API Reference Guide for a full technical description of the W&B platform.

                                                Quickstart

                                              Install W&B to track, visualize, and manage machine learning experiments of any size.

                                                Install the wandb library

                                                pip install wandb

                                                Sign up and create an API key

                                              Sign up for a W&B account. Create a new API key at wandb.ai/settings and store it securely. Optionally, use the wandb login CLI to configure your API key on your machine. You can skip this step -- W&B will prompt you to create an API key the first time you use it.

                                              Note: API keys can only be viewed once when created. Store your API key in a secure location like a password manager or environment variable.

                                                Create a machine learning training experiment

                                              In your Python script or notebook, initialize a W&B run with wandb.init(). Specify hyperparameters and log metrics and other information to W&B.

                                                import wandb
                                                
                                                # Project that the run is recorded to
                                                project = "my-awesome-project"
                                                
                                                # Dictionary with hyperparameters
                                                config = {"epochs": 1337, "lr": 3e-4}
                                                
                                                # The `with` syntax marks the run as finished upon exiting the `with` block,
                                                # and it marks the run "failed" if there's an exception.
                                                #
                                                # In a notebook, it may be more convenient to write `run = wandb.init()`
                                                # and manually call `run.finish()` instead of using a `with` block.
                                                with wandb.init(project=project, config=config) as run:
                                                    # Training code here
                                                
                                                    # Log values to W&B with run.log()
                                                    run.log({"accuracy": 0.9, "loss": 0.1})

                                              Visit wandb.ai/home to view recorded metrics such as accuracy and loss and how they changed during each training step. Each run object appears in the Runs column with generated names.

                                                Integrations

                                              W&B integrates with popular ML frameworks and libraries making it fast and easy to set up experiment tracking and data versioning inside existing projects.

                                              For developers adding W&B to a new framework, follow the W&B Developer Guide.

                                                W&B Hosting Options

                                              Weights & Biases is available in the cloud or installed on your private infrastructure. Set up a W&B Server in a production environment in one of three ways:

                                               1. Multi-tenant Cloud: Fully managed platform deployed in W&B’s Google Cloud Platform (GCP) account in GCP’s North America regions.
                                               2. Dedicated Cloud: Single-tenant, fully managed platform deployed in W&B’s AWS, GCP, or Azure cloud accounts. Each Dedicated Cloud instance has its own isolated network, compute and storage from other W&B Dedicated Cloud instances.
                                               3. Self-Managed: Deploy W&B Server on your AWS, GCP, or Azure cloud account or within your on-premises infrastructure.

                                              See the Hosting documentation in the W&B Developer Guide for more information.

                                                Python Version Support

                                              We are committed to supporting our minimum required Python version for at least six months after its official end-of-life (EOL) date, as defined by the Python Software Foundation. You can find a list of Python EOL dates here.

                                              When we discontinue support for a Python version, we will increment the library’s minor version number to reflect this change.

                                                Contribution guidelines

                                              Weights & Biases ❤️ open source, and we welcome contributions from the community! See the Contribution Guide and the docs/ directory for more information on the development workflow and the internals of the wandb library. For wandb bugs and feature requests, visit GitHub Issues or contact support@wandb.com.

                                                W&B Community

                                              Be a part of the growing W&B Community and interact with the W&B team in our Discord. Stay connected with the latest AI updates and tutorials with W&B Fully Connected.

                                                License

                                              MIT License

                                        About

                                        The AI developer platform. Use Weights & Biases to train and fine-tune models, and manage models from experimentation to production.

                                          wandb.ai

                                        Topics

                                          aicollaborationdata-sciencedata-versioningdeep-learningexperiment-trackhyperparameter-optimizationhyperparameter-searchhyperparameter-tuningjaxkerasmachine-learningml-platformmlopsmodel-versioningpytorchreinforcement-learningreproducibilitytensorflow

                                        Resources

                                          Readme
                                          MIT license

                                        Code of conduct

                                          Code of conduct

                                        Contributing

                                          Contributing

                                        Security policy

                                          Security policy
                                          Activity
                                          Custom properties

                                        Stars

                                          11.2k stars

                                        Watchers

                                          62 watching

                                        Forks

                                          881 forks
                                          Report repository

                                        Releases

                                        Used by

                                        Contributors

                                        Languages

    Footer

        © 2026 GitHub, Inc.

      Footer navigation

        * Terms
        * Privacy
        * Security
        * Status
        * Community
        * Docs
        * Contact
        * Manage cookies
        * Do not share my personal information
      You can’t perform that action at this time.