You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Update installation and usage documentation for TritonParse
Summary:
- Revised prerequisites in README.md and installation guide to specify GPU requirements for Triton.
- Enhanced installation instructions for both NVIDIA and AMD GPUs, including PyTorch installation steps.
- Updated usage examples to dynamically select device based on GPU availability.
- Clarified FAQ section regarding GPU necessity for generating traces.
These changes improve clarity and ensure users are well-informed about the hardware requirements for TritonParse.
-**Node.js** >= 18.0.0 (for website development only)
25
27
26
-
### Required: Triton Installation
27
-
**Important**: You need Triton > 3.3.1 or compiled from source.
28
+
> ⚠️ **Important**: GPU is required to generate traces because Triton kernels can only run on GPU hardware. The web interface can view existing traces without GPU.
-**PyTorch** with GPU support (we recommend PyTorch nightly for best compatibility)
32
+
- For NVIDIA GPUs: PyTorch with CUDA support
33
+
- For AMD GPUs: PyTorch with ROCm support
34
+
-**Triton** > 3.3.1 (must be compiled from source for TritonParse compatibility)
35
35
36
-
For detailed Triton installation instructions, see the [official Triton documentation](https://github.com/triton-lang/triton?tab=readme-ov-file#install-from-source).
36
+
> 💡 **Note**: Detailed installation instructions for these dependencies are provided in each installation option below.
If you also need to work on the web interface, follow [Option 2: Website Development Setup](#-option-2-website-development-setup) for additional setup.
211
218
212
219
---
213
220
@@ -218,20 +225,34 @@ npm run lint
218
225
#### 1. Triton Installation Issues
219
226
```bash
220
227
# Error: "No module named 'triton'"
221
-
# Solution: Install Triton from source
228
+
# Solution: Uninstall existing Triton and install from source
For detailed instructions, see the [Triton installation guide](https://github.com/triton-lang/triton?tab=readme-ov-file#install-from-source).
50
+
For detailed instructions, see our [Installation Guide](01.-Installation) or the [official Triton installation guide](https://github.com/triton-lang/triton?tab=readme-ov-file#install-from-source).
45
51
46
52
### Q: I'm getting "No module named 'triton'" errors. What's wrong?
47
53
@@ -50,12 +56,13 @@ For detailed instructions, see the [Triton installation guide](https://github.co
50
56
2.**Wrong Python environment** - Make sure you're in the right virtual environment
51
57
3.**Installation failed** - Check for compilation errors during Triton installation
52
58
53
-
### Q: Do I need CUDA to use TritonParse?
59
+
### Q: Do I need a GPU to use TritonParse?
54
60
55
-
**A:**
56
-
-**For CPU-only analysis**: No CUDA needed
57
-
-**For GPU kernel tracing**: Yes, CUDA is required
58
-
-**For web interface**: No CUDA needed (just to view existing traces)
61
+
**A:** Yes, a GPU is required because Triton itself depends on GPU:
62
+
-**For generating traces**: GPU is required (either NVIDIA with CUDA or AMD with ROCm)
63
+
-**For web interface only**: No GPU needed (just to view existing trace files from others)
64
+
65
+
Note: Triton kernels can only run on GPU, so you need GPU hardware to generate your own traces.
Copy file name to clipboardExpand all lines: docs/wiki-pages/Home.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -112,4 +112,4 @@ This project is licensed under the BSD-3 License. See the [LICENSE](https://gith
112
112
113
113
---
114
114
115
-
**Note**: This tool is designed for developers working with Triton kernels and GPU computing. Basic familiarity with CUDA, GPU programming concepts, and the Triton language is recommended for effective use.
115
+
**Note**: This tool is designed for developers working with Triton kernels and GPU computing. Basic familiarity with GPU programming concepts (CUDA for NVIDIA or ROCm/HIP for AMD), and the Triton language is recommended for effective use.
0 commit comments