GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - JeremieMelo/pyutility

BranchesTags
Open more actions menu

Latest commit

 

History

72 Commits
72 Commits

Folders and files

NameName
Last commit message
Last commit date
pyutils
pyutils
 
 
unitest
unitest
 
 
.gitignore
.gitignore
 
 
.pre-commit-config.yaml
.pre-commit-config.yaml
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
bld.bat
bld.bat
 
 
build_pyutils.sh
build_pyutils.sh
 
 
meta.yaml
meta.yaml
 
 
pypi_flow.sh
pypi_flow.sh
 
 
pyproject.toml
pyproject.toml
 
 
setup.sh
setup.sh
 
 

Repository files navigation

pyutils

A python/pytorch utility library

License: MIT

News

  • v0.0.3.2 available.
  • v0.0.2 available. Added new datasets and quantization!
  • v0.0.1 available. Feedbacks are highly welcomed!

Installation

conda install scopex/label/ScopeX::torchonn-pyutils
pip install torchonn-pyutils --no-build-isolation

or install from cloned codes from github if you would like to modify the code (recommend)

git clone https://github.com/JeremieMelo/pyutility.git
cd pyutility
./setup.sh

To remove the package:

pip uninstall torchonn_pyutils

Usage

import pyutils

Features

  • Support pytorch training utility and datasets.

TODOs

  • Support lr_scheduler
  • Support trainer

Dependencies

  • Python >= 3.10
  • PyTorch >= 2.0
  • Tensorflow >= 2.5.0
  • Others are listed in requirements.txt

Files

File Description
datasets/ Defines different datasets and builder
loss/ Defines different loss functions/criterions
optimizer/ Defines different optimizers
lr_scheduler/ Defines different learning rate schedulers
quant/ Defines different weight/activation quantizers
activation.py Activation functions
compute.py functions related to computing
config.py Hierarchical yaml configuration file parser
distribution_sampler.py Sample from customized distributions
general.py Common helper functions
initializer.py Initialization methods for PyTorch Parameters
loss.py Loss functions for PyTorch model training
quantize.py Quantization functions
torch_train.py Helper functions for torch training
typing.py Defines common types

Contact

Jiaqi Gu ([email protected])

About

No description, website, or topics provided.

Resources

Readme
MIT license
Activity

Stars

15 stars

Watchers

1 watching

Forks

7 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.