Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use current year in license #2825

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .github/bin/gen_docker_matrix.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2022 MosaicML Composer authors
# Copyright 2022-2024 MosaicML Composer authors
# SPDX-License-Identifier: Apache-2.0

"""Reads in the Docker build matrix and generates a GHA job matrix."""
Expand Down
2 changes: 1 addition & 1 deletion .github/mcli/mcli_pytest.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2022 MosaicML Composer authors
# Copyright 2022-2024 MosaicML Composer authors
# SPDX-License-Identifier: Apache-2.0

"""Run pytest using MCLI."""
Expand Down
3 changes: 2 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -75,14 +75,15 @@ repos:
- id: mixed-line-ending
- id: trailing-whitespace
- repo: https://github.com/Lucas-C/pre-commit-hooks
rev: v1.1.13
rev: v1.5.0
hooks:
- id: insert-license
args:
- --license-filepath
- .ci/FILE_HEADER
- --comment-style
- "#"
- --use-current-year
types: [python]
exclude: 'composer\/trainer\/activation_checkpointing.py'

Expand Down
2 changes: 1 addition & 1 deletion composer/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2022 MosaicML Composer authors
# Copyright 2022-2024 MosaicML Composer authors
# SPDX-License-Identifier: Apache-2.0

"""Some key classes are available directly in the ``composer`` namespace."""
Expand Down
2 changes: 1 addition & 1 deletion composer/__main__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2022 MosaicML Composer authors
# Copyright 2022-2024 MosaicML Composer authors
# SPDX-License-Identifier: Apache-2.0

"""Runs the Composer CLI."""
Expand Down
2 changes: 1 addition & 1 deletion composer/_version.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2022 MosaicML Composer authors
# Copyright 2022-2024 MosaicML Composer authors
# SPDX-License-Identifier: Apache-2.0

"""The Composer Version."""
Expand Down
2 changes: 1 addition & 1 deletion composer/algorithms/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2022 MosaicML Composer authors
# Copyright 2022-2024 MosaicML Composer authors
# SPDX-License-Identifier: Apache-2.0

"""Efficiency methods for training.
Expand Down
2 changes: 1 addition & 1 deletion composer/algorithms/alibi/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2022 MosaicML Composer authors
# Copyright 2022-2024 MosaicML Composer authors
# SPDX-License-Identifier: Apache-2.0

"""ALiBi (Attention with Linear Biases; `Press et al, 2021 <https://arxiv.org/abs/2108.12409>`_) dispenses with position
Expand Down
2 changes: 1 addition & 1 deletion composer/algorithms/alibi/alibi.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2022 MosaicML Composer authors
# Copyright 2022-2024 MosaicML Composer authors
# SPDX-License-Identifier: Apache-2.0

"""Core ALiBi classes and functions."""
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2022 MosaicML Composer authors
# Copyright 2022-2024 MosaicML Composer authors
# SPDX-License-Identifier: Apache-2.0

# Import files that add functions to the `policy_registry` registry in order to actually
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2022 MosaicML Composer authors
# Copyright 2022-2024 MosaicML Composer authors
# SPDX-License-Identifier: Apache-2.0

import math
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2022 MosaicML Composer authors
# Copyright 2022-2024 MosaicML Composer authors
# SPDX-License-Identifier: Apache-2.0

from types import MethodType
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2022 MosaicML Composer authors
# Copyright 2022-2024 MosaicML Composer authors
# SPDX-License-Identifier: Apache-2.0

import inspect
Expand Down
2 changes: 1 addition & 1 deletion composer/algorithms/augmix/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2022 MosaicML Composer authors
# Copyright 2022-2024 MosaicML Composer authors
# SPDX-License-Identifier: Apache-2.0

"""AugMix (`Hendrycks et al, 2020 <http://arxiv.org/abs/1912.02781>`_) creates multiple independent realizations of
Expand Down
2 changes: 1 addition & 1 deletion composer/algorithms/augmix/augmix.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2022 MosaicML Composer authors
# Copyright 2022-2024 MosaicML Composer authors
# SPDX-License-Identifier: Apache-2.0

"""Core AugMix classes and functions."""
Expand Down
2 changes: 1 addition & 1 deletion composer/algorithms/blurpool/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2022 MosaicML Composer authors
# Copyright 2022-2024 MosaicML Composer authors
# SPDX-License-Identifier: Apache-2.0

"""`BlurPool <http://proceedings.mlr.press/v97/zhang19a.html>`_ adds anti-aliasing filters to convolutional layers to
Expand Down
2 changes: 1 addition & 1 deletion composer/algorithms/blurpool/blurpool.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2022 MosaicML Composer authors
# Copyright 2022-2024 MosaicML Composer authors
# SPDX-License-Identifier: Apache-2.0

from __future__ import annotations
Expand Down
2 changes: 1 addition & 1 deletion composer/algorithms/blurpool/blurpool_layers.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2022 MosaicML Composer authors
# Copyright 2022-2024 MosaicML Composer authors
# SPDX-License-Identifier: Apache-2.0

# type: ignore
Expand Down
2 changes: 1 addition & 1 deletion composer/algorithms/channels_last/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2022 MosaicML Composer authors
# Copyright 2022-2024 MosaicML Composer authors
# SPDX-License-Identifier: Apache-2.0

"""Changes the memory format of the model to ``torch.channels_last``.
Expand Down
2 changes: 1 addition & 1 deletion composer/algorithms/channels_last/channels_last.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2022 MosaicML Composer authors
# Copyright 2022-2024 MosaicML Composer authors
# SPDX-License-Identifier: Apache-2.0

"""ChannelsLast algorithm."""
Expand Down
2 changes: 1 addition & 1 deletion composer/algorithms/colout/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2022 MosaicML Composer authors
# Copyright 2022-2024 MosaicML Composer authors
# SPDX-License-Identifier: Apache-2.0

"""Drops a fraction of the rows and columns of an input image. If the fraction of rows/columns dropped isn't too large,
Expand Down
2 changes: 1 addition & 1 deletion composer/algorithms/colout/colout.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2022 MosaicML Composer authors
# Copyright 2022-2024 MosaicML Composer authors
# SPDX-License-Identifier: Apache-2.0

"""Core ColOut classes and functions."""
Expand Down
2 changes: 1 addition & 1 deletion composer/algorithms/cutmix/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2022 MosaicML Composer authors
# Copyright 2022-2024 MosaicML Composer authors
# SPDX-License-Identifier: Apache-2.0

"""`CutMix <https://arxiv.org/abs/1905.04899>`_ trains the network on non-overlapping combinations of pairs of examples
Expand Down
2 changes: 1 addition & 1 deletion composer/algorithms/cutmix/cutmix.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2022 MosaicML Composer authors
# Copyright 2022-2024 MosaicML Composer authors
# SPDX-License-Identifier: Apache-2.0

"""Core CutMix classes and functions."""
Expand Down
2 changes: 1 addition & 1 deletion composer/algorithms/cutout/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2022 MosaicML Composer authors
# Copyright 2022-2024 MosaicML Composer authors
# SPDX-License-Identifier: Apache-2.0

"""`Cutout <https://arxiv.org/abs/1708.04552>`_ is a data augmentation technique that works by masking out one or more
Expand Down
2 changes: 1 addition & 1 deletion composer/algorithms/cutout/cutout.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2022 MosaicML Composer authors
# Copyright 2022-2024 MosaicML Composer authors
# SPDX-License-Identifier: Apache-2.0

"""Core CutOut classes and functions."""
Expand Down
2 changes: 1 addition & 1 deletion composer/algorithms/ema/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2022 MosaicML Composer authors
# Copyright 2022-2024 MosaicML Composer authors
# SPDX-License-Identifier: Apache-2.0

"""Exponential moving average maintains a moving average of model parameters and uses these at test time.
Expand Down
2 changes: 1 addition & 1 deletion composer/algorithms/ema/ema.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2022 MosaicML Composer authors
# Copyright 2022-2024 MosaicML Composer authors
# SPDX-License-Identifier: Apache-2.0

"""Core Exponential Moving Average (EMA) classes and functions."""
Expand Down
2 changes: 1 addition & 1 deletion composer/algorithms/factorize/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2022 MosaicML Composer authors
# Copyright 2022-2024 MosaicML Composer authors
# SPDX-License-Identifier: Apache-2.0

"""Decomposes linear operators into pairs of smaller linear operators.
Expand Down
2 changes: 1 addition & 1 deletion composer/algorithms/factorize/factorize.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2022 MosaicML Composer authors
# Copyright 2022-2024 MosaicML Composer authors
# SPDX-License-Identifier: Apache-2.0

from __future__ import annotations
Expand Down
2 changes: 1 addition & 1 deletion composer/algorithms/factorize/factorize_core.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2022 MosaicML Composer authors
# Copyright 2022-2024 MosaicML Composer authors
# SPDX-License-Identifier: Apache-2.0

import dataclasses
Expand Down
2 changes: 1 addition & 1 deletion composer/algorithms/factorize/factorize_modules.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2022 MosaicML Composer authors
# Copyright 2022-2024 MosaicML Composer authors
# SPDX-License-Identifier: Apache-2.0

from __future__ import annotations
Expand Down
2 changes: 1 addition & 1 deletion composer/algorithms/fused_layernorm/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2022 MosaicML Composer authors
# Copyright 2022-2024 MosaicML Composer authors
# SPDX-License-Identifier: Apache-2.0

"""Replaces all instances of `torch.nn.LayerNorm` with a `apex.normalization.fused_layer_norm.FusedLayerNorm
Expand Down
2 changes: 1 addition & 1 deletion composer/algorithms/fused_layernorm/fused_layernorm.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2022 MosaicML Composer authors
# Copyright 2022-2024 MosaicML Composer authors
# SPDX-License-Identifier: Apache-2.0

# Copyright 2022 MosaicML. All Rights Reserved.
Expand Down
2 changes: 1 addition & 1 deletion composer/algorithms/gated_linear_units/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2022 MosaicML Composer authors
# Copyright 2022-2024 MosaicML Composer authors
# SPDX-License-Identifier: Apache-2.0

"""Replaces the Linear layers in the feed-forward network with `Gated Linear Units <https://arxiv.org/abs/2002.05202>`_.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2022 MosaicML Composer authors
# Copyright 2022-2024 MosaicML Composer authors
# SPDX-License-Identifier: Apache-2.0

from typing import Callable
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2022 MosaicML Composer authors
# Copyright 2022-2024 MosaicML Composer authors
# SPDX-License-Identifier: Apache-2.0

# Copyright 2022 MosaicML. All Rights Reserved.
Expand Down
2 changes: 1 addition & 1 deletion composer/algorithms/ghost_batchnorm/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2022 MosaicML Composer authors
# Copyright 2022-2024 MosaicML Composer authors
# SPDX-License-Identifier: Apache-2.0

"""Replaces batch normalization modules with `Ghost Batch Normalization <https://arxiv.org/abs/1705.08741>`_ modules
Expand Down
2 changes: 1 addition & 1 deletion composer/algorithms/ghost_batchnorm/ghost_batchnorm.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2022 MosaicML Composer authors
# Copyright 2022-2024 MosaicML Composer authors
# SPDX-License-Identifier: Apache-2.0

import logging
Expand Down
2 changes: 1 addition & 1 deletion composer/algorithms/gradient_clipping/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2022 MosaicML Composer authors
# Copyright 2022-2024 MosaicML Composer authors
# SPDX-License-Identifier: Apache-2.0

"""Clips all gradients in a model based on their values, their norms,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2022 MosaicML Composer authors
# Copyright 2022-2024 MosaicML Composer authors
# SPDX-License-Identifier: Apache-2.0

"""Core gradient clipping classes and functions."""
Expand Down
2 changes: 1 addition & 1 deletion composer/algorithms/gyro_dropout/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2022 MosaicML Composer authors
# Copyright 2022-2024 MosaicML Composer authors
# SPDX-License-Identifier: Apache-2.0

"""Replaces all instances of `torch.nn.Dropout` with a `GyroDropout`.
Expand Down
2 changes: 1 addition & 1 deletion composer/algorithms/gyro_dropout/gyro_dropout.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2022 MosaicML Composer authors
# Copyright 2022-2024 MosaicML Composer authors
# SPDX-License-Identifier: Apache-2.0

# Written by Gihyun Park, Junyeol Lee, and Jiwon Seo
Expand Down
2 changes: 1 addition & 1 deletion composer/algorithms/label_smoothing/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2022 MosaicML Composer authors
# Copyright 2022-2024 MosaicML Composer authors
# SPDX-License-Identifier: Apache-2.0

"""Shrinks targets towards a uniform distribution to counteract label noise. Introduced in `Rethinking the Inception
Expand Down
2 changes: 1 addition & 1 deletion composer/algorithms/label_smoothing/label_smoothing.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2022 MosaicML Composer authors
# Copyright 2022-2024 MosaicML Composer authors
# SPDX-License-Identifier: Apache-2.0

"""Core Label Smoothing classes and functions."""
Expand Down
2 changes: 1 addition & 1 deletion composer/algorithms/layer_freezing/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2022 MosaicML Composer authors
# Copyright 2022-2024 MosaicML Composer authors
# SPDX-License-Identifier: Apache-2.0

"""Progressively freeze the layers of the network during training, starting with the earlier layers.
Expand Down
2 changes: 1 addition & 1 deletion composer/algorithms/layer_freezing/layer_freezing.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2022 MosaicML Composer authors
# Copyright 2022-2024 MosaicML Composer authors
# SPDX-License-Identifier: Apache-2.0

"""Core Layer Freezing classes and functions."""
Expand Down
2 changes: 1 addition & 1 deletion composer/algorithms/low_precision_groupnorm/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2022 MosaicML Composer authors
# Copyright 2022-2024 MosaicML Composer authors
# SPDX-License-Identifier: Apache-2.0

"""Replaces all instances of :class:`torch.nn.GroupNorm` with a low precision :class:`torch.nn.GroupNorm` (either float16 or bfloat16).
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2022 MosaicML Composer authors
# Copyright 2022-2024 MosaicML Composer authors
# SPDX-License-Identifier: Apache-2.0

"""Low Precision GroupNorm."""
Expand Down
2 changes: 1 addition & 1 deletion composer/algorithms/low_precision_layernorm/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2022 MosaicML Composer authors
# Copyright 2022-2024 MosaicML Composer authors
# SPDX-License-Identifier: Apache-2.0

"""Replaces all instances of :class:`torch.nn.LayerNorm` with a low precision :class:`torch.nn.LayerNorm` (either float16 or bfloat16).
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2022 MosaicML Composer authors
# Copyright 2022-2024 MosaicML Composer authors
# SPDX-License-Identifier: Apache-2.0

"""Low Precision LayerNorm."""
Expand Down
2 changes: 1 addition & 1 deletion composer/algorithms/mixup/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2022 MosaicML Composer authors
# Copyright 2022-2024 MosaicML Composer authors
# SPDX-License-Identifier: Apache-2.0

"""Create new samples using convex combinations of pairs of samples.
Expand Down
2 changes: 1 addition & 1 deletion composer/algorithms/mixup/mixup.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2022 MosaicML Composer authors
# Copyright 2022-2024 MosaicML Composer authors
# SPDX-License-Identifier: Apache-2.0

"""Core MixUp classes and functions."""
Expand Down
2 changes: 1 addition & 1 deletion composer/algorithms/no_op_model/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2022 MosaicML Composer authors
# Copyright 2022-2024 MosaicML Composer authors
# SPDX-License-Identifier: Apache-2.0

"""Replaces model with a dummy model of type :class:`NoOpModelClass`.
Expand Down
2 changes: 1 addition & 1 deletion composer/algorithms/no_op_model/no_op_model.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2022 MosaicML Composer authors
# Copyright 2022-2024 MosaicML Composer authors
# SPDX-License-Identifier: Apache-2.0

"""NoOpModel algorithm and class."""
Expand Down
2 changes: 1 addition & 1 deletion composer/algorithms/progressive_resizing/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2022 MosaicML Composer authors
# Copyright 2022-2024 MosaicML Composer authors
# SPDX-License-Identifier: Apache-2.0

"""Applies Fastai's `progressive resizing <https://github.com/fastai/fastbook/blob/780b76bef3127ce5b64f8230fce60e915a
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2022 MosaicML Composer authors
# Copyright 2022-2024 MosaicML Composer authors
# SPDX-License-Identifier: Apache-2.0

"""Core Progressive Resizing classes and functions."""
Expand Down
2 changes: 1 addition & 1 deletion composer/algorithms/randaugment/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2022 MosaicML Composer authors
# Copyright 2022-2024 MosaicML Composer authors
# SPDX-License-Identifier: Apache-2.0

"""Randomly applies a sequence of image data augmentations
Expand Down
2 changes: 1 addition & 1 deletion composer/algorithms/randaugment/randaugment.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2022 MosaicML Composer authors
# Copyright 2022-2024 MosaicML Composer authors
# SPDX-License-Identifier: Apache-2.0

"""Core RandAugment code."""
Expand Down
2 changes: 1 addition & 1 deletion composer/algorithms/sam/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2022 MosaicML Composer authors
# Copyright 2022-2024 MosaicML Composer authors
# SPDX-License-Identifier: Apache-2.0

"""SAM (`Foret et al, 2020 <https://arxiv.org/abs/2010.01412>`_) wraps an existing optimizer with a
Expand Down
2 changes: 1 addition & 1 deletion composer/algorithms/sam/sam.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2022 MosaicML Composer authors
# Copyright 2022-2024 MosaicML Composer authors
# SPDX-License-Identifier: Apache-2.0

"""SAM algorithm and optimizer class."""
Expand Down
2 changes: 1 addition & 1 deletion composer/algorithms/selective_backprop/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2022 MosaicML Composer authors
# Copyright 2022-2024 MosaicML Composer authors
# SPDX-License-Identifier: Apache-2.0

"""`Selective Backprop <https://arxiv.org/abs/1910.00762>`_ prunes minibatches according to the difficulty of the
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2022 MosaicML Composer authors
# Copyright 2022-2024 MosaicML Composer authors
# SPDX-License-Identifier: Apache-2.0

"""Core SelectiveBackprop class and functions."""
Expand Down
2 changes: 1 addition & 1 deletion composer/algorithms/seq_length_warmup/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2022 MosaicML Composer authors
# Copyright 2022-2024 MosaicML Composer authors
# SPDX-License-Identifier: Apache-2.0

"""Sequence length warmup progressively increases the sequence length during training of NLP models.
Expand Down
Loading
Loading