Giter Site home page Giter Site logo

made-hpc-hw1's Introduction

Решение 1 ДЗ по курсу HPC в MADE

Требования для запуска

  1. Python 3.8 или выше.
  2. Настроенные зависимости из requirements.txt
  3. Установленны Jupyter Notebook или Lab

Как запустить

pip install -r ./requirements.txt

DVC стадии, необходимые для работы можно посмотреть через команду:

dvc dag

Для запуска всех стадий:

dvc repro -P

Решение задач

Предсказание мощности топ 1 суперкомпьютер на 2025

nbviewer

Открыть perf_pred.ipynb. Можно открыть отрендеренный Notebook перейдя по ссылке из nbviewer logo выше.

Оценка потребляемого электричества суперкомпьютерами относительно производимого электричества в мире

nbviewer

Открыть energy_estimation.ipynb. Можно открыть отрендеренный Notebook перейдя по ссылке из nbviewer logo выше.

Улучшение программы для перемножения матриц

Улучшение было сделано с помощью распараллеливания через OpenMP.

Сравнение результатов можно посмотреть в логах GitHub Actions (стадия Run perfomance test)

Код содержится в matmul.

Результаты расчётов на виртуальных машинах в GitHub Actions (runtime kij with OpenMP это ускоренный вариант с добавлением OpenMP):

runtime 12.035211 seconds
runtime 12.018422 seconds
runtime 12.140203 seconds
runtime 11.852801 seconds
runtime 12.224198 seconds
average runtime ijk 12.054167 seconds
---------------------------------
runtime 11.819296 seconds
runtime 11.791385 seconds
runtime 11.876471 seconds
runtime 11.791874 seconds
runtime 11.860732 seconds
average runtime jik 11.827952 seconds
---------------------------------
runtime 5.274646 seconds
runtime 5.302574 seconds
runtime 5.324396 seconds
runtime 5.331030 seconds
runtime 5.317554 seconds
average runtime kij 5.310040 seconds
---------------------------------
runtime 4.809488 seconds
runtime 4.735850 seconds
runtime 4.736422 seconds
runtime 4.803046 seconds
runtime 4.796994 seconds
average runtime kij opt 4.776360 seconds
---------------------------------
runtime 2.794244 seconds
runtime 2.655177 seconds
runtime 2.657312 seconds
runtime 2.785687 seconds
runtime 2.755523 seconds
average runtime kij with OpenMP 2.729589 seconds
---------------------------------

made-hpc-hw1's People

Contributors

kernela avatar

Watchers

 avatar  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.