Changelog of v0.x¶
v0.10.5 (11/9/2024)¶
Fix
_is_builtin_module. by @HAOCHENYE in https://github.com/open-mmlab/mmengine/pull/1571
v0.10.4 (23/4/2024)¶
New Features & Enhancements¶
Support custom
artifact_locationin MLflowVisBackend. by @daavoo in https://github.com/open-mmlab/mmengine/pull/1505Add the supported pytorch versions in README by @zhouzaida in https://github.com/open-mmlab/mmengine/pull/1512
Perform evaluation upon training completion by @LZHgrla in https://github.com/open-mmlab/mmengine/pull/1529
Enable
exclude_frozen_parametersforDeepSpeedEngine._zero3_consolidated_16bit_state_dictby @LZHgrla in https://github.com/open-mmlab/mmengine/pull/1517
Bug Fixes¶
Fix warning capture by @fanqiNO1 in https://github.com/open-mmlab/mmengine/pull/1494
Remove codeowners file by @zhouzaida in https://github.com/open-mmlab/mmengine/pull/1496
Fix config of readthedocs by @zhouzaida in https://github.com/open-mmlab/mmengine/pull/1511
Delete frozen parameters when using
paramwise_cfgby @LZHgrla in https://github.com/open-mmlab/mmengine/pull/1441
Docs¶
Refine mmengine intro by @zhouzaida in https://github.com/open-mmlab/mmengine/pull/1479
Fix typo by @zhouzaida in https://github.com/open-mmlab/mmengine/pull/1481
Fix typos and remove fullwidth unicode chars by @evdcush in https://github.com/open-mmlab/mmengine/pull/1488
Fix docstring of Config by @MambaWong in https://github.com/open-mmlab/mmengine/pull/1506
Fix typo by @hiramf in https://github.com/open-mmlab/mmengine/pull/1532
v0.10.3 (24/1/2024)¶
New Features & Enhancements¶
Add the support for musa device support by @hanhaowen-mt in https://github.com/open-mmlab/mmengine/pull/1453
Support
save_optimizer=Falsefor DeepSpeed by @LZHgrla in https://github.com/open-mmlab/mmengine/pull/1474Update visualizer.py by @Anm-pinellia in https://github.com/open-mmlab/mmengine/pull/1476
Bug Fixes¶
Fix
Config.to_dictby @HAOCHENYE in https://github.com/open-mmlab/mmengine/pull/1465Fix the resume of iteration by @LZHgrla in https://github.com/open-mmlab/mmengine/pull/1471
Fix
dist.collect_resultsto keep all ranks’ elements by @LZHgrla in https://github.com/open-mmlab/mmengine/pull/1469
Docs¶
Add the usage of ProfilerHook by @zhouzaida in https://github.com/open-mmlab/mmengine/pull/1466
Fix the nnodes in the doc of ddp training by @XiwuChen in https://github.com/open-mmlab/mmengine/pull/1462
v0.10.2 (26/12/2023)¶
New Features & Enhancements¶
Support multi-node distributed training with NPU backend by @shun001 in https://github.com/open-mmlab/mmengine/pull/1459
Use
ImportErrorto coverModuleNotFoundErrorby @del-zhenwu in https://github.com/open-mmlab/mmengine/pull/1438
Bug Fixes¶
Fix bug in
load_model_state_dictofBaseStrategyby @SCZwangxiao in https://github.com/open-mmlab/mmengine/pull/1447Fix placement policy in ColossalAIStrategy by @fanqiNO1 in https://github.com/open-mmlab/mmengine/pull/1440
Contributors¶
A total of 4 developers contributed to this release. Thanks @shun001, @del-zhenwu, @SCZwangxiao, @fanqiNO1
v0.10.1 (22/11/2023)¶
Bug Fixes¶
Docs¶
Add build mmengine-lite from source by @fanqiNO1 in https://github.com/open-mmlab/mmengine/pull/1435
Contributors¶
A total of 1 developers contributed to this release. Thanks @fanqiNO1
v0.10.0 (21/11/2023)¶
New Features & Enhancements¶
Bug Fixes¶
Contributors¶
A total of 3 developers contributed to this release. Thanks @HIT-cwh, @LZHgrla, @fanqiNO1
v0.9.1 (03/11/2023)¶
New Features & Enhancements¶
Support slurm distributed training for mlu devices by @POI-WX in https://github.com/open-mmlab/mmengine/pull/1396
Add torch 2.1.0 checking in CI by @YiyaoYang1 in https://github.com/open-mmlab/mmengine/pull/1389
Add
exclude_frozen_parametersforDeepSpeedStrategyby @LZHgrla in https://github.com/open-mmlab/mmengine/pull/1415Enhance inputs_to_half in DeepSpeedStrategy by @fanqiNO1 in https://github.com/open-mmlab/mmengine/pull/1400
Bug Fixes¶
Fix new config in visualizer by @HAOCHENYE in https://github.com/open-mmlab/mmengine/pull/1390
Fix func params using without init in OneCycleLR (#1401) by @whlook in https://github.com/open-mmlab/mmengine/pull/1403
Fix a bug when module is missing in low version of bitsandbytes by @Ben-Louis in https://github.com/open-mmlab/mmengine/pull/1388
Fix ConcatDataset raising error when metainfo is np.array by @jonbakerfish in https://github.com/open-mmlab/mmengine/pull/1407
Docs¶
Rename master to main by @zhouzaida in https://github.com/open-mmlab/mmengine/pull/1397
Contributors¶
A total of 9 developers contributed to this release. Thanks @POI-WX, @whlook, @jonbakerfish, @LZHgrla, @Ben-Louis, @YiyaoYang1, @fanqiNO1, @HAOCHENYE, @zhouzaida
v0.9.0 (10/10/2023)¶
Highlights¶
Support training with ColossalAI. Refer to the Training Large Models for more detailed usages.
Support gradient checkpointing. Refer to the Save Memory on GPU for more details.
Supports multiple visualization backends, including
NeptuneVisBackend,DVCLiveVisBackendandAimVisBackend. Refer to Visualization Backends for more details.
New Features & Enhancements¶
Add a text translation example by @Desjajja in https://github.com/open-mmlab/mmengine/pull/1283
Add
NeptuneVisBackendby @wangerlie in https://github.com/open-mmlab/mmengine/pull/1311Add ColossalAI strategy by @HAOCHENYE in https://github.com/open-mmlab/mmengine/pull/1299
Add collect_results support for Ascend NPU by @xuuyangg in https://github.com/open-mmlab/mmengine/pull/1309
Unify the parameter style of DeepSpeedStrategy by @LZHgrla in https://github.com/open-mmlab/mmengine/pull/1320
Add progressbar rich by @Dominic23331 in https://github.com/open-mmlab/mmengine/pull/1157
Support using other file handlers by @KevinNuNu in https://github.com/open-mmlab/mmengine/pull/1188
Refine error message by @zhouzaida in https://github.com/open-mmlab/mmengine/pull/1338
Implement gradient checkpointing by @zeyuanyin in https://github.com/open-mmlab/mmengine/pull/1319
Add
DVCLiveVisBackendby @RangeKing in https://github.com/open-mmlab/mmengine/pull/1336Add
AimVisBackendby @RangeKing in https://github.com/open-mmlab/mmengine/pull/1347Support bitsandbytes by @okotaku in https://github.com/open-mmlab/mmengine/pull/1357
Support
AdafactorOptimizer by @okotaku in https://github.com/open-mmlab/mmengine/pull/1361Add unit tests for autocast with Ascend device by @6Vvv in https://github.com/open-mmlab/mmengine/pull/1363
Support metainfo of dataset can be a generic dict-like Mapping by @hiyyg in https://github.com/open-mmlab/mmengine/pull/1378
Support for installing minimal runtime dependencies by @HAOCHENYE in https://github.com/open-mmlab/mmengine/pull/1362
Support setting the number of iterations in
Runnerfor each epoch by @ShuRaymond in https://github.com/open-mmlab/mmengine/pull/1292Support using gradient checkpointing in FSDP by @HAOCHENYE in https://github.com/open-mmlab/mmengine/pull/1382
Docs¶
Add README for examples by @zhouzaida in https://github.com/open-mmlab/mmengine/pull/1295
Add a new ecosystem in README by @zhouzaida in https://github.com/open-mmlab/mmengine/pull/1296
Fix typo by @zhouzaida in https://github.com/open-mmlab/mmengine/pull/1298
Add an image for Neptune by @zhouzaida in https://github.com/open-mmlab/mmengine/pull/1312
Fix docs of ColossalAI by @HAOCHENYE in https://github.com/open-mmlab/mmengine/pull/1315
Update QRCode by @crazysteeaam in https://github.com/open-mmlab/mmengine/pull/1328
Add activation checkpointing usage by @zhouzaida in https://github.com/open-mmlab/mmengine/pull/1341
Fix typo by @zhouzaida in https://github.com/open-mmlab/mmengine/pull/1348
Update the usage of bitsandbytes in Chinese documents by @zhouzaida in https://github.com/open-mmlab/mmengine/pull/1359
Fix doc typo our_dir in LoggerHook by @wangg12 in https://github.com/open-mmlab/mmengine/pull/1373
Add the contributing doc in pr template by @zhouzaida in https://github.com/open-mmlab/mmengine/pull/1380
Update the version info by @fanqiNO1 in https://github.com/open-mmlab/mmengine/pull/1383
Fix typo by @fanqiNO1 in https://github.com/open-mmlab/mmengine/pull/1385
Bug Fixes¶
Ignore examples in CI by @zhouzaida in https://github.com/open-mmlab/mmengine/pull/1297
Fix multi-card issue in PyTorch v2.1 on Ascend by @LRJKD in https://github.com/open-mmlab/mmengine/pull/1321
Fix get
optimizer_clsby @HAOCHENYE in https://github.com/open-mmlab/mmengine/pull/1324Fix ndarray metainfo check in ConcatDataset by @NrealLzx in https://github.com/open-mmlab/mmengine/pull/1333
Adapt to PyTorch v2.1 on Ascend by @LRJKD in https://github.com/open-mmlab/mmengine/pull/1332
Fix the type check of tasks in progress bar by @zhouzaida in https://github.com/open-mmlab/mmengine/pull/1340
The keyword mode appears nested multiple times in the log by @huaibovip in https://github.com/open-mmlab/mmengine/pull/1305
Fix pydantic version to fix mlflow unit tests by @zhouzaida in https://github.com/open-mmlab/mmengine/pull/1351
Fix get class attribute from a string by @HAOCHENYE in https://github.com/open-mmlab/mmengine/pull/1345
Delete yapf verify by @okotaku in https://github.com/open-mmlab/mmengine/pull/1365
Ensure from_cfg of Runner have the same defaults values as its init by @YinAoXiong in https://github.com/open-mmlab/mmengine/pull/1368
Fix docs building error caused by deepspeed by @HAOCHENYE in https://github.com/open-mmlab/mmengine/pull/1379
Contributors¶
A total of 21 developers contributed to this release. Thanks @LZHgrla, @wangerlie, @wangg12, @RangeKing, @hiyyg, @LRJKD, @KevinNuNu, @zeyuanyin, @Desjajja, @ShuRaymond, @okotaku, @crazysteeaam, @6Vvv, @NrealLzx, @YinAoXiong, @huaibovip, @xuuyangg, @Dominic23331, @fanqiNO1, @HAOCHENYE, @zhouzaida
v0.8.4 (03/08/2023)¶
New Features & Enhancements¶
Support callable
collate_fnfor FlexibleRunner by @LZHgrla in https://github.com/open-mmlab/mmengine/pull/1284
Bug fixes¶
Skip adding
vis_backendswhensave_diris not set by @HAOCHENYE in https://github.com/open-mmlab/mmengine/pull/1289Fix dumping pure python style config in colab by @HAOCHENYE in https://github.com/open-mmlab/mmengine/pull/1290
Docs¶
Find unused parameters by @zhouzaida in https://github.com/open-mmlab/mmengine/pull/1288
Contributors¶
A total of 3 developers contributed to this release. Thanks @HAOCHENYE, @zhouzaida, @LZHgrla
v0.8.3 (31/07/2023)¶
Highlights¶
Support enabling
efficient_conv_bn_evalfor efficient convolution and batch normalization. See save memory on gpu for more detailsSupport multi-node distributed training with MLU backend
New Features & Enhancements¶
Enable
efficient_conv_bn_evalfor memory saving convolution and batch normalization by @youkaichao in https://github.com/open-mmlab/mmengine/pull/1202, https://github.com/open-mmlab/mmengine/pull/1251 and https://github.com/open-mmlab/mmengine/pull/1259Add Llama2 example by @HAOCHENYE in https://github.com/open-mmlab/mmengine/pull/1264
Compare the difference of two configs by @gachiemchiep in https://github.com/open-mmlab/mmengine/pull/1260
Enable explicit error for deepspeed not installed by @Li-Qingyun in https://github.com/open-mmlab/mmengine/pull/1240
Support skipping initialization in
BaseModuleby @HAOCHENYE in https://github.com/open-mmlab/mmengine/pull/1263Add parameter
save_beginto control when to save checkpoints by @KerwinKai in https://github.com/open-mmlab/mmengine/pull/1271Support multi-node distributed training with MLU backend by @josh6688 in https://github.com/open-mmlab/mmengine/pull/1266
Enhance error message thrown by Config, build function and
ConfigDict.itemsby @HAOCHENYE in https://github.com/open-mmlab/mmengine/pull/1272, https://github.com/open-mmlab/mmengine/pull/1270 and https://github.com/open-mmlab/mmengine/pull/1088Add the
loop_stageruntime information inmessage_hubby @zhouzaida in https://github.com/open-mmlab/mmengine/pull/1277Fix Visualizer that built
vis_backendswill not be used whensave_dirisNoneby @Xinyu302 in https://github.com/open-mmlab/mmengine/pull/1275
Bug fixes¶
Fix scalar check in RuntimeInfoHook by @i-aki-y in https://github.com/open-mmlab/mmengine/pull/1250
Move data preprocessor to target device in FSDPStrategy by @HAOCHENYE in https://github.com/open-mmlab/mmengine/pull/1261
Docs¶
Add ecosystem in README by @zhouzaida in https://github.com/open-mmlab/mmengine/pull/1247
Add short explanation about registry scope by @mmeendez8 in https://github.com/open-mmlab/mmengine/pull/1114
Add the data flow of Runner in README by @zhouzaida in https://github.com/open-mmlab/mmengine/pull/1257
Introduce how to customize distributed training settings by @zhouzaida in https://github.com/open-mmlab/mmengine/pull/1279
Contributors¶
A total of 9 developers contributed to this release. Thanks @HAOCHENYE, @youkaichao, @josh6688, @i-aki-y, @mmeendez8, @zhouzaida, @gachiemchiep, @KerwinKai, @Li-Qingyun
v0.8.2 (07/12/2023)¶
Bug fixes¶
Fix pickling the Python style config by @HAOCHENYE in https://github.com/open-mmlab/mmengine/pull/1241
Fix the logic of setting
lazy_importby @Li-Qingyun in https://github.com/open-mmlab/mmengine/pull/1239
v0.8.1 (07/05/2023)¶
New Features & Enhancements¶
Accelerate
Config.dumpand support converting Lazyxxx to string inConfigDict.to_dictby @HAOCHENYE in https://github.com/open-mmlab/mmengine/pull/1232
Bug fixes¶
FSDP should call
_get_ignored_modulesby @HAOCHENYE in https://github.com/open-mmlab/mmengine/pull/1235
Docs¶
Add a document to introduce how to train a large model by @zhouzaida in https://github.com/open-mmlab/mmengine/pull/1228
v0.8.0 (06/30/2023)¶
Highlights¶
Support training with FSDP and DeepSpeed. Refer to the example for more detailed usages.
Introduce the pure Python style configuration file:
Support navigating to base configuration file in IDE
Support navigating to base variable in IDE
Support navigating to source code of class in IDE
Support inheriting two configuration files containing the same field
Load the configuration file without other third-party requirements
Refer to the tutorial for more detailed usages.
New Features & Enhancements¶
Support training with FSDP by @HAOCHENYE in https://github.com/open-mmlab/mmengine/pull/1213
Add
FlexibleRunnerandStrategies, and support training with DeepSpeed by @zhouzaida in https://github.com/open-mmlab/mmengine/pull/1183Support pure Python style configuration file by @HAOCHENYE in https://github.com/open-mmlab/mmengine/pull/1071
Learning rate in log can show the base learning rate of optimizer by @AkideLiu in https://github.com/open-mmlab/mmengine/pull/1019
Refine the error message when auto_scale_lr is not set correctly by @alexander-soare in https://github.com/open-mmlab/mmengine/pull/1181
WandbVisBackend supports updating config by @zgzhengSEU in https://github.com/open-mmlab/mmengine/pull/977
Bug fixes¶
CheckpointHook should check whether file exists before removing it by @zhouzaida in https://github.com/open-mmlab/mmengine/pull/1198
Fix undefined variable error in Runner by @HAOCHENYE in https://github.com/open-mmlab/mmengine/pull/1219
Docs¶
Add a document to introduce how to debug with vscode by @zhouzaida in https://github.com/open-mmlab/mmengine/pull/1212
Update English introduction by @evdcush in https://github.com/open-mmlab/mmengine/pull/1189
Fix parameter typing error in document by @syo093c in https://github.com/open-mmlab/mmengine/pull/1201
Fix gpu collection during evaluation by @edkair in https://github.com/open-mmlab/mmengine/pull/1208
Fix a comment in runner tutorial by @joihn in https://github.com/open-mmlab/mmengine/pull/1210
Contributors¶
A total of 9 developers contributed to this release. Thanks @evdcush, @zhouzaida, @AkideLiu, @joihn, @HAOCHENYE, @edkair, @alexander-soare, @syo093c, @zgzhengSEU
v0.7.4 (06/03/2023)¶
Highlights¶
Support using
ClearMLto record experiment dataAdd
Sophiaoptimizers
New Features & Enhancements¶
Add visualize backend for clearml by @gachiemchiep in https://github.com/open-mmlab/mmengine/pull/1091
Support Sophia optimizers by @zhouzaida in https://github.com/open-mmlab/mmengine/pull/1170
Refactor unittest syncbuffer by @HAOCHENYE in https://github.com/open-mmlab/mmengine/pull/813
Allow
ann_file,data_rootisNoneforBaseDatasetby @HAOCHENYE in https://github.com/open-mmlab/mmengine/pull/850Enable full precision training on Ascend NPU by @Ginray in https://github.com/open-mmlab/mmengine/pull/1109
Creating a text classification example by @TankNee in https://github.com/open-mmlab/mmengine/pull/1122
Add option to log selected config only by @KickCellarDoor in https://github.com/open-mmlab/mmengine/pull/1159
Add an option to control whether to show progress bar in BaseInference by @W-ZN in https://github.com/open-mmlab/mmengine/pull/1135
Support dipu device by @CokeDong in https://github.com/open-mmlab/mmengine/pull/1127
Let unit tests not affect each other by @zhouzaida in https://github.com/open-mmlab/mmengine/pull/1169
Add support for full wandb’s
define_metricarguments by @i-aki-y in https://github.com/open-mmlab/mmengine/pull/1099
Bug fixes¶
Fix the incorrect device of inputs in get_model_complexity_info by @CescMessi in https://github.com/open-mmlab/mmengine/pull/1130
Correctly saves
_metadataofstate_dictwhen saving checkpoints by @Bomsw in https://github.com/open-mmlab/mmengine/pull/1131Correctly record random seed in log by @Shiyang980713 in https://github.com/open-mmlab/mmengine/pull/1152
Close MLflowVisBackend only if active by @zimonitrome in https://github.com/open-mmlab/mmengine/pull/1151
Fix
ProfileHookcannot profile ddp-training by @HAOCHENYE in https://github.com/open-mmlab/mmengine/pull/1140Handle the case for Multi-Instance GPUs when using
cuda_visible_devicesby @adrianjoshua-strutt in https://github.com/open-mmlab/mmengine/pull/1164Fix attribute error when parsing
CUDA_VISIBLE_DEVICESin logger @Xiangxu-0103 in https://github.com/open-mmlab/mmengine/pull/1172
Docs¶
Translate
infer.mdby @Hongru-Xiao in https://github.com/open-mmlab/mmengine/pull/1121Fix a missing comma in
tutorials/runner.mdby @gy-7 in https://github.com/open-mmlab/mmengine/pull/1146Fix typo in comment by @YQisme in https://github.com/open-mmlab/mmengine/pull/1154
Translate
data_element.mdby @xin-li-67 in https://github.com/open-mmlab/mmengine/pull/1067Add the usage of clearml by @zhouzaida in https://github.com/open-mmlab/mmengine/pull/1180
Contributors¶
A total of 19 developers contributed to this release. Thanks @Hongru-Xiao @i-aki-y @Bomsw @KickCellarDoor @zhouzaida @YQisme @gachiemchiep @CescMessi @W-ZN @Ginray @adrianjoshua-strutt @CokeDong @xin-li-67 @Xiangxu-0103 @HAOCHENYE @Shiyang980713 @TankNee @zimonitrome @gy-7
v0.7.3 (04/28/2023)¶
Highlights¶
Support using MLflow to record experiment data
Support registering callable objects to the registry
New Features & Enhancements¶
Add
MLflowVisBackendby @sh0622-kim in https://github.com/open-mmlab/mmengine/pull/878Support customizing
worker_init_fnin dataloader config by @shufanwu in https://github.com/open-mmlab/mmengine/pull/1038Make the parameters of get_model_complexity_info() friendly by @sjiang95 in https://github.com/open-mmlab/mmengine/pull/1056
Add torch_npu optimizer by @luomaoling in https://github.com/open-mmlab/mmengine/pull/1079
Support registering callable objects @C1rN09 in https://github.com/open-mmlab/mmengine/pull/595
Complement type hint of get_model_complexity_info() by @sjiang95 in https://github.com/open-mmlab/mmengine/pull/1064
MessageHub.get_info() supports returning a default value by @enkilee in https://github.com/open-mmlab/mmengine/pull/991
Refactor logger hook unit test by @HAOCHENYE in https://github.com/open-mmlab/mmengine/pull/797
Support BoolTensor and LongTensor on Ascend NPU by @Ginray in https://github.com/open-mmlab/mmengine/pull/1011
Remove useless variable declaration by @HAOCHENYE in https://github.com/open-mmlab/mmengine/pull/1052
Enhance the support for MLU device by @josh6688 in https://github.com/open-mmlab/mmengine/pull/1075
Support configuring synchronization directory for BaseMetric by @HAOCHENYE in https://github.com/open-mmlab/mmengine/pull/1074
Support accepting multiple
input_shapeforget_model_complexity_infoby @sjiang95 in https://github.com/open-mmlab/mmengine/pull/1065Enhance docstring and error catching in
MessageHubby @HAOCHENYE in https://github.com/open-mmlab/mmengine/pull/1098Enhance the efficiency of Visualizer.show by @HAOCHENYE in https://github.com/open-mmlab/mmengine/pull/1015
Update repo list by @HAOCHENYE in https://github.com/open-mmlab/mmengine/pull/1108
Enhance error message during custom import by @HAOCHENYE in https://github.com/open-mmlab/mmengine/pull/1102
Support
_load_state_dict_post_hooksinload_state_dictby @mzr1996 in https://github.com/open-mmlab/mmengine/pull/1103
Bug fixes¶
Fix publishing multiple checkpoints when using multiple GPUs by @JunweiZheng93 in https://github.com/open-mmlab/mmengine/pull/1070
Fix error when
log_with_hierarchyisTrueby @HAOCHENYE in https://github.com/open-mmlab/mmengine/pull/1085Call SyncBufferHook before validation in IterBasedTrainLoop by @Luo-Yihang in https://github.com/open-mmlab/mmengine/pull/982
Fix the resuming error caused by HistoryBuffer by @HAOCHENYE in https://github.com/open-mmlab/mmengine/pull/1078
Failed to remove the previous best checkpoints by @HAOCHENYE in https://github.com/open-mmlab/mmengine/pull/1086
Fix using incorrect local rank by @C1rN09 in https://github.com/open-mmlab/mmengine/pull/973
No training log when the num of iterations is smaller than the default interval by @shufanwu in https://github.com/open-mmlab/mmengine/pull/1046
collate_fncould not be a function object by @zhouzaida in https://github.com/open-mmlab/mmengine/pull/1093Fix
optimizer.statecould be saved in cuda:0 by @HAOCHENYE in https://github.com/open-mmlab/mmengine/pull/966Fix building unnecessary loop during train/test/val by @HAOCHENYE in https://github.com/open-mmlab/mmengine/pull/1107
Docs¶
Introduce the use of wandb and tensorboard by @zhouzaida in https://github.com/open-mmlab/mmengine/pull/912
Translate tutorials/evaluation.md by @LEFTeyex in https://github.com/open-mmlab/mmengine/pull/1053
Translate design/evaluation.md by @zccjjj in https://github.com/open-mmlab/mmengine/pull/1062
Fix three typos in runner by @jsrdcht in https://github.com/open-mmlab/mmengine/pull/1068
Translate migration/hook.md to English by @SheffieldCao in https://github.com/open-mmlab/mmengine/pull/1054
Replace MMCls with MMPretrain in docs by @zhouzaida in https://github.com/open-mmlab/mmengine/pull/1096
Contributors¶
A total of 17 developers contributed to this release. Thanks @enkilee, @JunweiZheng93, @sh0622-kim, @jsrdcht, @SheffieldCao, @josh6688, @mzr1996, @zhouzaida, @shufanwu, @Luo-Yihang, @C1rN09, @LEFTeyex, @zccjjj, @Ginray, @HAOCHENYE, @sjiang95, @luomaoling
v0.7.2 (04/06/2023)¶
Bug fixes¶
Align the evaluation result in log by @kitecats in https://github.com/open-mmlab/mmengine/pull/1034
Update the logic to calculate the
repeat_factorsinClassBalancedDatasetby @BIGWangYuDong in https://github.com/open-mmlab/mmengine/pull/1048Initialize sub-modules in
DistributedDataParallelthat defineinit_weightsduring initialization by @HAOCHENYE in https://github.com/open-mmlab/mmengine/pull/1045Refactor checkpointhook unittest by @HAOCHENYE in https://github.com/open-mmlab/mmengine/pull/789
Contributors¶
A total of 3 developers contributed to this release. Thanks @kitecats, @BIGWangYuDong, @HAOCHENYE
v0.7.1 (04/03/2023)¶
Highlights¶
Support compiling the model and enabling mixed-precision training at the same time
Fix the bug where the logs cannot be properly saved to the log file after calling
torch.compile
New Features & Enhancements¶
Add
mmpretrainto theMODULE2PACKAGE. by @mzr1996 in https://github.com/open-mmlab/mmengine/pull/1002Support using
get_devicein the compiled model by @C1rN09 in https://github.com/open-mmlab/mmengine/pull/1004Make sure the FileHandler still alive after
torch.compileby @HAOCHENYE in https://github.com/open-mmlab/mmengine/pull/1021Unify the use of
print_logandlogger.info(warning)by @LEFTeyex in https://github.com/open-mmlab/mmengine/pull/997Publish models after training if published_keys is set in CheckpointHook by @KerwinKai in https://github.com/open-mmlab/mmengine/pull/987
Enhance the error catching in registry by @HAOCHENYE in https://github.com/open-mmlab/mmengine/pull/1010
Do not print config if it is empty by @zhouzaida in https://github.com/open-mmlab/mmengine/pull/1028
Bug fixes¶
Fix there is no space between
data_timeand metric in logs by @HAOCHENYE in https://github.com/open-mmlab/mmengine/pull/1025
Docs¶
Minor fixes in EN docs to remove or replace unicode chars with ascii by @evdcush in https://github.com/open-mmlab/mmengine/pull/1018
Contributors¶
A total of 7 developers contributed to this release. Thanks @LEFTeyex, @KerwinKai, @mzr1996, @evdcush, @C1rN09, @HAOCHENYE, @zhouzaida
v0.7.0 (03/16/2023)¶
Highlights¶
Support PyTorch 2.0! Accelerate training by compiling models. See the tutorial Model Compilation for details
Add
EarlyStoppingHookto stop training when the metric does not improve
New Features & Enhancements¶
Add configurations to support
torch.compilein Runner by @C1rN09 in https://github.com/open-mmlab/mmengine/pull/976Support
EarlyStoppingHookby @nijkah in https://github.com/open-mmlab/mmengine/pull/739Disable duplicated warning during distributed training by @HAOCHENYE in https://github.com/open-mmlab/mmengine/pull/961
Add
FUNCTIONSroot Registry by @HAOCHENYE in https://github.com/open-mmlab/mmengine/pull/983Save the “memory” field to visualization backends by @enkilee in https://github.com/open-mmlab/mmengine/pull/974
Enable bf16 in
AmpOptimWrapperby @C1rN09 in https://github.com/open-mmlab/mmengine/pull/960Support writing data to
vis_backendwith prefix by @HAOCHENYE in https://github.com/open-mmlab/mmengine/pull/972Support exporting logs of different ranks in debug mode by @HAOCHENYE in https://github.com/open-mmlab/mmengine/pull/968
Silence error when
ManagerMixinbuilt instance with duplicate name. by @HAOCHENYE in https://github.com/open-mmlab/mmengine/pull/990
Bug fixes¶
Fix optim_wrapper unittest for
pytorch < 1.10.0by @C1rN09 in https://github.com/open-mmlab/mmengine/pull/975Support calculating the flops of
matmulwith single dimension matrix by @HAOCHENYE in https://github.com/open-mmlab/mmengine/pull/970Fix repeated warning by @HAOCHENYE in https://github.com/open-mmlab/mmengine/pull/992
Fix lint by @zhouzaida in https://github.com/open-mmlab/mmengine/pull/993
Fix AMP in Ascend and support using NPUJITCompile environment by @luomaoling in https://github.com/open-mmlab/mmengine/pull/994
Fix inferencer gets wrong configs path by @HAOCHENYE in https://github.com/open-mmlab/mmengine/pull/996
Docs¶
Translate “Debug Tricks” to English by @enkilee in https://github.com/open-mmlab/mmengine/pull/953
Translate “Model Analysis” document to English by @enkilee in https://github.com/open-mmlab/mmengine/pull/956
Translate “Model Complexity Analysis” to Chinese. by @VoyagerXvoyagerx in https://github.com/open-mmlab/mmengine/pull/969
Add a document about setting interval by @YuetianW in https://github.com/open-mmlab/mmengine/pull/964
Translate “how to set random seed” by @xin-li-67 in https://github.com/open-mmlab/mmengine/pull/930
Fix typo by @zhouzaida in https://github.com/open-mmlab/mmengine/pull/965
Fix typo in hook document by @acdart in https://github.com/open-mmlab/mmengine/pull/980
Fix changelog date by @HAOCHENYE in https://github.com/open-mmlab/mmengine/pull/986
Contributors¶
A total of 10 developers contributed to this release. Thanks @xin-li-67, @acdart, @enkilee, @YuetianW, @luomaoling, @nijkah, @VoyagerXvoyagerx, @zhouzaida, @HAOCHENYE, @C1rN09
v0.6.0 (02/24/2023)¶
Highlights¶
Support
ApexwithApexOptimWrapperSupport analyzing model complexity.
Add
Lionoptimizer.Support using environment variables in the config file.
New Features & Enhancements¶
Support model complexity computation by @tonysy in https://github.com/open-mmlab/mmengine/pull/779
Add Lion optimizer by @zhouzaida in https://github.com/open-mmlab/mmengine/pull/952
Support
ApexwithApexOptimWrapperby @xcnick in https://github.com/open-mmlab/mmengine/pull/742Support using environment variable in config file. by @jbwang1997 in https://github.com/open-mmlab/mmengine/pull/744
Improve registry infer_scope by @zhouzaida in https://github.com/open-mmlab/mmengine/pull/334
Support configuring
timeoutin dist configuration by @apacha in https://github.com/open-mmlab/mmengine/pull/877Beautify the print result of the registry by @Eiuyc in https://github.com/open-mmlab/mmengine/pull/922
Refine the style of table by @zhouzaida in https://github.com/open-mmlab/mmengine/pull/941
Refine the
reprof Registry by @zhouzaida in https://github.com/open-mmlab/mmengine/pull/942Feature NPUProfilerHook by @luomaoling in https://github.com/open-mmlab/mmengine/pull/925
Refactor hooks unittest by @HAOCHENYE in https://github.com/open-mmlab/mmengine/pull/946
Temporarily fix
collect_envraise errors and stops programs by @C1rN09 in https://github.com/open-mmlab/mmengine/pull/944Make sure Tensors to broadcast is contiguous by @XWHtorrentx in https://github.com/open-mmlab/mmengine/pull/948
Clean the UT warning caused by pytest by @zhouzaida in https://github.com/open-mmlab/mmengine/pull/947
Bug fixes¶
Backend_args should not be modified by get_file_backend by @zhouzaida in https://github.com/open-mmlab/mmengine/pull/897
Support update
np.ScalarTypedata in message_hub by @HAOCHENYE in https://github.com/open-mmlab/mmengine/pull/898Support rendering Chinese character in
Visualizerby @KevinNuNu in https://github.com/open-mmlab/mmengine/pull/887Fix the bug of
DefaultOptimWrapperConstructorwhen the shared parameters do not require the grad by @HIT-cwh in https://github.com/open-mmlab/mmengine/pull/903
Docs¶
Add the document for the transition between IterBasedTraining and EpochBasedTraining by @HAOCHENYE in https://github.com/open-mmlab/mmengine/pull/926
Introduce how to set random seed by @zhouzaida in https://github.com/open-mmlab/mmengine/pull/914
Count FLOPs and parameters by @zhouzaida in https://github.com/open-mmlab/mmengine/pull/939
Enhance README by @Xiangxu-0103 in https://github.com/open-mmlab/mmengine/pull/835
Add a document about debug tricks by @zhouzaida in https://github.com/open-mmlab/mmengine/pull/938
Refine the format of changelog and visualization document by @zhouzaida in https://github.com/open-mmlab/mmengine/pull/906
Move examples to a new directory by @zhouzaida in https://github.com/open-mmlab/mmengine/pull/911
Resolve warnings in sphinx build by @C1rN09 in https://github.com/open-mmlab/mmengine/pull/915
Fix docstring by @zhouzaida in https://github.com/open-mmlab/mmengine/pull/913
How to set the interval parameter by @zhouzaida in https://github.com/open-mmlab/mmengine/pull/917
Temporarily skip errors in building pdf docs at readthedocs by @C1rN09 in https://github.com/open-mmlab/mmengine/pull/928
Add the links of twitter, discord, medium, and youtube by @vansin in https://github.com/open-mmlab/mmengine/pull/924
Fix typo
sheduleby @Dai-Wenxun in https://github.com/open-mmlab/mmengine/pull/936Fix failed URL by @zhouzaida in https://github.com/open-mmlab/mmengine/pull/943
Contributors¶
A total of 15 developers contributed to this release. Thanks @Eiuyc, @xcnick, @KevinNuNu, @XWHtorrentx, @tonysy, @zhouzaida, @Xiangxu-0103, @Dai-Wenxun, @jbwang1997, @apacha, @C1rN09, @HIT-cwh, @vansin, @HAOCHENYE, @luomaoling.
v0.5.0 (01/20/2023)¶
Highlights¶
Add
BaseInferencerto provide a general inference interfaceProvide
ReduceOnPlateauParamSchedulerto adjust learning rate by metricDeprecate support for Python3.6
New Features & Enhancements¶
Deprecate support for Python3.6 by @HAOCHENYE in https://github.com/open-mmlab/mmengine/pull/863
Support non-scalar type metric value by @mzr1996 in https://github.com/open-mmlab/mmengine/pull/827
Remove unnecessary calls and lazily import to speed import performance by @zhouzaida in https://github.com/open-mmlab/mmengine/pull/837
Support
ReduceOnPlateauParamSchedulerby @LEFTeyex in https://github.com/open-mmlab/mmengine/pull/819Disable warning of subprocess launched by dataloader by @HAOCHENYE in https://github.com/open-mmlab/mmengine/pull/870
Add
BaseInferencerto provide general interface by @HAOCHENYE in https://github.com/open-mmlab/mmengine/pull/874
Bug Fixes¶
Fix support for Ascend device by @wangjiangben-hw in https://github.com/open-mmlab/mmengine/pull/847
Fix
Configcannot parse base config when there is.in tmp path, etc.tmp/a.b/cby @HAOCHENYE in https://github.com/open-mmlab/mmengine/pull/856Fix unloaded weights will not be initialized when using
PretrainedIinitby @HAOCHENYE in https://github.com/open-mmlab/mmengine/pull/764Fix error package name defined in
PKG2PROJECTby @HAOCHENYE in https://github.com/open-mmlab/mmengine/pull/872
Docs¶
Fix typos in
advanced_tutorials/logging.mdby @RangeKing in https://github.com/open-mmlab/mmengine/pull/861Translate CN
train_a_ganto EN by @yaqi0510 in https://github.com/open-mmlab/mmengine/pull/860Update
fileio.mdby @Xiangxu-0103 in https://github.com/open-mmlab/mmengine/pull/869Add Chinese documentation for
inferencer. by @HAOCHENYE in https://github.com/open-mmlab/mmengine/pull/884
Contributors¶
A total of 8 developers contributed to this release. Thanks @LEFTeyex, @RangeKing, @yaqi0510, @Xiangxu-0103, @wangjiangben-hw, @mzr1996, @zhouzaida, @HAOCHENYE.
v0.4.0 (12/28/2022)¶
Highlights¶
Registry supports importing modules automatically
Upgrade the documentation and provide the English documentation
Provide
ProfileHookto profile the running process
New Features & Enhancements¶
Add
conf_pathin PetrelBackend by @sunyc11 in https://github.com/open-mmlab/mmengine/pull/774Support multiple
--cfg-options. by @mzr1996 in https://github.com/open-mmlab/mmengine/pull/759Support passing arguments to
OptimWrapper.update_paramsby @twmht in https://github.com/open-mmlab/mmengine/pull/796Make
get_torchvision_modelcompatible with torch 1.13 by @HAOCHENYE in https://github.com/open-mmlab/mmengine/pull/793Support
flat_decay_multand fixbias_decay_multof depth-wise-conv inDefaultOptimWrapperConstructorby @RangiLyu in https://github.com/open-mmlab/mmengine/pull/771Registry supports importing modules automatically. by @RangiLyu in https://github.com/open-mmlab/mmengine/pull/643
Add profiler hook functionality by @BayMaxBHL in https://github.com/open-mmlab/mmengine/pull/768
Make TTAModel compatible with FSDP. by @HAOCHENYE in https://github.com/open-mmlab/mmengine/pull/611
Bug Fixes¶
hub.get_modelfails on some MMCls models by @C1rN09 in https://github.com/open-mmlab/mmengine/pull/784Fix
BaseModel.toandBaseDataPreprocessor.toto make them consistent withtorch.nn.Moduleby @C1rN09 in https://github.com/open-mmlab/mmengine/pull/783Fix creating a new logger at PretrainedInit by @xiexinch in https://github.com/open-mmlab/mmengine/pull/791
Fix
ZeroRedundancyOptimizerambiguous error with param groups when PyTorch < 1.12.0 by @C1rN09 in https://github.com/open-mmlab/mmengine/pull/818Fix MessageHub set resumed key repeatedly by @HAOCHENYE in https://github.com/open-mmlab/mmengine/pull/839
Add
progressargument toload_from_httpby @austinmw in https://github.com/open-mmlab/mmengine/pull/770Ensure metrics is not empty when saving best checkpoint by @zhouzaida in https://github.com/open-mmlab/mmengine/pull/849
Docs¶
Add
contributing.mdby @HAOCHENYE in https://github.com/open-mmlab/mmengine/pull/754Add gif to 15 min tutorial by @HAOCHENYE in https://github.com/open-mmlab/mmengine/pull/748
Refactor documentations and translate them to English by @zhouzaida in https://github.com/open-mmlab/mmengine/pull/786
Fix document link by @MambaWong in https://github.com/open-mmlab/mmengine/pull/775
Fix typos in EN
contributing.mdby @RangeKing in https://github.com/open-mmlab/mmengine/pull/792Translate data transform docs. by @mzr1996 in https://github.com/open-mmlab/mmengine/pull/737
Replace markdown table with html table by @HAOCHENYE in https://github.com/open-mmlab/mmengine/pull/800
Fix wrong example in
Visualizer.draw_polygonsby @lyviva in https://github.com/open-mmlab/mmengine/pull/798Fix docstring format and rescale the images by @zhouzaida in https://github.com/open-mmlab/mmengine/pull/802
Fix failed link in registry by @zhouzaida in https://github.com/open-mmlab/mmengine/pull/811
Fix typos by @shanmo in https://github.com/open-mmlab/mmengine/pull/814
Fix wrong links and typos in docs by @shanmo in https://github.com/open-mmlab/mmengine/pull/815
Translate
save_gpu_memory.mdby @xin-li-67 in https://github.com/open-mmlab/mmengine/pull/803Translate the documentation of hook design by @zhouzaida in https://github.com/open-mmlab/mmengine/pull/780
Fix docstring format by @zhouzaida in https://github.com/open-mmlab/mmengine/pull/816
Translate
registry.mdby @xin-li-67 in https://github.com/open-mmlab/mmengine/pull/817Update docstring of
BaseDataElementby @Xiangxu-0103 in https://github.com/open-mmlab/mmengine/pull/836Fix typo by @Xiangxu-0103 in https://github.com/open-mmlab/mmengine/pull/841
Update docstring of
structuresby @Xiangxu-0103 in https://github.com/open-mmlab/mmengine/pull/840Translate
optim_wrapper.mdby @xin-li-67 in https://github.com/open-mmlab/mmengine/pull/833Fix link error in initialize tutorial. by @HAOCHENYE in https://github.com/open-mmlab/mmengine/pull/843
Fix table in
initialized.mdby @HAOCHENYE in https://github.com/open-mmlab/mmengine/pull/844
Contributors¶
A total of 16 developers contributed to this release. Thanks @BayMaxBHL, @RangeKing, @Xiangxu-0103, @xin-li-67, @twmht, @shanmo, @sunyc11, @lyviva, @austinmw, @xiexinch, @mzr1996, @RangiLyu, @MambaWong, @C1rN09, @zhouzaida, @HAOCHENYE
v0.3.2 (11/24/2022)¶
New Features & Enhancements¶
Send git errors to subprocess.PIPE by @austinmw in https://github.com/open-mmlab/mmengine/pull/717
Add a common
TestRunnerTestCaseto build a Runner instance. by @HAOCHENYE in https://github.com/open-mmlab/mmengine/pull/631Align the log by @HAOCHENYE in https://github.com/open-mmlab/mmengine/pull/436
Log the called order of hooks during training process by @songyuc in https://github.com/open-mmlab/mmengine/pull/672
Support setting
eta_min_ratioinCosineAnnealingParamSchedulerby @cir7 in https://github.com/open-mmlab/mmengine/pull/725Enhance compatibility of
revert_sync_batchnormby @HAOCHENYE in https://github.com/open-mmlab/mmengine/pull/695
Bug Fixes¶
Fix
distributed_training.pyin examples by @PingHGao in https://github.com/open-mmlab/mmengine/pull/700Format the log of
CheckpointLoader.load_checkpointby @HAOCHENYE in https://github.com/open-mmlab/mmengine/pull/685Fix bug of CosineAnnealingParamScheduler by @fangyixiao18 in https://github.com/open-mmlab/mmengine/pull/735
Fix
add_graphis not called bug by @shenmishajing in https://github.com/open-mmlab/mmengine/pull/632Fix .pre-commit-config-zh-cn.yaml pyupgrade-repo github->gitee by @BayMaxBHL in https://github.com/open-mmlab/mmengine/pull/756
Docs¶
Add English docs of BaseDataset by @GT9505 in https://github.com/open-mmlab/mmengine/pull/713
Fix
BaseDatasettypo about lazy initialization by @MengzhangLI in https://github.com/open-mmlab/mmengine/pull/733Fix typo by @zhouzaida in https://github.com/open-mmlab/mmengine/pull/734
Translate visualization docs by @xin-li-67 in https://github.com/open-mmlab/mmengine/pull/692
v0.3.1 (11/09/2022)¶
Highlights¶
Fix error when saving best checkpoint in ddp-training
New Features & Enhancements¶
Replace
printwithprint_logfor those functions called by runner by @HAOCHENYE in https://github.com/open-mmlab/mmengine/pull/686
Bug Fixes¶
Fix error when saving best checkpoint in ddp-training by @HAOCHENYE in https://github.com/open-mmlab/mmengine/pull/682
Docs¶
Refine Chinese tutorials by @Xiangxu-0103 in https://github.com/open-mmlab/mmengine/pull/694
Add MMEval in README by @sanbuphy in https://github.com/open-mmlab/mmengine/pull/669
Fix error URL in runner docstring by @HAOCHENYE in https://github.com/open-mmlab/mmengine/pull/668
Fix error evaluator type name in
evaluator.mdby @sanbuphy in https://github.com/open-mmlab/mmengine/pull/675Fix typo in
utils.md@sanbuphy in https://github.com/open-mmlab/mmengine/pull/702
v0.3.0 (11/02/2022)¶
New Features & Enhancements¶
Support running on Ascend chip by @wangjiangben-hw in https://github.com/open-mmlab/mmengine/pull/572
Support torch
ZeroRedundancyOptimizerby @nijkah in https://github.com/open-mmlab/mmengine/pull/551Add non-blocking feature to
BaseDataPreprocessorby @shenmishajing in https://github.com/open-mmlab/mmengine/pull/618Add documents for
clip_grad, and support clip grad by value. by @HAOCHENYE in https://github.com/open-mmlab/mmengine/pull/513Add ROCm info when collecting env by @zhouzaida in https://github.com/open-mmlab/mmengine/pull/633
Add a function to mark the deprecated function. by @HAOCHENYE in https://github.com/open-mmlab/mmengine/pull/609
Call
register_all_modulesinRegistry.get()by @HAOCHENYE in https://github.com/open-mmlab/mmengine/pull/541Deprecate
_save_to_state_dictimplemented in mmengine by @HAOCHENYE in https://github.com/open-mmlab/mmengine/pull/610Add
ignore_keysin ConcatDataset by @BIGWangYuDong in https://github.com/open-mmlab/mmengine/pull/556
Docs¶
Fix cannot show
changelog.mdin chinese documents. by @HAOCHENYE in https://github.com/open-mmlab/mmengine/pull/606Fix Chinese docs whitespaces by @C1rN09 in https://github.com/open-mmlab/mmengine/pull/521
Translate installation and 15_min by @xin-li-67 in https://github.com/open-mmlab/mmengine/pull/629
Refine chinese doc by @Tau-J in https://github.com/open-mmlab/mmengine/pull/516
Add MMYOLO link in README by @Xiangxu-0103 in https://github.com/open-mmlab/mmengine/pull/634
Add MMEngine logo in docs by @zhouzaida in https://github.com/open-mmlab/mmengine/pull/641
Fix docstring of
BaseDatasetby @HAOCHENYE in https://github.com/open-mmlab/mmengine/pull/656Fix docstring and documentation used for
hub.get_modelby @zengyh1900 in https://github.com/open-mmlab/mmengine/pull/659Fix typo in
docs/zh_cn/advanced_tutorials/visualization.mdby @MambaWong in https://github.com/open-mmlab/mmengine/pull/616Fix typo docstring of
DefaultOptimWrapperConstructorby @triple-Mu in https://github.com/open-mmlab/mmengine/pull/644Fix typo in advanced tutorial by @cxiang26 in https://github.com/open-mmlab/mmengine/pull/650
Fix typo in
Configdocstring by @sanbuphy in https://github.com/open-mmlab/mmengine/pull/654Fix typo in
docs/zh_cn/tutorials/config.mdby @Xiangxu-0103 in https://github.com/open-mmlab/mmengine/pull/596Fix typo in
docs/zh_cn/tutorials/model.mdby @C1rN09 in https://github.com/open-mmlab/mmengine/pull/598
Bug Fixes¶
Fix error calculation of
eta_mininCosineRestartParamSchedulerby @Z-Fran in https://github.com/open-mmlab/mmengine/pull/639Fix
BaseDataPreprocessor.cast_datacould not handle string data by @HAOCHENYE in https://github.com/open-mmlab/mmengine/pull/602Make
autocastcompatible with mps by @HAOCHENYE in https://github.com/open-mmlab/mmengine/pull/587Fix error format of log message by @HAOCHENYE in https://github.com/open-mmlab/mmengine/pull/508
Fix error implementation of
is_model_wrapperby @HAOCHENYE in https://github.com/open-mmlab/mmengine/pull/640Fix
VisBackend.add_configis not called by @shenmishajing in https://github.com/open-mmlab/mmengine/pull/613Change
strict_loadof EMAHook to False by default by @HAOCHENYE in https://github.com/open-mmlab/mmengine/pull/642Fix
openencoding problem of Config in Windows by @sanbuphy in https://github.com/open-mmlab/mmengine/pull/648Fix the total number of iterations in log is a float number. by @jbwang1997 in https://github.com/open-mmlab/mmengine/pull/604
Fix
pip upgradeCI by @HAOCHENYE in https://github.com/open-mmlab/mmengine/pull/622
New Contributors¶
@shenmishajing made their first contribution in https://github.com/open-mmlab/mmengine/pull/618
@Xiangxu-0103 made their first contribution in https://github.com/open-mmlab/mmengine/pull/596
@Tau-J made their first contribution in https://github.com/open-mmlab/mmengine/pull/516
@wangjiangben-hw made their first contribution in https://github.com/open-mmlab/mmengine/pull/572
@triple-Mu made their first contribution in https://github.com/open-mmlab/mmengine/pull/644
@sanbuphy made their first contribution in https://github.com/open-mmlab/mmengine/pull/648
@Z-Fran made their first contribution in https://github.com/open-mmlab/mmengine/pull/639
@BIGWangYuDong made their first contribution in https://github.com/open-mmlab/mmengine/pull/556
@zengyh1900 made their first contribution in https://github.com/open-mmlab/mmengine/pull/659
v0.2.0 (10/11/2022)¶
New Features & Enhancements¶
Add SMDDP backend and support running on AWS by @austinmw in https://github.com/open-mmlab/mmengine/pull/579
Refactor
FileIObut without breaking bc by @zhouzaida in https://github.com/open-mmlab/mmengine/pull/533Add test time augmentation base model by @HAOCHENYE in https://github.com/open-mmlab/mmengine/pull/538
Use
torch.lerp\_()to speed up EMA by @RangiLyu in https://github.com/open-mmlab/mmengine/pull/519Support converting
BNtoSyncBNby config by @HAOCHENYE in https://github.com/open-mmlab/mmengine/pull/506Support defining metric name in wandb backend by @okotaku in https://github.com/open-mmlab/mmengine/pull/509
Add dockerfile by @zhouzaida in https://github.com/open-mmlab/mmengine/pull/347
Docs¶
Fix API files of English documentation by @zhouzaida in https://github.com/open-mmlab/mmengine/pull/525
Fix typo in
instance_data.pyby @Dai-Wenxun in https://github.com/open-mmlab/mmengine/pull/530Fix the docstring of the model sub-package by @zhouzaida in https://github.com/open-mmlab/mmengine/pull/573
Fix a spelling error in docs/zh_cn by @cxiang26 in https://github.com/open-mmlab/mmengine/pull/548
Fix typo in docstring by @MengzhangLI in https://github.com/open-mmlab/mmengine/pull/527
Update
config.mdby @Zhengfei-0311 in https://github.com/open-mmlab/mmengine/pull/562
Bug Fixes¶
Fix
LogProcessordoes not smooth loss if the name of loss doesn’t start withlossby @liuyanyi in https://github.com/open-mmlab/mmengine/pull/539Fix failed to enable
detect_anomalous_paramsinMMSeparateDistributedDataParallelby @HAOCHENYE in https://github.com/open-mmlab/mmengine/pull/588Fix CheckpointHook behavior unexpected if given
filename_tmplargument by @C1rN09 in https://github.com/open-mmlab/mmengine/pull/518Fix error argument sequence in
FSDPby @HAOCHENYE in https://github.com/open-mmlab/mmengine/pull/520Fix uploading image in wandb backend @okotaku in https://github.com/open-mmlab/mmengine/pull/510
Fix loading state dictionary in
EMAHookby @okotaku in https://github.com/open-mmlab/mmengine/pull/507Fix circle import in
EMAHookby @HAOCHENYE in https://github.com/open-mmlab/mmengine/pull/523Fix unit test could fail caused by
MultiProcessTestCaseby @HAOCHENYE in https://github.com/open-mmlab/mmengine/pull/535Remove unnecessary “if statement” in
Registryby @MambaWong in https://github.com/open-mmlab/mmengine/pull/536Fix
_save_to_state_dictby @HAOCHENYE in https://github.com/open-mmlab/mmengine/pull/542Support comparing NumPy array dataset meta in
Runner.resumeby @HAOCHENYE in https://github.com/open-mmlab/mmengine/pull/511Use
getinstead ofpopto dumprunner_typeinbuild_runner_from_cfgby @nijkah in https://github.com/open-mmlab/mmengine/pull/549Upgrade pre-commit hooks by @zhouzaida in https://github.com/open-mmlab/mmengine/pull/576
Delete the error comment in
registry.mdby @vansin in https://github.com/open-mmlab/mmengine/pull/514Fix Some out-of-date unit tests by @C1rN09 in https://github.com/open-mmlab/mmengine/pull/586
Fix typo in
MMFullyShardedDataParallelby @yhna940 in https://github.com/open-mmlab/mmengine/pull/569Update Github Action CI and CircleCI by @zhouzaida in https://github.com/open-mmlab/mmengine/pull/512
Fix unit test in windows by @HAOCHENYE in https://github.com/open-mmlab/mmengine/pull/515
Fix merge ci & multiprocessing unit test by @HAOCHENYE in https://github.com/open-mmlab/mmengine/pull/529
New Contributors¶
@okotaku made their first contribution in https://github.com/open-mmlab/mmengine/pull/510
@MengzhangLI made their first contribution in https://github.com/open-mmlab/mmengine/pull/527
@MambaWong made their first contribution in https://github.com/open-mmlab/mmengine/pull/536
@cxiang26 made their first contribution in https://github.com/open-mmlab/mmengine/pull/548
@nijkah made their first contribution in https://github.com/open-mmlab/mmengine/pull/549
@Zhengfei-0311 made their first contribution in https://github.com/open-mmlab/mmengine/pull/562
@austinmw made their first contribution in https://github.com/open-mmlab/mmengine/pull/579
@yhna940 made their first contribution in https://github.com/open-mmlab/mmengine/pull/569
@liuyanyi made their first contribution in https://github.com/open-mmlab/mmengine/pull/539