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.2.tar.gz (2.7 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.2-py3-none-any.whl (2.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: autoresume-0.1.2.tar.gz
  • Upload date:
  • Size: 2.7 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.2.tar.gz
Algorithm Hash digest
SHA256 5a4d40ef61183fce46da0cc501c60a4fe8b26b1488c68c178292c9d1f45a8bf0
MD5 1e9dd3c163dcd211c7501276edaeee2d
BLAKE2b-256 7ceb40c39c0e486f32dcff4bd44ae78f7c66d362681653ed6376acbf6f18afb4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: autoresume-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 2.9 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 667074b5299f519cc26e2d621b945047570728461ce9c793d2b7660c485c32a5
MD5 8bf5666e11f112f9f0ce1b9f3515e0eb
BLAKE2b-256 b696d212c73ad5fc46191a5e3c4a77666fe68074d22727a0db834f24ccffc879

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