Skip to content

miro5lav/gpu-v-flask

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Main

This is deepseek generated app that show simple Visuals of GPU performance. You can download CSV from https://www.kaggle.com/datasets/alanjo/gpu-benchmarks?resource=download and do it yourself

or follow instructions

Create virtual environment

python -m venv gpu_env source gpu_env/bin/activate # On Windows: gpu_env\Scripts\activate

Install dependencies

pip install -r requirements.txt

Run the data preparation script

python download_data.py

Step 1: Download the Dataset Go to https://www.kaggle.com/datasets/alanjo/gpu-benchmarks

Download the dataset (you may need to create a Kaggle account)

Place the CSV file in the data/ folder as gpu_benchmarks.csv

Step 2: Set Up the Environment bash

Create virtual environment

python -m venv gpu_env source gpu_env/bin/activate # On Windows: gpu_env\Scripts\activate

Install dependencies

pip install -r requirements.txt

Run the data preparation script

python download_data.py Step 3: Run the Application bash python app.py Step 4: Access the Application Open your web browser and go to: http://localhost:5000

Features Interactive Bar Chart: Shows average GPU performance by manufacturer

Pie Chart: Displays TDP (Thermal Design Power) distribution

Matrix/Scatter Plot: Visualizes value ratio vs performance

Dashboard View: Combined view of all metrics

Data Table: Shows sample GPU data

Responsive Design: Works on desktop and mobile devices

Deployment to Server For production deployment, use: bash

Install gunicorn for production server

pip install gunicorn

Run with gunicorn

gunicorn -w 4 -b 0.0.0.0:5000 app:app

Use dockerfile

You need to install Docker Desktop on Windows or docker on other operating system.

docker build -t gpu-visualization . docker run -p 5000:5000 gpu-visualization

If port 5000 is occupied use another port. Access your page on web browser

http://localhost:5000/

About

This is GPU dashboard run in web browser using Flask app

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors