Skip to main content

Crash-safe ML model runner that automatically resumes unfinished models

Project description

AutoResume

AutoResume is a crash-safe, resume-safe ML model runner.

It allows you to run many models sequentially and automatically resumes from the first unfinished model if your Python session crashes.

Example

from autoresume import AutoResume

runner = AutoResume("lstm_experiment")

models = [lstm1, lstm2, lstm3]

def train(model):
    model.fit(X_train, y_train, epochs=20)
    return model.evaluate(X_test, y_test)

runner.run(models, train)
If your script crashes during model 2, AutoResume will resume at model 2.

MIT License
Copyright (c) 2025 Tej Gorde

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

autoresume-0.1.1.tar.gz (2.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

autoresume-0.1.1-py3-none-any.whl (2.7 kB view details)

Uploaded Python 3

File details

Details for the file autoresume-0.1.1.tar.gz.

File metadata

  • Download URL: autoresume-0.1.1.tar.gz
  • Upload date:
  • Size: 2.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.5

File hashes

Hashes for autoresume-0.1.1.tar.gz
Algorithm Hash digest
SHA256 c3c212f624e2f9b78b8f13ab7f3edb8c440b1dec551d3d3c14b39b45ef39d2d5
MD5 9f717c334631dc6405593631154da18c
BLAKE2b-256 4bb6b0bdd76c35534375ccfb21d21dd2e23fcc6af5203e973de0414939ae29a3

See more details on using hashes here.

File details

Details for the file autoresume-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: autoresume-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 2.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.5

File hashes

Hashes for autoresume-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 5944f894538927bd7eea3fab1f1db2f3afa17c1dfb89e7435931baddbe79e985
MD5 e6f601d1f90d057c82ab671480cd3af6
BLAKE2b-256 7ea01c4a0ae799f5980d85801464ee7b99994f8f70d43429eae347c5b2fc8809

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page