Skip to main content

A tool/library for embeding a snapshot of your code into a pytorch model file

Project description

JellyMl

JellyML is an open-source tool (python API and command line) for effortlessly embedding a snapshot of your code | into a checkpoint of a pytorch model. Learn more at jellyml.com

Structure of the jellyml repository

(Note that the jellyml repository is a monorepo. If you are reading this from the python package source code, go to github.com/mmulet/jellyml to see the whole repository)

  • jellyml is the source for the python package
  • jellyml-lightning is the source for pytorch lightning plugin
  • client is the source for the website
  • dev_server is the source for the development server of the website

Build

jellyml

  1. Make a venv
python3 -m venv venv
# activate the venv ( depends on your shell and OS)
# see https://docs.python.org/3/library/venv.html
# bash
source venv/bin/activate
  1. Install build
pip install build
  1. Build the package
cd jellyml
python -m build
pip install dist/jellyml-0.0.1-py3-none-any.whl

jellyml-lightning

  1. Follow the directions for building and installing jellyml. jellyml is a dependency of jellyml-lightning.
  2. Build the package
cd jellyml-lightning
python -m build
pip install dist/jellyml-lightning-0.0.1-py3-none-any.whl

Website

Build the website

cd client
npm install .
cd ../dev_server
npm install .
npm run build

Dev the website

cd client
npm install .
cd ../dev_server
npm install .
npm run build

Tests

Located in the source files in src/jellyml. Have the prefix test_. Run them as a module

cd src;
python3 -m jellyml.test_all

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

jellyml-1.0.0.tar.gz (43.7 kB view details)

Uploaded Source

Built Distribution

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

jellyml-1.0.0-py3-none-any.whl (113.6 kB view details)

Uploaded Python 3

File details

Details for the file jellyml-1.0.0.tar.gz.

File metadata

  • Download URL: jellyml-1.0.0.tar.gz
  • Upload date:
  • Size: 43.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.7.9

File hashes

Hashes for jellyml-1.0.0.tar.gz
Algorithm Hash digest
SHA256 8ca4ae916d84e27d848e2d158862487bdc8a98b14ad2bebf80ef283582878771
MD5 c8857e91d1cf8f50af93121c02b5fa2c
BLAKE2b-256 c7966a5abcb26420378286b2a080dc53499a1cd65195438e56d90154abd82f5d

See more details on using hashes here.

File details

Details for the file jellyml-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: jellyml-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 113.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.7.9

File hashes

Hashes for jellyml-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5a98445e5bef735834545867ade70364341ec890fa5a53d4b98b20eb2cdfdfa9
MD5 b148c063bf45a0dfa0121541bd2f8d41
BLAKE2b-256 fabbc36b59b3a967bfdc019b11b2055ba3aed25f2c63c33675ec8892fdd6cba2

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