Composer

Latest version: v0.29.0

Safety actively analyzes 723158 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 7 of 11

0.15.1

Bug Fixes

This is a patch release that mainly fixes a bug related to autoresume, and changes the default to `offload_to_cpu` for PyTorch version >2 sharded checkpoints.

What's Changed

* Fixes daily test failures with respect to autoadd mosaicml logger by mvpatel2000 in https://github.com/mosaicml/composer/pull/2339
* Set offload_to_cpu True for state_dict_type=sharded by eracah in https://github.com/mosaicml/composer/pull/2338
* Update version by mvpatel2000 in https://github.com/mosaicml/composer/pull/2341
* Fix MAPI mocking by mvpatel2000 in https://github.com/mosaicml/composer/pull/2342
* Change GPU timeout by rishab-partha in https://github.com/mosaicml/composer/pull/2343
* Add cpu call by eracah in https://github.com/mosaicml/composer/pull/2347
* Add spaces between sentences in eval label warning by srstevenson in https://github.com/mosaicml/composer/pull/2327
* Avoid overwriting seed=0 by tbenthompson in https://github.com/mosaicml/composer/pull/2352
* Small documentation typo fixes by sarthak-314 in https://github.com/mosaicml/composer/pull/2349
* Fix wandb errror with autoresume issue by eracah in https://github.com/mosaicml/composer/pull/2353


**Full Changelog**: https://github.com/mosaicml/composer/compare/v0.15.0...v0.15.1

0.15.0

What's New

1. **Exact Eval (https://github.com/mosaicml/composer/pull/2218)**

Composer now supports exact evaluation! Now, evaluation will give the exact same results regardless of the number of GPUs by removing any duplicated samples from the dataloader.

2. **Monolithic Checkpoint Loading (https://github.com/mosaicml/composer/pull/2288)**

When training large models, loading the model and optimizer on every rank can use up all the system memory. With FSDP, Composer can now load the model and optimizer on only rank 0 and broadcast it to all other ranks. To enable:

python
from composer import Trainer

Construct Trainer
trainer = Trainer(
...,
fsdp_config={
load_monolith_rank0_only: True
},
)

Train!
trainer.fit()


and ensure the model on rank 0 is on CPU/GPU (as opposed to meta).

3. **Spin Dataloaders**

By default, Composer spins dataloaders back to the current timestamp to ensure deterministic resumption. However, dataloader spinning can be very slow, so `Trainer` now has a new flag to disable spinning if determinism is not required. To enable:

python
from composer import Trainer

Construct Trainer
trainer = Trainer(
...,
spin_dataloaders=False,
)

Train!
trainer.fit()


Deprecations

* `HealthChecker` is now deprecated and will be removed in `v0.17.0`

Bug Fixes

* Add support for saving HF info in state dict when using DDP by dakinggg in https://github.com/mosaicml/composer/pull/2206
* Change state dict loading default to strict by dakinggg in https://github.com/mosaicml/composer/pull/2216
* CE loss vs CE metric equivalence by dakinggg in https://github.com/mosaicml/composer/pull/2241
* Move sharded checkpoints into their own intermediate prefix folder by eracah in https://github.com/mosaicml/composer/pull/2205
* Fix typo depricated -> deprecated by eracah in https://github.com/mosaicml/composer/pull/2270
* Spin dataloader arg by mvpatel2000 in https://github.com/mosaicml/composer/pull/2267
* Confirming the output variable has two dimensions before confirming the shape of the second element. by jimmiemunyi in https://github.com/mosaicml/composer/pull/2275
* Add loss_dict keyword to closure lambda function by Landanjs in https://github.com/mosaicml/composer/pull/1952
* Strip spacing icl by bmosaicml in https://github.com/mosaicml/composer/pull/2306

What's Changed
* Update FFCV by mvpatel2000 in https://github.com/mosaicml/composer/pull/2197
* Add support for saving HF info in state dict when using DDP by dakinggg in https://github.com/mosaicml/composer/pull/2206
* Bump junitparser from 3.0.0 to 3.1.0 by dependabot in https://github.com/mosaicml/composer/pull/2212
* Bump sentencepiece from 0.1.98 to 0.1.99 by dependabot in https://github.com/mosaicml/composer/pull/2208
* Add docs for Checkpointing with Cloudflare R2 by eracah in https://github.com/mosaicml/composer/pull/2215
* Working slack link by growlix in https://github.com/mosaicml/composer/pull/2217
* Change state dict loading default to strict by dakinggg in https://github.com/mosaicml/composer/pull/2216
* Fix typo in evaluation docs by dakinggg in https://github.com/mosaicml/composer/pull/2225
* Clean soft cross entropy by mvpatel2000 in https://github.com/mosaicml/composer/pull/2227
* add cmake by dakinggg in https://github.com/mosaicml/composer/pull/2229
* Upgrade to mcli0.4, smaller mcli improvements by aspfohl in https://github.com/mosaicml/composer/pull/2226
* Bump to torch 2.0.1 by mvpatel2000 in https://github.com/mosaicml/composer/pull/2235
* Deprecate healthchecker by mvpatel2000 in https://github.com/mosaicml/composer/pull/2236
* Update torch 2.0.1 workflows by mvpatel2000 in https://github.com/mosaicml/composer/pull/2239
* Log wandb URL to metadata by mvpatel2000 in https://github.com/mosaicml/composer/pull/2240
* Bump ipykernel from 6.22.0 to 6.23.1 by dependabot in https://github.com/mosaicml/composer/pull/2244
* Update transformers requirement from <4.29,>=4.11 to >=4.11,<4.30 by dependabot in https://github.com/mosaicml/composer/pull/2245
* CE loss vs CE metric equivalence by dakinggg in https://github.com/mosaicml/composer/pull/2241
* Exact Eval by mvpatel2000 in https://github.com/mosaicml/composer/pull/2218
* bump torchmetrics pin by nik-mosaic in https://github.com/mosaicml/composer/pull/2247
* Remove deprecated code / torch 1.11 / torch 1.12 by mvpatel2000 in https://github.com/mosaicml/composer/pull/2234
* Rename `backwards_create_graph` description by mvpatel2000 in https://github.com/mosaicml/composer/pull/2248
* Move sharded checkpoints into their own intermediate prefix folder by eracah in https://github.com/mosaicml/composer/pull/2205
* Fix daily tests by fixing test_fsdp_load_old_checkpoint by eracah in https://github.com/mosaicml/composer/pull/2249
* Support for multiple optimizer groups in torch 2.0 + FSDP by sashaDoubov in https://github.com/mosaicml/composer/pull/2230
* Change AdamW step to a tensor instead of an int by eracah in https://github.com/mosaicml/composer/pull/2237
* Update to cuda 11.8 by mvpatel2000 in https://github.com/mosaicml/composer/pull/2250
* Fix daily tests by adding s3 secrets to daily-gpu tests by eracah in https://github.com/mosaicml/composer/pull/2254
* Typo in s3_prefix: epemeral -> ephemeral 🤦‍♂️ by eracah in https://github.com/mosaicml/composer/pull/2255
* Bump yamllint from 1.31.0 to 1.32.0 by dependabot in https://github.com/mosaicml/composer/pull/2256
* Bump coverage[toml] from 7.2.5 to 7.2.6 by dependabot in https://github.com/mosaicml/composer/pull/2258
* Add callbacks for EVAL_BEFORE_ALL and EVAL_AFTER_ALL by rishab-partha in https://github.com/mosaicml/composer/pull/2264
* Update torch device naming convention for h100 gpus by vchiley in https://github.com/mosaicml/composer/pull/2265
* Fix typo depricated -> deprecated by eracah in https://github.com/mosaicml/composer/pull/2270
* alerts for daily tests by mvpatel2000 in https://github.com/mosaicml/composer/pull/2272
* Fix daily tests by patching cupy version by mvpatel2000 in https://github.com/mosaicml/composer/pull/2274
* Skip ffcv notebook by mvpatel2000 in https://github.com/mosaicml/composer/pull/2277
* Spin dataloader arg by mvpatel2000 in https://github.com/mosaicml/composer/pull/2267
* Confirming the output variable has two dimensions before confirming the shape of the second element. by jimmiemunyi in https://github.com/mosaicml/composer/pull/2275
* Bump coverage[toml] from 7.2.6 to 7.2.7 by dependabot in https://github.com/mosaicml/composer/pull/2282
* Patch for tokenizers that have python files in save_pretrained output by dakinggg in https://github.com/mosaicml/composer/pull/2279
* fix get file(overwite=True) to properly handle pre-existing files by bmosaicml in https://github.com/mosaicml/composer/pull/2284
* Fix Checkpointing Docs Link by rishab-partha in https://github.com/mosaicml/composer/pull/2278
* Add errors for Mixed Dataloader Eval by rishab-partha in https://github.com/mosaicml/composer/pull/2269
* Fix autoresume with slashed directory by rishab-partha in https://github.com/mosaicml/composer/pull/2287
* Delete symlinks when not saving checkpoints locally by rishab-partha in https://github.com/mosaicml/composer/pull/2285
* fixed adding tokenizer to hf by KuuCi in https://github.com/mosaicml/composer/pull/2290
* New Console Logger Test + Discard before Eval by rishab-partha in https://github.com/mosaicml/composer/pull/2273
* Enabled kv caching during generate to speed up QA Task by bmosaicml in https://github.com/mosaicml/composer/pull/2293
* Update monai requirement from <1.2,>=0.9.1 to >=0.9.1,<1.3 by dependabot in https://github.com/mosaicml/composer/pull/2298
* Bump sphinxcontrib-katex from 0.9.4 to 0.9.5 by dependabot in https://github.com/mosaicml/composer/pull/2296
* Training Checkpoint Fix by KuuCi in https://github.com/mosaicml/composer/pull/2294
* Update transformers requirement from <4.30,>=4.11 to >=4.11,<4.31 by dependabot in https://github.com/mosaicml/composer/pull/2295
* Fixed how save_checkpoint_to_save_folder called CheckpointSaver object to save state and logger by KuuCi in https://github.com/mosaicml/composer/pull/2300
* Update Slack link in README.md by ejyuen in https://github.com/mosaicml/composer/pull/2261
* Change progress bar logger to print all eval metrics by rishab-partha in https://github.com/mosaicml/composer/pull/2286
* Add pytest clear cache by rishab-partha in https://github.com/mosaicml/composer/pull/2305
* Fix tests for wandb and mlflow loggers by b-chu in https://github.com/mosaicml/composer/pull/2302
* Monolithic Loading by mvpatel2000 in https://github.com/mosaicml/composer/pull/2288
* Add loss_dict keyword to closure lambda function by Landanjs in https://github.com/mosaicml/composer/pull/1952
* Strip spacing icl by bmosaicml in https://github.com/mosaicml/composer/pull/2306
* Add additional error with auto microbatching by mvpatel2000 in https://github.com/mosaicml/composer/pull/2308
* Group autoresume messages by mvpatel2000 in https://github.com/mosaicml/composer/pull/2307
* Move deepspeed enabled to state by mvpatel2000 in https://github.com/mosaicml/composer/pull/2309
* Jiggling tests and adding gc collect by bcui19 in https://github.com/mosaicml/composer/pull/2312
* Monolithic loading improvements by mvpatel2000 in https://github.com/mosaicml/composer/pull/2313
* Update version to 0.15 by mvpatel2000 in https://github.com/mosaicml/composer/pull/2315

New Contributors
* aspfohl made their first contribution in https://github.com/mosaicml/composer/pull/2226
* sashaDoubov made their first contribution in https://github.com/mosaicml/composer/pull/2230
* rishab-partha made their first contribution in https://github.com/mosaicml/composer/pull/2264
* jimmiemunyi made their first contribution in https://github.com/mosaicml/composer/pull/2275
* KuuCi made their first contribution in https://github.com/mosaicml/composer/pull/2290
* b-chu made their first contribution in https://github.com/mosaicml/composer/pull/2302

**Full Changelog**: https://github.com/mosaicml/composer/compare/v0.14.1...v0.15.0

0.14.1

Bug Fixes

Fixes a bug related to sentpiece tokenizers and ICL eval.

What's Changed
* Update docs to remove gradient clipping in events by mvpatel2000 in https://github.com/mosaicml/composer/pull/2193
* remove explorer info from readme by nik-mosaic in https://github.com/mosaicml/composer/pull/2174
* bugfix sentpiece by bmosaicml in https://github.com/mosaicml/composer/pull/2198
* Fix Broken Training Loop Image Link by eracah in https://github.com/mosaicml/composer/pull/2199
* Fix broken image link for GLU by eracah in https://github.com/mosaicml/composer/pull/2201
* bugfix sentpiece (2198) by bmosaicml in https://github.com/mosaicml/composer/pull/2200
* Bump version to v0.14.1 by mvpatel2000 in https://github.com/mosaicml/composer/pull/2202
* Pin protobuf by mvpatel2000 in https://github.com/mosaicml/composer/pull/2203


**Full Changelog**: https://github.com/mosaicml/composer/compare/v0.14.0...v0.14.1

0.14.0

The legacy package name still works via `pip`:

bash
pip install mosaicml==0.14.0


New Features

1. **🆕 PyTorch 2.0 Support (2172)**

We're thrilled to announce official support for PyTorch 2.0! We've got all initial unit tests passing and run through our [examples](https://github.com/mosaicml/examples). We've also made some updates to start taking advantage of all the great new features.

Initial support also includes:
* Support for [torch.compile](https://pytorch.org/get-started/pytorch-2.0/#pytorch-2x-faster-more-pythonic-and-as-dynamic-as-ever)
| Model | Dataset | Without compile thoughput/samples_per_sec | With compile thoughput/samples_per_sec | Performance % |
| ------------ | -------- | ----------------------------------------- | -------------------------------------- | ------------- |
| ResNet50 | ImageNet | 5557 | 7424 | 33.60% |
| DeepLab V3 | ADE20K | 81.60 | 98.82 | 21.10% |
| HF BERT | C4 | 3360 | 4259 | 26.75% |
| HF Causal LM | C4 | 50.61 | 103.29 | 100.05% |

To start using, simply add `compile_config` argument to the `Trainer`:
python
To use default `torch.compile` config
trainer = Trainer(
...,
compile_config={},
)

To use custom `torch.compile` config, provide an argument as a dictionary, for example:
trainer = Trainer(
...,
compile_config={'mode': 'reduce-overhead'},
)



The `Trainer` also supports pre-compiled models passed via the `models` argument. If the model has been pre-compiled, the `compile_config` argument is ignored if provided.

**Note**: We recommend baselining your model with and without `torch.compile` as there are scenarios where enabling compile does not yield any throughput improvements and in some cases where this can lead to a regression.

* PyTorch 2.0 Docker Images

We've added the following new official [MosaicML Docker Images](https://hub.docker.com/u/mosaicml) with PyTorch 2.0 support:
| Linux Distro | Flavor | PyTorch Version | CUDA Version | Python Version | Docker Tags |
|----------------|----------|-------------------|---------------------|------------------|---------------------------------------------------------------------------------------------------|
| Ubuntu 20.04 | Base | 2.0.0 | 11.7.1 (Infiniband) | 3.10 | `mosaicml/pytorch:2.0.0_cu117-python3.10-ubuntu20.04` |
| Ubuntu 20.04 | Base | 2.0.0 | 11.7.1 (EFA) | 3.10 | `mosaicml/pytorch:2.0.0_cu117-python3.10-ubuntu20.04-aws` |
| Ubuntu 20.04 | Base | 2.0.0 | cpu | 3.10 | `mosaicml/pytorch:2.0.0_cpu-python3.10-ubuntu20.04` |
| Ubuntu 20.04 | Vision | 2.0.0 | 11.7.1 (Infiniband) | 3.10 | `mosaicml/pytorch_vision:2.0.0_cu117-python3.10-ubuntu20.04` |
| Ubuntu 20.04 | Vision | 2.0.0 | cpu | 3.10 | `mosaicml/pytorch_vision:2.0.0_cpu-python3.10-ubuntu20.04` |

1. **🦾 New Callbacks**
* Activation monitor (2066)

Monitors activations in the network. Every interval batches it will attach a forwards hook and logs the max, average, l2 norm, and kurtosis for the input and output activations. To enable:

python
from composer import Trainer
from composer.callbacks import ActivationMonitor

Construct Trainer
trainer = Trainer(
...,
callbacks=[ActivationMonitor()],
)

Train!
trainer.fit()


* Slack Logger (2133)

You can now send custom training metrics using Slack! To enable:

python
from composer import Trainer
from composer.loggers import SlackLogger

transform = transforms.Compose([transforms.ToTensor()])


trainer = Trainer(
...
loggers=[
SlackLogger(
log_interval="10ba", or 1ep, 2ep
include_keys=["algorithm_traces*", "loss*"],
formatter_func=(lambda data, **kwargs:
[
{
"type": "section", "text": {"type": "mrkdwn", "text": f"*{k}:* {v}"}
}
for k, v in data.items()
])
)
],
)

trainer.fit()


Please see PR 2133 for additional details.

API changes

* The `grad_accum` argument has been removed from `Trainer`, users are now required to use `device_train_microbatch_size` instead (2040)

Deprecations

* We no longer support PyTorch 1.11 and 1.12 due to security vulnerabilities. New features will not be tested against these versions.

Bug Fixes

* Eval subset num batches bug fix (2028)
* Protect for missing slack_sdk import (2031)
* Adjust HuggingFaceModel token embedding resizing to only occur when necessary (2027)
* Update FSDP meta weight tying tests to include precision testing (2050)
* Backward Compat with Torchmetrics (2046)
* Busy wait for local rank 0 download to avoid timeout on large file download (2054)
* Fix OCIObjectStore save_overwrite=False bug (2053)
* Busy wait so that non local rank zeros don't timeout while local rank zero downloads a monolithic checkpoint (2071)
* Skip extra downloads when not using a format string (2073)
* fix name_or_path usage in HF save/load usage (2075)
* Fix EMA resumption issue with calling trainer.eval() before trainer.fit() (2088)
* Patch EMA with FSDP (2091)
* Updating gradient clipping to be torch 2.0 compatible (2089)
* Adding checks for weight tying s.t. we don't think None attributes are weight tied (2103)
* gate the extra forward call specifically for fsdp (2102)
* Allow user to set ONNX opset version when Exporting for Inference (2101)
* Runtime estimator (2124)
* Use state_dict Torchmetrics Serialization (2116)
* Fix filelock in checkpoint download (2184)

What's Changed
* Eval subset num batches bug fix by mvpatel2000 in https://github.com/mosaicml/composer/pull/2028
* Protect for missing `slack_sdk` import by hanlint in https://github.com/mosaicml/composer/pull/2031
* switch code quality workflow to dev target and smoketest by dakinggg in https://github.com/mosaicml/composer/pull/2032
* Generate composer PyPi package by bandish-shah in https://github.com/mosaicml/composer/pull/2034
* HealthChecker should only send test message on global rank zero by hanlint in https://github.com/mosaicml/composer/pull/2035
* Bump version to 0.13.1 by bandish-shah in https://github.com/mosaicml/composer/pull/2033
* Use follow in mcp script by mvpatel2000 in https://github.com/mosaicml/composer/pull/2022
* Bump pytest from 7.2.1 to 7.2.2 by dependabot in https://github.com/mosaicml/composer/pull/2039
* Bump pypandoc from 1.10 to 1.11 by dependabot in https://github.com/mosaicml/composer/pull/2038
* Adds a PR guidelines section to contributing.md by dakinggg in https://github.com/mosaicml/composer/pull/1993
* Adjust HuggingFaceModel token embedding resizing to only occur when necessary by dakinggg in https://github.com/mosaicml/composer/pull/2027
* Remove deprecated code by mvpatel2000 in https://github.com/mosaicml/composer/pull/2026
* test and fix composer package name usage in composer_collect_env by dakinggg in https://github.com/mosaicml/composer/pull/2049
* Log nodename information in composer by eracah in https://github.com/mosaicml/composer/pull/2043
* Update FSDP meta weight tying tests to include precision testing by bcui19 in https://github.com/mosaicml/composer/pull/2050
* Backward Compat with Torchmetrics by mvpatel2000 in https://github.com/mosaicml/composer/pull/2046
* update fsdp mixed precision by vchiley in https://github.com/mosaicml/composer/pull/2047
* Checkpoints Simplified by mvpatel2000 in https://github.com/mosaicml/composer/pull/2041
* Add composer PyPI package tests to daily workflow by bandish-shah in https://github.com/mosaicml/composer/pull/2052
* Delete composer package GPU workflow by dakinggg in https://github.com/mosaicml/composer/pull/2055
* Revert "Checkpoints Simplified (2041)" by dakinggg in https://github.com/mosaicml/composer/pull/2056
* Raise error if attempting to export FSDP model by hanlint in https://github.com/mosaicml/composer/pull/2051
* Busy wait for local rank 0 download to avoid timeout on large file download by dakinggg in https://github.com/mosaicml/composer/pull/2054
* Fix OCIObjectStore save_overwrite=False bug by eracah in https://github.com/mosaicml/composer/pull/2053
* Update docs with non-rank zero logs instructions by hanlint in https://github.com/mosaicml/composer/pull/2058
* Pin torchmetrics by mvpatel2000 in https://github.com/mosaicml/composer/pull/2065
* Add `NO_REENTRANT` activation checkpointing by bmosaicml in https://github.com/mosaicml/composer/pull/2042
* Allow `LPLayerNorm` and `LPGroupNorm` to support `self.bias` or `self.weight` = None by abhi-mosaic in https://github.com/mosaicml/composer/pull/2044
* Checkpoints Simplified by mvpatel2000 in https://github.com/mosaicml/composer/pull/2059
* Add `device` and `dtype` back to `LPLayerNorm` by abhi-mosaic in https://github.com/mosaicml/composer/pull/2067
* Revert "Checkpoints Simplified (2059)" by dakinggg in https://github.com/mosaicml/composer/pull/2070
* Busy wait so that non local rank zeros don't timeout while local rank zero downloads a monolithic checkpoint by dakinggg in https://github.com/mosaicml/composer/pull/2071
* Add support + test for autoresume with FSDP sharded checkpoints by dakinggg in https://github.com/mosaicml/composer/pull/2072
* Skip extra downloads when not using a format string by dakinggg in https://github.com/mosaicml/composer/pull/2073
* Bump version to v0.13.2 by bandish-shah in https://github.com/mosaicml/composer/pull/2068
* Pin transformers package to <4.27 by dakinggg in https://github.com/mosaicml/composer/pull/2076
* Bump coverage[toml] from 7.2.1 to 7.2.2 by dependabot in https://github.com/mosaicml/composer/pull/2082
* Update datasets CODEOWNERS by dakinggg in https://github.com/mosaicml/composer/pull/2084
* fix name_or_path usage in HF save/load usage by dakinggg in https://github.com/mosaicml/composer/pull/2075
* Remove grad accum by mvpatel2000 in https://github.com/mosaicml/composer/pull/2040
* Add support for ICL QA tasks and generation during evaluation with `HuggingFaceModel` by dakinggg in https://github.com/mosaicml/composer/pull/2045
* make composer fsdp work with latest torch by dskhudia in https://github.com/mosaicml/composer/pull/2078
* Fix EMA resumption issue with calling trainer.eval() before trainer.fit() by coryMosaicML in https://github.com/mosaicml/composer/pull/2088
* Disable wrapping for fsdp if specified by mvpatel2000 in https://github.com/mosaicml/composer/pull/2086
* skip fsdp tests for <1.13 by dakinggg in https://github.com/mosaicml/composer/pull/2090
* Patch EMA with FSDP by mvpatel2000 in https://github.com/mosaicml/composer/pull/2091
* Update Wandb docs with incorrect default by mvpatel2000 in https://github.com/mosaicml/composer/pull/2092
* Fix typo by nik-mosaic in https://github.com/mosaicml/composer/pull/2098
* Replace broken explorer link by nik-mosaic in https://github.com/mosaicml/composer/pull/2099
* Updating gradient clipping to be torch 2.0 compatible by bcui19 in https://github.com/mosaicml/composer/pull/2089
* Adding checks for weight tying s.t. we don't think `None` attributes are weight tied by bcui19 in https://github.com/mosaicml/composer/pull/2103
* gate the extra forward call specifically for fsdp by dakinggg in https://github.com/mosaicml/composer/pull/2102
* Allow user to set ONNX opset version when Exporting for Inference by nik-mosaic in https://github.com/mosaicml/composer/pull/2101
* Seed the fewshot sampling in the ICL datasets by dakinggg in https://github.com/mosaicml/composer/pull/2100
* pin mcp by dakinggg in https://github.com/mosaicml/composer/pull/2111
* adjust decoding for eval forward by dakinggg in https://github.com/mosaicml/composer/pull/2107
* Add sentencepiece support to `HuggingFaceModel` by dakinggg in https://github.com/mosaicml/composer/pull/2093
* Bump yamllint from 1.28.0 to 1.30.0 by dependabot in https://github.com/mosaicml/composer/pull/2094
* update transformers to latest version by dakinggg in https://github.com/mosaicml/composer/pull/2109
* Bump version to 0.13.3 by bandish-shah in https://github.com/mosaicml/composer/pull/2115
* update numpy by dakinggg in https://github.com/mosaicml/composer/pull/2108
* Update Export NLP tests by nik-mosaic in https://github.com/mosaicml/composer/pull/1904
* Activation monitor by bcui19 in https://github.com/mosaicml/composer/pull/2066
* Relax streaming package version check to major version by karan6181 in https://github.com/mosaicml/composer/pull/2119
* Bump to 13.4 by mvpatel2000 in https://github.com/mosaicml/composer/pull/2121
* Auto Microbatching -- The Final Form by mvpatel2000 in https://github.com/mosaicml/composer/pull/2117
* add logic for direct instantiation by dakinggg in https://github.com/mosaicml/composer/pull/2122
* Runtime estimator by mvpatel2000 in https://github.com/mosaicml/composer/pull/2124
* Fix early stopper docs links by mvpatel2000 in https://github.com/mosaicml/composer/pull/2126
* Removes MCLI pin by mvpatel2000 in https://github.com/mosaicml/composer/pull/2127
* Bump pytest from 7.2.2 to 7.3.0 by dependabot in https://github.com/mosaicml/composer/pull/2128
* Bump nbsphinx from 0.8.12 to 0.9.1 by dependabot in https://github.com/mosaicml/composer/pull/2129
* Bump ipykernel from 6.20.1 to 6.22.0 by dependabot in https://github.com/mosaicml/composer/pull/2130
* Add batch log interval to optimizer monitor by dakinggg in https://github.com/mosaicml/composer/pull/2132
* Flush checkpoint on kill by mvpatel2000 in https://github.com/mosaicml/composer/pull/2125
* Bump deepspeed from 0.7.7 to 0.8.3 by dependabot in https://github.com/mosaicml/composer/pull/2131
* Add flexibility for FSDP Auto Wrap in Composer by bcui19 in https://github.com/mosaicml/composer/pull/2134
* Mcloud logger dest by mvpatel2000 in https://github.com/mosaicml/composer/pull/2136
* Better defaults for `get_num_tokens_in_batch` by dakinggg in https://github.com/mosaicml/composer/pull/2139
* Adding sharded grad scaler by bcui19 in https://github.com/mosaicml/composer/pull/2138
* Bump pytest from 7.3.0 to 7.3.1 by dependabot in https://github.com/mosaicml/composer/pull/2144
* Make sure the timestamps of the checkpoints are the same when loading by eracah in https://github.com/mosaicml/composer/pull/2146
* Add torch.compile support for torch 2.0 by karan6181 in https://github.com/mosaicml/composer/pull/2118
* Fix broken URLs due to docs site refactor by bandish-shah in https://github.com/mosaicml/composer/pull/2150
* Ece icl by bmosaicml in https://github.com/mosaicml/composer/pull/2135
* Update wandb requirement from <0.14,>=0.13.2 to >=0.13.2,<0.15 by dependabot in https://github.com/mosaicml/composer/pull/2097
* Add support for `eval_interval` and `save_interval` in tokens by dakinggg in https://github.com/mosaicml/composer/pull/2149
* Upgrade to transformers 4.28 by dakinggg in https://github.com/mosaicml/composer/pull/2152
* Add PyTorch 2.0.0 image, deprecate PyTorch 1.10 and 1.11 images by bandish-shah in https://github.com/mosaicml/composer/pull/2077
* Log Time Attrs by mvpatel2000 in https://github.com/mosaicml/composer/pull/2155
* EMA + FSDP support by mvpatel2000 in https://github.com/mosaicml/composer/pull/2157
* Mvpatel2000/ema fix final by mvpatel2000 in https://github.com/mosaicml/composer/pull/2158
* Bump sphinx-copybutton from 0.5.0 to 0.5.2 by dependabot in https://github.com/mosaicml/composer/pull/2159
* Bump junitparser from 2.8.0 to 3.0.0 by dependabot in https://github.com/mosaicml/composer/pull/2160
* Update wandb requirement from <0.15,>=0.13.2 to >=0.13.2,<0.16 by dependabot in https://github.com/mosaicml/composer/pull/2161
* Bump yamllint from 1.30.0 to 1.31.0 by dependabot in https://github.com/mosaicml/composer/pull/2163
* Bump sphinxext-opengraph from 0.7.4 to 0.8.2 by dependabot in https://github.com/mosaicml/composer/pull/2162
* Bump version to v0.13.5 by mvpatel2000 in https://github.com/mosaicml/composer/pull/2166
* Icl subcategories by bmosaicml in https://github.com/mosaicml/composer/pull/2145
* Add SlackLogger w/ custom formatting to composer/logger by waiwuc in https://github.com/mosaicml/composer/pull/2133
* Use state_dict Torchmetrics Serialization by nik-mosaic in https://github.com/mosaicml/composer/pull/2116
* Adding in deprecation warning for min_params by bcui19 in https://github.com/mosaicml/composer/pull/2167
* Update auto microbatching warning by mvpatel2000 in https://github.com/mosaicml/composer/pull/2123
* Add support for torch 2.0 by dakinggg in https://github.com/mosaicml/composer/pull/2172
* Fix the daily tests by dakinggg in https://github.com/mosaicml/composer/pull/2173
* Fix remote path in daily test by dakinggg in https://github.com/mosaicml/composer/pull/2177
* Template icl by bmosaicml in https://github.com/mosaicml/composer/pull/2137
* Fix ICL eval for sentencepiece tokenizers by dakinggg in https://github.com/mosaicml/composer/pull/2178
* bump flash attentionv ersion by dakinggg in https://github.com/mosaicml/composer/pull/2180
* Another attempt to fix the daily tests by dakinggg in https://github.com/mosaicml/composer/pull/2181
* Skip backward compatible checkpointing test on older torch versions by dakinggg in https://github.com/mosaicml/composer/pull/2182
* Fix space continuation issue for few shot ICL by dakinggg in https://github.com/mosaicml/composer/pull/2183
* Bump coverage[toml] from 7.2.2 to 7.2.5 by dependabot in https://github.com/mosaicml/composer/pull/2188
* Bump sentencepiece from 0.1.97 to 0.1.98 by dependabot in https://github.com/mosaicml/composer/pull/2186
* Fix filelock in checkpoint download by mvpatel2000 in https://github.com/mosaicml/composer/pull/2184
* Update warning->info for number of tokens by mvpatel2000 in https://github.com/mosaicml/composer/pull/2192
* Bump version to 0.14.0 by bandish-shah in https://github.com/mosaicml/composer/pull/2190

New Contributors
* waiwuc made their first contribution in https://github.com/mosaicml/composer/pull/2133

**Full Changelog**: https://github.com/mosaicml/composer/compare/v0.13.5...v0.14.0

0.13.5

**Full Changelog**: https://github.com/mosaicml/composer/compare/v0.13.4...v0.13.5
- Add support for EMA + FSDP

0.13.4

**Full Changelog**: https://github.com/mosaicml/composer/compare/v0.13.3...v0.13.4

Page 7 of 11

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.