differential-transformer - Pytorch
Project description
Python Package Template
A easy, reliable, fluid template for python packages complete with docs, testing suites, readme's, github workflows, linting and much much more
Installation
You can install the package using pip
pip install -e .
Usage
print("hello world")
Code Quality 🧹
make style
to format the codemake check_code_quality
to check code quality (PEP8 basically)black .
ruff . --fix
Tests 🧪
pytests
is used to run our tests.
Publish on PyPi 🚀
Important: Before publishing, edit __version__
in src/init to match the wanted new version.
poetry build
poetry publish
CI/CD 🤖
We use GitHub actions to automatically run tests and check code quality when a new PR is done on main
.
On any pull request, we will check the code quality and tests.
When a new release is created, we will try to push the new code to PyPi. We use twine
to make our life easier.
The correct steps to create a new realease are the following:
- edit
__version__
in src/init to match the wanted new version. - create a new
tag
with the release name, e.g.git tag v0.0.1 && git push origin v0.0.1
or from the GitHub UI. - create a new release from GitHub UI
The CI will run when you create the new release.
Docs
We use MK docs. This repo comes with the zeta docs. All the docs configurations are already here along with the readthedocs configs.
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for differential_transformer-0.0.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 240c814522bb3bef9df6bbee785076fb2bd1e0e930d610ed60bde24cc12b27f7 |
|
MD5 | 9164278025f1f130884a092d38f1581f |
|
BLAKE2b-256 | f6df130754214828e7f634a97e05d5a660a396e7737e6ba031090ff82fed1700 |
Hashes for differential_transformer-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bcefcae85f87274df642f730832be364ded52595713dd855d59e5bd23ceebb22 |
|
MD5 | 7c525fcc2882a8bcbcb3830b7eb5173a |
|
BLAKE2b-256 | 4721f89aa0233a3d695bfed2365f07fe038701938f9b7f4f6e4039aab5fa6811 |