Skip to main content

LibreDR is an open-source ray-tracing differentiable renderer

Project description

LibreDR is an open-source ray-tracing differentiable renderer

[Codeberg Repo] [API Document]

LibreDR uses client-server-worker structure to better utilize multiple GPUs (or even multiple nodes on a cluster).
Some code examples are under examples/ directory.

To run server and worker under Linux:

  1. Download libredr_linux_*.tra.gz under [releases].
  2. Start server and worker using examples/scripts/{server,worker}.sh or with your own configuration.
    Example configurations are in examples/scripts. Use clinfo to verify OpenCL runtime.

To run server and worker under Windows:

  1. Download libredr_windows_*.tra.gz under [releases].
  2. Start server and worker using examples/scripts/{server,worker}.bat or with your own configuration.
    Example configurations are in examples/scripts.

To run the example Python codes or your own Python code

  1. Download libredr-*.whl under [releases] and install using pip install, or install from [PyPI].
  2. Run Python example codes examples/scripts/run_example.{sh,bat} or your own client codes.

All the examples tested on the following platforms:

OS Device Driver
Debian Bullseye Linux 6.1.0-0.deb11.7-amd64 CPU: Intel Core i7-8550U PoCL v1.6
Debian Bullseye Linux 6.1.0-0.deb11.7-amd64 GPU: NVIDIA GeForce RTX 3090 NVIDIA Proprietary v470.161.03
Windows 10 21H2 (OS Build 19044.1288) GPU: AMD Radeon RX 6700 XT AMD Proprietary v22.20.44

To build from source codes, check the build script for Linux in examples/scripts_unix/build/. Docker is used to build manylinux-compatible wheels.

Copyright (c) 2022-2023 Bohan Yu. All rights reserved.
LibreDR is free software licensed under GNU Affero General Public License version 3 or latter.

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

libredr-0.0.11.tar.gz (39.8 kB view details)

Uploaded Source

Built Distribution

libredr-0.0.11-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.4 MB view details)

Uploaded CPython 3.7+ manylinux: glibc 2.17+ x86-64

File details

Details for the file libredr-0.0.11.tar.gz.

File metadata

  • Download URL: libredr-0.0.11.tar.gz
  • Upload date:
  • Size: 39.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: maturin/1.2.3

File hashes

Hashes for libredr-0.0.11.tar.gz
Algorithm Hash digest
SHA256 2cb6cf867f8192f79d285d8dcab856c808393bcd41904e37cef8e00f97ce2aaf
MD5 0469f7b6072290e078132388624ff767
BLAKE2b-256 9c6c70f621a2c966e364c2c36b42ce72ea4ef04c2e5f97367c211ebaba025ad8

See more details on using hashes here.

File details

Details for the file libredr-0.0.11-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for libredr-0.0.11-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 a71ec525d4c966af57e5a0d14511149a3edb3f3ffd0e883c4eb5a4e6dac15550
MD5 dac08a207519fc07041be1d969c318ac
BLAKE2b-256 6e6afa45bb8724c08a46058a5593cbc009ea8d1e21016156734f477575fbbb3b

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