InternLM/internlm/core/context
Wenwen Qu 7f687bf4b3
fix(core/context): use dummy mode to generate random numbers in model construction (#266)
* change mode to dummy in model construction and restore to data when done

* add comments

* move set_mode(.DATA) to initialize_model(.)
2023-09-06 14:34:11 +08:00
..
__init__.py Feat/add runntime gpu test (#254) 2023-09-01 13:38:01 +08:00
parallel_context.py fix(core/context): use dummy mode to generate random numbers in model construction (#266) 2023-09-06 14:34:11 +08:00
process_group_initializer.py fix(core/context): use dummy mode to generate random numbers in model construction (#266) 2023-09-06 14:34:11 +08:00
random.py initial commit 2023-07-06 12:55:23 +08:00