Fix: Ensure job_type never exceeds limit
This commit is contained in:
parent
ff5b79feaf
commit
e7d6326546
@ -305,6 +305,8 @@ class Slate():
|
||||
config = copy.deepcopy(orig_config)
|
||||
runnerConf = self._make_config_for_run(config, r)
|
||||
wandbC = self.consume(runnerConf, 'wandb', {}, expand=True, delta_desc=runnerConf.pop('delta_desc', 'BASE'))
|
||||
if 'job_type' in wandbC and len(wandbC['job_type']) > 62:
|
||||
wandbC['job_type'] = "..."+wandbC['job_type'][-50:]
|
||||
with wandb.init(
|
||||
project=project,
|
||||
config=copy.deepcopy(runnerConf),
|
||||
|
Loading…
Reference in New Issue
Block a user