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_location
in 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_parameters
forDeepSpeedEngine._zero3_consolidated_16bit_state_dict
by @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_cfg
by @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=False
for 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_dict
by @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_results
to 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
ImportError
to coverModuleNotFoundError
by @del-zhenwu in https://github.com/open-mmlab/mmengine/pull/1438
Bug Fixes¶
Fix bug in
load_model_state_dict
ofBaseStrategy
by @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_parameters
forDeepSpeedStrategy
by @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
,DVCLiveVisBackend
andAimVisBackend
. 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
NeptuneVisBackend
by @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
DVCLiveVisBackend
by @RangeKing in https://github.com/open-mmlab/mmengine/pull/1336Add
AimVisBackend
by @RangeKing in https://github.com/open-mmlab/mmengine/pull/1347Support bitsandbytes by @okotaku in https://github.com/open-mmlab/mmengine/pull/1357
Support
Adafactor
Optimizer 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
Runner
for 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_cls
by @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_fn
for FlexibleRunner by @LZHgrla in https://github.com/open-mmlab/mmengine/pull/1284
Bug fixes¶
Skip adding
vis_backends
whensave_dir
is 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_eval
for 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_eval
for 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
BaseModule
by @HAOCHENYE in https://github.com/open-mmlab/mmengine/pull/1263Add parameter
save_begin
to 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.items
by @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_stage
runtime information inmessage_hub
by @zhouzaida in https://github.com/open-mmlab/mmengine/pull/1277Fix Visualizer that built
vis_backends
will not be used whensave_dir
isNone
by @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_import
by @Li-Qingyun in https://github.com/open-mmlab/mmengine/pull/1239
v0.8.1 (07/05/2023)¶
New Features & Enhancements¶
Accelerate
Config.dump
and support converting Lazyxxx to string inConfigDict.to_dict
by @HAOCHENYE in https://github.com/open-mmlab/mmengine/pull/1232
Bug fixes¶
FSDP should call
_get_ignored_modules
by @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
FlexibleRunner
andStrategies
, 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
ClearML
to record experiment dataAdd
Sophia
optimizers
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_root
isNone
forBaseDataset
by @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_metric
arguments 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
_metadata
ofstate_dict
when 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
ProfileHook
cannot profile ddp-training by @HAOCHENYE in https://github.com/open-mmlab/mmengine/pull/1140Handle the case for Multi-Instance GPUs when using
cuda_visible_devices
by @adrianjoshua-strutt in https://github.com/open-mmlab/mmengine/pull/1164Fix attribute error when parsing
CUDA_VISIBLE_DEVICES
in logger @Xiangxu-0103 in https://github.com/open-mmlab/mmengine/pull/1172
Docs¶
Translate
infer.md
by @Hongru-Xiao in https://github.com/open-mmlab/mmengine/pull/1121Fix a missing comma in
tutorials/runner.md
by @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.md
by @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
MLflowVisBackend
by @sh0622-kim in https://github.com/open-mmlab/mmengine/pull/878Support customizing
worker_init_fn
in 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_shape
forget_model_complexity_info
by @sjiang95 in https://github.com/open-mmlab/mmengine/pull/1065Enhance docstring and error catching in
MessageHub
by @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_hooks
inload_state_dict
by @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_hierarchy
isTrue
by @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_fn
could not be a function object by @zhouzaida in https://github.com/open-mmlab/mmengine/pull/1093Fix
optimizer.state
could 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_factors
inClassBalancedDataset
by @BIGWangYuDong in https://github.com/open-mmlab/mmengine/pull/1048Initialize sub-modules in
DistributedDataParallel
that defineinit_weights
during 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
mmpretrain
to theMODULE2PACKAGE
. by @mzr1996 in https://github.com/open-mmlab/mmengine/pull/1002Support using
get_device
in the compiled model by @C1rN09 in https://github.com/open-mmlab/mmengine/pull/1004Make sure the FileHandler still alive after
torch.compile
by @HAOCHENYE in https://github.com/open-mmlab/mmengine/pull/1021Unify the use of
print_log
andlogger.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_time
and 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
EarlyStoppingHook
to stop training when the metric does not improve
New Features & Enhancements¶
Add configurations to support
torch.compile
in Runner by @C1rN09 in https://github.com/open-mmlab/mmengine/pull/976Support
EarlyStoppingHook
by @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
FUNCTIONS
root 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
AmpOptimWrapper
by @C1rN09 in https://github.com/open-mmlab/mmengine/pull/960Support writing data to
vis_backend
with 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
ManagerMixin
built 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.0
by @C1rN09 in https://github.com/open-mmlab/mmengine/pull/975Support calculating the flops of
matmul
with 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
Apex
withApexOptimWrapper
Support analyzing model complexity.
Add
Lion
optimizer.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
Apex
withApexOptimWrapper
by @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
timeout
in 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
repr
of 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_env
raise 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.ScalarType
data in message_hub by @HAOCHENYE in https://github.com/open-mmlab/mmengine/pull/898Support rendering Chinese character in
Visualizer
by @KevinNuNu in https://github.com/open-mmlab/mmengine/pull/887Fix the bug of
DefaultOptimWrapperConstructor
when 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
shedule
by @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
BaseInferencer
to provide a general inference interfaceProvide
ReduceOnPlateauParamScheduler
to 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
ReduceOnPlateauParamScheduler
by @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
BaseInferencer
to 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
Config
cannot parse base config when there is.
in tmp path, etc.tmp/a.b/c
by @HAOCHENYE in https://github.com/open-mmlab/mmengine/pull/856Fix unloaded weights will not be initialized when using
PretrainedIinit
by @HAOCHENYE in https://github.com/open-mmlab/mmengine/pull/764Fix error package name defined in
PKG2PROJECT
by @HAOCHENYE in https://github.com/open-mmlab/mmengine/pull/872
Docs¶
Fix typos in
advanced_tutorials/logging.md
by @RangeKing in https://github.com/open-mmlab/mmengine/pull/861Translate CN
train_a_gan
to EN by @yaqi0510 in https://github.com/open-mmlab/mmengine/pull/860Update
fileio.md
by @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
ProfileHook
to profile the running process
New Features & Enhancements¶
Add
conf_path
in 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_params
by @twmht in https://github.com/open-mmlab/mmengine/pull/796Make
get_torchvision_model
compatible with torch 1.13 by @HAOCHENYE in https://github.com/open-mmlab/mmengine/pull/793Support
flat_decay_mult
and fixbias_decay_mult
of depth-wise-conv inDefaultOptimWrapperConstructor
by @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_model
fails on some MMCls models by @C1rN09 in https://github.com/open-mmlab/mmengine/pull/784Fix
BaseModel.to
andBaseDataPreprocessor.to
to make them consistent withtorch.nn.Module
by @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
ZeroRedundancyOptimizer
ambiguous 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
progress
argument toload_from_http
by @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.md
by @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.md
by @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_polygons
by @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.md
by @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.md
by @xin-li-67 in https://github.com/open-mmlab/mmengine/pull/817Update docstring of
BaseDataElement
by @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
structures
by @Xiangxu-0103 in https://github.com/open-mmlab/mmengine/pull/840Translate
optim_wrapper.md
by @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.md
by @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
TestRunnerTestCase
to 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_ratio
inCosineAnnealingParamScheduler
by @cir7 in https://github.com/open-mmlab/mmengine/pull/725Enhance compatibility of
revert_sync_batchnorm
by @HAOCHENYE in https://github.com/open-mmlab/mmengine/pull/695
Bug Fixes¶
Fix
distributed_training.py
in examples by @PingHGao in https://github.com/open-mmlab/mmengine/pull/700Format the log of
CheckpointLoader.load_checkpoint
by @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_graph
is 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
BaseDataset
typo 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
print
withprint_log
for 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.md
by @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
ZeroRedundancyOptimizer
by @nijkah in https://github.com/open-mmlab/mmengine/pull/551Add non-blocking feature to
BaseDataPreprocessor
by @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_modules
inRegistry.get()
by @HAOCHENYE in https://github.com/open-mmlab/mmengine/pull/541Deprecate
_save_to_state_dict
implemented in mmengine by @HAOCHENYE in https://github.com/open-mmlab/mmengine/pull/610Add
ignore_keys
in ConcatDataset by @BIGWangYuDong in https://github.com/open-mmlab/mmengine/pull/556
Docs¶
Fix cannot show
changelog.md
in 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
BaseDataset
by @HAOCHENYE in https://github.com/open-mmlab/mmengine/pull/656Fix docstring and documentation used for
hub.get_model
by @zengyh1900 in https://github.com/open-mmlab/mmengine/pull/659Fix typo in
docs/zh_cn/advanced_tutorials/visualization.md
by @MambaWong in https://github.com/open-mmlab/mmengine/pull/616Fix typo docstring of
DefaultOptimWrapperConstructor
by @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
Config
docstring by @sanbuphy in https://github.com/open-mmlab/mmengine/pull/654Fix typo in
docs/zh_cn/tutorials/config.md
by @Xiangxu-0103 in https://github.com/open-mmlab/mmengine/pull/596Fix typo in
docs/zh_cn/tutorials/model.md
by @C1rN09 in https://github.com/open-mmlab/mmengine/pull/598
Bug Fixes¶
Fix error calculation of
eta_min
inCosineRestartParamScheduler
by @Z-Fran in https://github.com/open-mmlab/mmengine/pull/639Fix
BaseDataPreprocessor.cast_data
could not handle string data by @HAOCHENYE in https://github.com/open-mmlab/mmengine/pull/602Make
autocast
compatible 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_wrapper
by @HAOCHENYE in https://github.com/open-mmlab/mmengine/pull/640Fix
VisBackend.add_config
is not called by @shenmishajing in https://github.com/open-mmlab/mmengine/pull/613Change
strict_load
of EMAHook to False by default by @HAOCHENYE in https://github.com/open-mmlab/mmengine/pull/642Fix
open
encoding 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 upgrade
CI 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
FileIO
but 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
BN
toSyncBN
by 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.py
by @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.md
by @Zhengfei-0311 in https://github.com/open-mmlab/mmengine/pull/562
Bug Fixes¶
Fix
LogProcessor
does not smooth loss if the name of loss doesn’t start withloss
by @liuyanyi in https://github.com/open-mmlab/mmengine/pull/539Fix failed to enable
detect_anomalous_params
inMMSeparateDistributedDataParallel
by @HAOCHENYE in https://github.com/open-mmlab/mmengine/pull/588Fix CheckpointHook behavior unexpected if given
filename_tmpl
argument by @C1rN09 in https://github.com/open-mmlab/mmengine/pull/518Fix error argument sequence in
FSDP
by @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
EMAHook
by @okotaku in https://github.com/open-mmlab/mmengine/pull/507Fix circle import in
EMAHook
by @HAOCHENYE in https://github.com/open-mmlab/mmengine/pull/523Fix unit test could fail caused by
MultiProcessTestCase
by @HAOCHENYE in https://github.com/open-mmlab/mmengine/pull/535Remove unnecessary “if statement” in
Registry
by @MambaWong in https://github.com/open-mmlab/mmengine/pull/536Fix
_save_to_state_dict
by @HAOCHENYE in https://github.com/open-mmlab/mmengine/pull/542Support comparing NumPy array dataset meta in
Runner.resume
by @HAOCHENYE in https://github.com/open-mmlab/mmengine/pull/511Use
get
instead ofpop
to dumprunner_type
inbuild_runner_from_cfg
by @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.md
by @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
MMFullyShardedDataParallel
by @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