Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: SwanHubX/SwanLab
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.6.6
Choose a base ref
...
head repository: SwanHubX/SwanLab
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.6.7
Choose a head ref
  • 12 commits
  • 34 files changed
  • 4 contributors

Commits on Jul 9, 2025

  1. fix: resume parameter handling and add env var tests (#1157)

    Moved the defaulting of the 'resume' parameter to later in the initialization process to ensure correct precedence. Added unit tests to verify that the resume parameter can be set via environment variable and that explicit arguments override environment variables.
    SAKURA-CAT authored Jul 9, 2025
    Configuration menu
    Copy the full SHA
    e35f2cc View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e59e070 View commit details
    Browse the repository at this point in the history

Commits on Jul 10, 2025

  1. Configuration menu
    Copy the full SHA
    dd46424 View commit details
    Browse the repository at this point in the history
  2. feat: match online mode (#1161)

    * Add support for 'online' mode as alias for 'cloud'
    
    Updated the documentation to clarify that 'online' is an alias for 'cloud' mode and removed 'online' from the MODES Literal. Added a test to ensure that initializing with mode='online' results in 'cloud' mode being set.
    
    ---------
    
    Co-authored-by: Kang Li <cunykang@gmail.com>
    Zeyi-Lin and SAKURA-CAT authored Jul 10, 2025
    Configuration menu
    Copy the full SHA
    6cf801c View commit details
    Browse the repository at this point in the history

Commits on Jul 11, 2025

  1. Configuration menu
    Copy the full SHA
    826554f View commit details
    Browse the repository at this point in the history
  2. Handle backup write errors and improve timer cancel (#1165)

    * Handle backup write errors and improve timer cancel
    
    Added error handling for backup file write failures in porter/__init__.py to prevent crashes when backup mode is not enabled. Updated MonitorCron.cancel in run/helper.py to join the timer thread after cancellation for better thread management.
    
    * Fix monitor condition and update test epochs
    
    Corrected the logic for enabling system monitoring in SwanLabRun by changing the condition from 'or' to 'and'. Increased the number of epochs in the test_sync unit test to 10000 for more extensive testing.
    SAKURA-CAT authored Jul 11, 2025
    Configuration menu
    Copy the full SHA
    4121870 View commit details
    Browse the repository at this point in the history

Commits on Jul 14, 2025

  1. Refactor section assignment logic in SwanLabKey (#1172)

    Updated the logic for assigning section names and types based on key and section_type. Now, PUBLIC and CUSTOM types use the prefix before a slash in the key as the section name, and CUSTOM type is treated as PUBLIC. SYSTEM, PINNED, and HIDDEN types do not assign a section name.
    SAKURA-CAT authored Jul 14, 2025
    Configuration menu
    Copy the full SHA
    d0c76e8 View commit details
    Browse the repository at this point in the history

Commits on Jul 15, 2025

  1. fix: error key usage in SwanLabKey class (#1174)

    * Fix error key usage in SwanLabKey class
    
    Corrected the keys used to extract 'expected' and 'got' values from the error dictionary to 'excepted' and 'data_class', ensuring proper error handling in the SwanLabKey class.
    
    * Update error field names in key handling and tests
    
    Changed error dictionary keys from 'expected' and 'got' to 'excepted' and 'data_class' in both SwanLabKey and related unit tests for consistency. Updated error message assertions to reflect new field names.
    SAKURA-CAT authored Jul 15, 2025
    Configuration menu
    Copy the full SHA
    34c7f97 View commit details
    Browse the repository at this point in the history

Commits on Jul 17, 2025

  1. feat: swanlab.Video (#765)

    Co-authored-by: Kang Li <cunykang@gmail.com>
    Zeyi-Lin and SAKURA-CAT authored Jul 17, 2025
    Configuration menu
    Copy the full SHA
    4e0bd54 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e0b3ea7 View commit details
    Browse the repository at this point in the history
  3. Update project and experiment name length limits (#1187)

    Increased project name max length to 100 and experiment name max length to 250 in formatter.py. Updated related test cases to reflect new limits and allowed character set for project names.
    SAKURA-CAT authored Jul 17, 2025
    Configuration menu
    Copy the full SHA
    097b5d4 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    ba0bee4 View commit details
    Browse the repository at this point in the history
Loading