maybe fix wandb sweeps
This commit is contained in:
		
							parent
							
								
									df0ca53a0a
								
							
						
					
					
						commit
						47c0b7b2c8
					
				| @ -183,8 +183,8 @@ class Slate(): | ||||
|         schedC = self.consume(config, 'scheduler') | ||||
|         s_name = self.consume(slurmC, 'name') | ||||
| 
 | ||||
|         # Pre Validation | ||||
|         runnerName, _ = self.consume(config, 'runner'), self.consume(config, 'wandb', {}, expand=True) | ||||
| 
 | ||||
|         if self.consume(slurmC, 'pre_validate', True): | ||||
|             Runner = self.runners[runnerName] | ||||
|             runner = Runner(self, config) | ||||
| @ -296,6 +296,7 @@ class Slate(): | ||||
|         ) as run: | ||||
|             config = copy.deepcopy(orig_config) | ||||
|             self.deep_update(config, wandb.config) | ||||
|             run.config = copy.deepcopy(orig_config) | ||||
|             runner = Runner(self, config) | ||||
|             runner.setup() | ||||
|             runner.run(run) | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user