Skip to main content

Dolphin

Banner

General python package for CUDA accelerated deep learning inference.

It provides :

  • A set of common image processing functions
  • A TensorRT wrapper for easy inference
  • Speeds up the inference with CUDA and TensorRT
  • An easy to use API with Numpy
  • A fast N-Dimensional array

Testing :

In order to test the package, you will need the library pytest which you can run from the root of the project :

pytest

Install

pip install dolphin-python

Build

Dolphin can be installed with Pypi (coming soon) or built with Docker which is the recommended way to use it :

docker build  -f Dockerfile \
              --rm \
              -t dolphin:latest \
              .

Docker run

Ensure that you have the nvidia-docker package installed and run the following command :

docker run \
        -it \
        --rm \
        --gpus all \
        -v "$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )":"/app" \
        dolphin:latest \
        bash

Please note that Dolphin might not work without the --gpus all flag or --runtime nvidia.

Acknowledgements

This project could not have been possible without PyCuda:

Andreas Klöckner, Nicolas Pinto, Yunsup Lee, Bryan Catanzaro, Paul Ivanov, Ahmed Fasih, PyCUDA and PyOpenCL: A scripting-based approach to GPU run-time code generation, > Parallel Computing, Volume 38, Issue 3, March 2012, Pages 157-174.

TODOs

  • Improve Engine class in order to support int8
  • Use Cython to speed up the code

Metadata

Release files for dolphin-python 0.0.10

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for dolphin-python 0.0.10
File Interpreter ABI Platform Actions
dolphin_python-0.0.10-py2.py3-none-any.whl Python 3, Python 2 none any Details for dolphin_python-0.0.10-py2.py3-none-any.whl

Release files / dolphin_python-0.0.10-py2.py3-none-any.whl

Download URL dolphin_python-0.0.10-py2.py3-none-any.whl
Size 68.3 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
f9586d73cb28824deecd4b25aeb0103d852b976d95737e5f5f9150b762511ca8
BLAKE2b-256 checksum
How to use checksums
8b1442089d2689c6e92193e831ad94fd0d9907701943c0f026444a4e6392f874
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.11.4

Security for dolphin-python 0.0.10

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page