Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenGVLab/InternVL
/ save_config
Function
save_config
classification/main_deepspeed.py:88–92 ·
view source on GitHub ↗
(config)
Source
from the content-addressed store, hash-verified
86
87
88
def
save_config(config):
89
path = os.path.join(config.OUTPUT,
'config.json'
)
90
with
open(path,
'w'
)
as
f:
91
f.write(config.dump())
92
logger.info(f
'Full config saved to {path}'
)
93
94
95
def
build_criterion(config):
Callers
1
main_deepspeed.py
File · 0.70
Calls
1
write
Method · 0.45
Tested by
no test coverage detected