Skip to main content

FROG: Fast Real-time Optimization of Gradients

Project description

frog unit test badge

froog the frog
frog: fast real-time optimization of gradients
a beautifully compact machine-learning library
homepage | documentation | examples | pip

Installation

pip install froog

Overview of Features

  • Tensors
  • Automatic Differentiation
    • Forward and backward passes
  • Input/gradient shape-tracking
  • MNIST example
  • 2D Convolutions (im2col)
  • Numerical gradient checking
  • The most common optimizers (SGD, Adam, RMSProp)

Math Operations

  • Scalar-Matrix Multiplication
  • Dot Product
  • Sum
  • ReLU
  • Log Softmax
  • 2D Convolutions
  • Avg & Max pooling
  • More

Bounties

Want to help but don't know where to start?

Our top bounty is to get EfficientNet v2 model working inside of the examples folder.

Easy

  • built in MLP model
  • binary cross entropy
  • flatten
  • batch_norm
  • pad
  • swish
  • dropout

Medium

  • simplify how context and gradients are handled

Hard

  • efficientNet
  • transformers
  • stable Diffusion
  • winograd Convs
  • MPS support
  • CUDA support

Contributing

here are some basic guidelines for contributing:

  • reduce complexity (currently at 585 lines of code)
  • increase speed
  • add features, must include tests
  • in that order

more info on contributing

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

froog-0.1.6.tar.gz (10.6 kB view details)

Uploaded Source

Built Distribution

froog-0.1.6-py3-none-any.whl (10.5 kB view details)

Uploaded Python 3

File details

Details for the file froog-0.1.6.tar.gz.

File metadata

  • Download URL: froog-0.1.6.tar.gz
  • Upload date:
  • Size: 10.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.3

File hashes

Hashes for froog-0.1.6.tar.gz
Algorithm Hash digest
SHA256 86f56a9a4f5f0a819072ff1f2cf5a896a22601a6d77a5e60bcf6e2a3fdcdce08
MD5 0f0758d49726c7c65e7def1564b3ca29
BLAKE2b-256 9ad106ddadc70ba5ceee2d4884b1bfe3186577de309bd726b63ae8cdf7b51493

See more details on using hashes here.

File details

Details for the file froog-0.1.6-py3-none-any.whl.

File metadata

  • Download URL: froog-0.1.6-py3-none-any.whl
  • Upload date:
  • Size: 10.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.3

File hashes

Hashes for froog-0.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 3341b9ab6a7e1e58634171cbf0c383d50665883d663231cae2f0d8a3199c3000
MD5 f7daaa15be6dbfb14f9e134c233593e3
BLAKE2b-256 5fbe2670f4a65dab51bcf0eb7fc8621a7984264b10ea0272327ca28755ccbeaa

See more details on using hashes here.

Supported by

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