Skip to content

Releases: allenai/beaker-py

v1.17.6

20 Feb 20:06
Compare
Choose a tag to compare

What's new

Fixed βœ…

  • Fixed bug causing slow dataset downloads.

Commits

5364ac2 loosen dev dependencies, further perf improvements (#214)
9282bc4 Fix issue with fetching large dataset files (#213)

v1.17.5

18 Feb 00:18
Compare
Choose a tag to compare

What's new

Added πŸŽ‰

  • Added new field Job.result, Job.execution.result is deprecated.
  • Added new field Task.replica_rank.

Commits

137d92a add new fields (#211)

v1.17.4

17 Feb 20:44
Compare
Choose a tag to compare

What's new

Fixed βœ…

  • Fixed latest tag (was "LATEST", should have been "latest")

Commits

0177a1c Bump version to v1.17.3 for release
a09c77e Add latest Docker image

v1.17.3

17 Feb 20:40
Compare
Choose a tag to compare

What's new

Added πŸŽ‰

  • Added a latest tagged Docker image.

Commits

a09c77e Add latest Docker image

v1.17.2

15 Feb 19:58
Compare
Choose a tag to compare

What's new

Fixed βœ…

  • Catch case where user token is empty, raise ConfigurationError.

Commits

ce08a0d catch empty user token

v1.17.1

14 Feb 19:42
Compare
Choose a tag to compare

What's new

Added πŸŽ‰

  • Added multiprocessing option to Beaker.dataset.fetch(). This can speed things up substantially for datasets with a lot of files.

Commits

94274a1 Add multiprocessing option to dataset.fetch() (#209)

v1.17.0

13 Feb 23:16
Compare
Choose a tag to compare

What's new

Added πŸŽ‰

  • Added ExperimentSpec.new() constructor.

Changed ⚠️

  • The cluster argument to TaskSpec.new() and ExperimentSpec.new() can now
    be given as a list of clusters which is equivalent to adding a "cluster" list
    in the constraints field.

Fixed βœ…

  • Beaker.workspace.clear() will remove uncommitted datasets too.
  • Fixed the progress bar total in Beaker.dataset.fetch() and improved handling of KeyboardInterrupt.

Commits

a50763b Fix progress bar total for Beaker.dataset.fetch() (#208)
2e1ebc9 Update 'sweep' example, add ExperimentSpec.new() (#207)
4fc5c1a Fix tests, upgrade deps (#206)
153575f fix type
4bb8fbb fix Beaker.workspace.clear()

v1.16.0

26 Jan 19:45
Compare
Choose a tag to compare

What's new

Added πŸŽ‰

  • Added missing user_restrictions field to Cluster data model.
  • Added Beaker.job.preempt() method.
  • Added Job.was_preempted property.
  • Added job attribute to JobFailedError and task attribute to TaskStoppedError.
  • Added DEBUG logging statements for every request and response to/from the Beaker server. To see these, just enable logging at the DEBUG level (though you may want to disable DEBUG logging from the "urllib3" logger, as that will create a lot of noise). For example:
    import logging
    
    logging.basicConfig(level=logging.DEBUG)
    logging.getLogger("urllib3").setLevel(logging.INFO)

Fixed βœ…

  • Fixed bug where Beaker.experiment.wait_for() would fail if a job was preempted.

Commits

d5894a9 Fix bug with determining if a job was preempted, minor improvements to exception handling, data model, logging, and client (#202)
105bd4d Add missing user_restrictions field to Cluster

v1.15.0

19 Jan 20:27
Compare
Choose a tag to compare

What's new

Added πŸŽ‰

  • Added DigestHashAlgorithm enum to represent Digest.algorithm.
  • Added Digest.new_hasher() method.
  • Added fields Job.host_networking, Job.port_mappings, and Session.ports_v2.

Fixed βœ…

  • For backwards compatibility, Digest can now be instantiated again from a string, e.g. Digest("SHA256 iA02Sx8UNLYvMi49fDwdGjyy5ssU+ttuN1L4L3/JvZA=").

Commits

9bdcc75 improve Digest class (#201)

v1.14.1

18 Jan 17:39
Compare
Choose a tag to compare

What's new

Fixed βœ…

  • No more blank lines printed when passing quiet=True to methods.

Commits

68d0f30 No more blank lines when quiet=True (#200)
5837ff9 Add SHA256 class var to Digest