G-Watch is a toolbox for GPU profiling and program analysis.
Project description
G-Watch
G-Watch is a toolbox for GPU profiling and program analysis. It features rich Profiling capabilities on both NVIDIA and AMD GPUs. Additionally, G-Watch offers Program Analysis tools for inspecting compiler-generated GPU binaries, facilitating secondary development tasks such as register analysis and binary instrumentation.
Features
We would release guidance for using G-Watch soon, currently please take refer to examples
Installation
Install from package
You can install G-Watch directly from PyPI:
# prerequisites for gwatch
apt-get update
apt-get install -y python3 python3-pip libelf-dev protobuf-compiler libwebsockets-dev libnuma-dev
# install from PyPI source
pip install gwatch==0.0.2
Install from source [CUDA]
-
Clone this repository
git clone --recursive https://github.com/G-Watch/G-Watch-dev.git
-
Start official nvidia container for building and testing
cd scripts/docker bash run_cuda_12_8.sh -s 1 # start and enter a container with id 1 # don't need to run, just noted here bash run_cuda_12_8.sh -e 1 # enter a container with id 1 bash run_cuda_12_8.sh -c 1 # close and remove a container with id 1
-
Install prerequisites
# inside the container apt-get update apt-get install -y git pkg-config python3 python3-pip cmake meson build-essential libeigen3-dev \ python3-dev wget libelf-dev libwebsockets-dev libnuma-dev protobuf-compiler \ gdb curl libcurl4-openssl-dev xxd libdwarf-dev python-is-python3 pip3 install perfetto PyYAML tqdm pyyaml packaging loguru PrettyTable matplotlib pandas ninja==1.11.1.3 --break-system-packages # for most of our test workloads, we use PyTorch, so it's recommended to install torch as well # https://pytorch.org/get-started/locally/ pip3 install torch torchvision torchaudio --break-system-packages
-
Build and install python package from source
# inside the container cd /root python3 setup.py clean # build and install gwatch python3 setup.py install
Install from source [ROCm]
-
Clone this repository
git clone --recursive https://github.com/G-Watch/G-Watch-dev.git
-
Start official nvidia container for building and testing
cd scripts/docker bash run_rocm_7_2.sh -s 1 # start and enter a container with id 1 # don't need to run, just noted here bash run_rocm_7_2.sh -e 1 # enter a container with id 1 bash run_rocm_7_2.sh -c 1 # close and remove a container with id 1
-
Install prerequisites
# inside the container apt-get update apt-get install -y git pkg-config python3 python3-pip cmake meson build-essential libeigen3-dev \ python3-dev wget libelf-dev libwebsockets-dev libnuma-dev protobuf-compiler \ gdb curl libcurl4-openssl-dev xxd libdwarf-dev python-is-python3 libdw-dev libsqlite3-dev pip3 install perfetto PyYAML tqdm pyyaml packaging loguru PrettyTable matplotlib pandas ninja==1.11.1.3 --break-system-packages # for most of our test workloads, we use PyTorch, so it's recommended to install torch as well # https://pytorch.org/get-started/locally/ pip3 install torch torchvision --index-url https://download.pytorch.org/whl/rocm7.1
-
Build and install python package from source
# inside the container cd /root python3 setup.py clean # build and install gwatch python3 setup.py install
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file gwatch_cu128-0.0.3-cp312-cp312-manylinux_2_34_x86_64.whl.
File metadata
- Download URL: gwatch_cu128-0.0.3-cp312-cp312-manylinux_2_34_x86_64.whl
- Upload date:
- Size: 75.6 MB
- Tags: CPython 3.12, manylinux: glibc 2.34+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
03b6a6dd1a561789c2010c0c2e59a74ca18a52899aff661f532d1bb27e4451a6
|
|
| MD5 |
f2e6445bf7a750b8deb09ae35766c4d2
|
|
| BLAKE2b-256 |
d3b1b606f16041471d738c04329b835625647f36375c604ee274a07f78752f4f
|