Skip to content

Commit

Permalink
Update CHANGELOG & fix small job_arguments bug
Browse files Browse the repository at this point in the history
  • Loading branch information
RobertTLange committed Jun 23, 2021
1 parent a7ebf9e commit 4e0f78f
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 6 deletions.
10 changes: 7 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,21 @@
### v0.2.9 - TBC
### v0.2.9 - 06/23/2021

##### Added

- Adds monitoring panel for GCP in `mle monitor` dashboard.
- Adds asynchronous job launching via new `ExperimentQueue` and monitoring based on `max_running_jobs` budget. This release changes the previous job launching infrastructure. We no longer rely on one process per job, but monitor all scheduled jobs passively in a for-loop.
- Adds GitHub Pages hosted documentation using mkdocs and the Material framework. The documentation is hosted under roberttlange.github.io/mle-toolbox. It is still very much work in progress.

##### Changed

- Adds support for additional setup bash files when launching GCP VM in `single_job_args`.
- Adds Q/A for upload/deletion of directory to GCS bucket.
- All GCP-CPU resources are now queried via [custom machine types](https://cloud.google.com/compute/docs/instances/creating-instance-with-custom-machine-type#gcloud) - Default cheap n1.
- Separate different `requirements.txt` for minimal installation, examples and testing.

##### Fixed
- Restructures the search experiment API in the `.yaml` file. We now differentiate between 3 pillars:
1. `search_logging`: General options such as reloading of previous log, verbosity, metrics in `.hdf5` log to monitor and how to do so.
2. `search_resources`: How many jobs, batches, maximum number of simultaneously running jobs, etc..
3. `search_config`: Options regarding the search type (random, grid, smbo) and the parameters to search over (spaces, resolution, etc.).


### v0.2.8 - 05/06/2021
Expand Down
4 changes: 2 additions & 2 deletions mle_toolbox/experiment/experiment.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,8 @@ def __init__(self,
if not os.path.exists(self.experiment_dir):
os.makedirs(self.experiment_dir)

# Check if all required args are given - otw. add default
self.job_arguments = self.check_job_args(job_arguments)
# Check if all required args are given - otw. add default to copy
self.job_arguments = self.check_job_args(job_arguments.copy())

# Create command line arguments for job to schedule (passed to .py)
self.cmd_line_args = self.generate_cmd_line_args(cmd_line_input)
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@


def parse_requirements(path):
with open(os.path.join(_CURRENT_DIR, path)) as f:
with open(os.path.join(CURRENT_DIR, path)) as f:
return [l.rstrip() for l in f if not (l.isspace() or l.startswith('#'))]


Expand Down

0 comments on commit 4e0f78f

Please sign in to comment.