Giter Club home page Giter Club logo

torch-streamer's Introduction

Torch-Streamer

This package implements a framework for streaming 1D convolutions in PyTorch without padding or pseudo-streaming/cross-fading.

Status

PyPI Tests Coveralls Docs

Usage

Install with pip

pip install torch-streamer

Documentation

Docs are available at torch-streamer.readthedocs.io.

Development

Setup

The following script creates a virtual environment using pyenv for the project and installs dependencies with uv.

pyenv install 3.10
pyenv virtualenv 3.10 torch-streamer
bin/deps

You can also use pre-commit with the project to run tests, etc. at commit time.

pre-commit install

Testing

Testing, formatting, and static checking can all be done with pre-commit at any time.

pre-commit run --all-files

There is also a watcher script that can be used to run these whenever a file changes.

bin/watch

Documentation

The project uses MkDocs with mkdocstrings for documentation, and you can start a mkdocs web server to test/edit documentation as follows.

bin/docserve

Documentation is hosted by Read the Docs and will automatically update when the main branch is merged.

Releasing

The library can be updated on the main PyPI repository as follows.

bin/release pypi

If needed, you can release to the test PyPI repository with this command.

bin/release pypi-test

License

Copyright © 2024 Brent M. Spell

Licensed under the MIT License (the "License"). You may not use this package except in compliance with the License. You may obtain a copy of the License at

https://opensource.org/licenses/MIT

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

torch-streamer's People

Contributors

brentspell avatar

Stargazers

 avatar Valentin Ackva avatar Yuan-Man avatar Hao Hao Tan avatar leooo avatar Will Rice avatar

Watchers

 avatar Ewald Enzinger avatar MaxMax avatar Kostas Georgiou avatar Will Rice avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.