Comments (3)
Hi gougouasmi,
NVTX is not supported on macOS. NVIDIA's developer tools (e.g. Nsight Systems, Nsight Compute, etc.) do not support macOS as a target platform (i.e. where you run a program and capture data from it), so there's nothing your NVTX calls would do on macOS anyway. Are you just trying to get the source on your Mac to write code that you intend to run or Linux or Windows?
from nvtx.
Thank you for the prompt reply @jcohen-nvidia ! You're right. I thought I could still profile python codes running on my mac's CPU. I didn't think this through.
from nvtx.
Hi @gougouasmi -- there are two issues here that need to be resolved:
- Python 3.7 is no longer supported by NVTX and other Python packages. You should try Python 3.8+.
- We don't provide pre-built NVTX packages for Mac. Thus,
pip
is going to try to download thenvtx
Python source code and build it from scratch. When attempting to do that, it will need to find the NVTX C headers. Presumably those are not installed on your system. The commands below will clone this repository, which includes both thenvtx
Python source as well as the C headers, and build the Python package using both:
git clone https://github.com/NVIDIA/NVTX
cd NVTX/python
C_INCLUDE_PATH=../c/include/ pip install .
Can you try that and let us know how it works?
from nvtx.
Related Issues (20)
- error: declaration of template parameter āDā shadows template parameter HOT 1
- Installing NVTX on python fails in nvidia docker image. HOT 11
- NVTX C++ availability HOT 2
- Failed to build nvtx HOT 3
- scoped_range does not work with domain::global HOT 1
- `nvToolsExt.h` defines min/max macros on Windows HOT 2
- NvToolExt_LIBRARIES-NOTFOUND
- how can i get nvToolsExt64_1.dll and nvToolsExt64_1.lib HOT 1
- Python 3.11 support HOT 3
- PyPi README missing
- Wheels for Mac OS and Windows HOT 1
- How to use NVTX in device code. HOT 2
- [python] Automatic annotation with function name HOT 1
- Payloads in python events? HOT 11
- __sync_val_compare_and_swap used incorrect parameter order
- `NVTX3_CPP_REQUIRE_EXPLICIT_VERSION` is problematic in header-only libraries HOT 1
- Simplify the process of using NVTX in another CMake project HOT 1
- Seeking for some explanations on the meaning of terminology in nvtx.h and nvToolsExtPayload.h
- Will NVTX3 ship the C++ V1 API for eternity?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
š Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ā¤ļø Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nvtx.