Giter Club home page Giter Club logo

pyhpc-benchmarks's Introduction

Hi there πŸ‘‹

Now that you're here, why don't you check out some of my projects?


Main projects

(bigger projects where I am a core developer)

team-ocean team-ocean / veros β€” ⭐ 305

The versatile ocean simulator, in pure Python, powered by JAX.

DHI DHI / terracotta β€” ⭐ 638

A light-weight, versatile XYZ tile server, built with Flask and Rasterio 🌍

mpi4jax mpi4jax / mpi4jax β€” ⭐ 371

Zero-copy MPI communication of JAX arrays, for turbo-charged HPC applications in Python ⚑


Side projects

dionhaefner dionhaefner / pyhpc-benchmarks β€” ⭐ 301

A suite of benchmarks for CPU and GPU performance of the most popular high-performance libraries for Python πŸš€

dionhaefner dionhaefner / yahtzotron β€” ⭐ 18

The friendly robot that beats you in Yahtzee πŸ€– 🎲

dionhaefner dionhaefner / dionhaefner.github.io

Repository for my personal homepage, hosted on GitHub Pages, created with Pelican.


Science applications

dionhaefner dionhaefner / rogue-wave-discovery β€” ⭐ 10

Code for the paper "Machine-Guided Discovery of a Real-World Rogue Wave Model" (HΓ€fner et al., 2023)

dionhaefner dionhaefner / FOWD β€” ⭐ 10

Processing framework for FOWD, a free ocean wave dataset, ready for your ML application 🌊


Misc

(one-off projects and everything else)

dionhaefner dionhaefner / cv β€” ⭐ 3

My personal CV and rΓ©sumΓ©, auto-generated via GitHub Actions πŸ“„

dionhaefner dionhaefner / bayesian-histograms β€” ⭐ 27

Bayesian histograms for estimation of binary rare event rates, with fully automated bin pruning πŸ“Š

dionhaefner dionhaefner / dionsthesis β€” ⭐ 8

Custom LaTeX2e documentclass for typesetting beautiful, modern theses.

dionhaefner dionhaefner / pgfcache β€” ⭐ 11

LaTeX package for caching of PGF figures created with Matplotlib, just like tikz-externalize

dionhaefner dionhaefner / shallow-water β€” ⭐ 10

Powerful shallow-water implementations in pure Python

dionhaefner dionhaefner / attractive β€” ⭐ 3

Compute and plot beautiful Clifford Attractors πŸ’«

dionhaefner dionhaefner / fly β€” ⭐ 9

An interactive geophysical flow visualizer in Python.

Last updated 2024-05-03

pyhpc-benchmarks's People

Contributors

dionhaefner avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

pyhpc-benchmarks's Issues

fastmath

Hi @dionhaefner, great comparisons, thanks for that! Out of interest. Did you ever try to run numba with fastmath=True; does it make any difference, and if, how much?

Error while installing GPU environment

Using:
conda env create -f environment-gpu.yml

leads to an error saying:

Exception:

  =========================================================
  The "tensorflow-gpu" package has been removed!

  Please install "tensorflow" instead.

  Other than the name, the two packages have been identical
  since TensorFlow 2.1, or roughly since Sep 2019. For more
  information, see: pypi.org/project/tensorflow-gpu
  =========================================================


  [end of output]

turbulent_kinetic_energy returns inconsistent results

I am working on #14.
The command has inconsistent result output:

$ python run.py -r 2 -s 1048576 --device cpu -b pytorch benchmarks/turbulent_kinetic_energy/

Using pytorch version 1.13.0.dev20220617+cu113
Running 3 benchmarks...  [------------------------------------]    0%Error: inconsistent results for size 1048576
Error: inconsistent results for size 1048576
Error: inconsistent results for size 1048576
Running 3 benchmarks...  [####################################]  100%

benchmarks.turbulent_kinetic_energy
===================================
Running on CPU

size          backend     calls     mean      stdev     min       25%       median    75%       max       Ξ”
------------------------------------------------------------------------------------------------------------------
   1,048,576  pytorch            2     0.573     0.028     0.544     0.559     0.573     0.587     0.601     1.000

(time in wall seconds, less is better)

Looks like two consecutive runs will generate inconsistent results for turbulent_kinetic_energy. I guess the root cause is this line: https://github.com/dionhaefner/pyhpc-benchmarks/blob/master/benchmarks/turbulent_kinetic_energy/tke_pytorch.py#L264

There could be non-deterministic numeric results when running mask = tke[2:-2, 2:-2, -1, taup1] < 0.0

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.