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: huggingface/pytorch-image-models
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v1.0.25
Choose a base ref
...
head repository: huggingface/pytorch-image-models
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v1.0.26
Choose a head ref
  • 15 commits
  • 23 files changed
  • 7 contributors

Commits on Feb 25, 2026

  1. fix: replace bare except clauses with except Exception

    Bare `except:` catches BaseException including KeyboardInterrupt and
    SystemExit. Replaced 5 instances with `except Exception:`.
    haosenwang1018 authored and rwightman committed Feb 25, 2026
    Configuration menu
    Copy the full SHA
    2845814 View commit details
    Browse the repository at this point in the history

Commits on Feb 26, 2026

  1. Configuration menu
    Copy the full SHA
    f4f4cfc View commit details
    Browse the repository at this point in the history

Commits on Mar 5, 2026

  1. Enhance SGDP optimizer with caution parameter (#2675)

    * Enhance SGDP optimizer with caution parameter
    
    Added 'caution' parameter to SGDP optimizer for enhanced functionality.
    
    * Add csgdp optimizer to the optimizer factory
    
    * Update the link to the permanent URL of the accepted paper
    
    Fix reference link for Spherical Cautious Optimizers
    
    * Add tests for csgdp and csgdw optimizers
    
    * Fix:Clone buffer for Nesterov momentum update
    
    Clone the buffer before using it for the update.
    Yuan-Jinghui authored Mar 5, 2026
    Configuration menu
    Copy the full SHA
    85bb330 View commit details
    Browse the repository at this point in the history

Commits on Mar 8, 2026

  1. Configuration menu
    Copy the full SHA
    fa0d31e View commit details
    Browse the repository at this point in the history

Commits on Mar 9, 2026

  1. Configuration menu
    Copy the full SHA
    7b439f4 View commit details
    Browse the repository at this point in the history
  2. Further refine weights_only=True, add safe globals for argparse Names…

    …pace to avoid failures on timm train checkpoints
    rwightman committed Mar 9, 2026
    Configuration menu
    Copy the full SHA
    a346c76 View commit details
    Browse the repository at this point in the history
  3. fix: branch Hiera MaskUnitAttention into 4D global path for FlashAtte…

    …ntion dispatch
    
    The global attention path in MaskUnitAttention.forward() used a 5D tensor
    reshape with num_windows=1 as a shortcut. This caused PyTorch SDPA to
    silently fall back from efficient backends (FlashAttention, Memory-Efficient,
    CuDNN) to the O(N^2) math backend, as all efficient kernels require 4D
    contiguous tensors.
    
    At high resolutions (e.g. 2048x2048 -> 16384 tokens), the math backend
    materializes the full N*N attention matrix, causing catastrophic VRAM usage
    and OOM on consumer GPUs.
    
    Changes:
    - Branch forward() into windowed (5D, unchanged) and global (4D) paths
    - Global path reshapes directly to [B, N, 3, heads, head_dim] -> 4D QKV
    - Adjust q_stride pooling dim from amax(dim=3) to amax(dim=2) for global
    - Add .contiguous() on q, k, v to guarantee FlashAttention compatibility
    - Split output transpose: transpose(1,3) for windowed, transpose(1,2) for global
    Your Name authored and rwightman committed Mar 9, 2026
    Configuration menu
    Copy the full SHA
    0c90043 View commit details
    Browse the repository at this point in the history

Commits on Mar 10, 2026

  1. Update version.py

    rwightman authored Mar 10, 2026
    Configuration menu
    Copy the full SHA
    a94c10f View commit details
    Browse the repository at this point in the history

Commits on Mar 13, 2026

  1. Configuration menu
    Copy the full SHA
    3e8def8 View commit details
    Browse the repository at this point in the history

Commits on Mar 16, 2026

  1. Configuration menu
    Copy the full SHA
    61a26c7 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7a2f49b View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    52e6d19 View commit details
    Browse the repository at this point in the history

Commits on Mar 17, 2026

  1. Configuration menu
    Copy the full SHA
    8b4239c View commit details
    Browse the repository at this point in the history

Commits on Mar 18, 2026

  1. Configuration menu
    Copy the full SHA
    6e3fdda View commit details
    Browse the repository at this point in the history

Commits on Mar 23, 2026

  1. Release 1.0.26

    rwightman committed Mar 23, 2026
    Configuration menu
    Copy the full SHA
    8d0f79e View commit details
    Browse the repository at this point in the history
Loading