Commit dad0682
authored
chore: rename FLASHINFER_JIT_VERBOSE to FLASHINFER_JIT_DEBUG for clarity (#1946)
<!-- .github/pull_request_template.md -->
## 📌 Description
Rename environment variable `FLASHINFER_JIT_VERBOSE` to
`FLASHINFER_JIT_DEBUG` to better reflect its actual behavior.
- `FLASHINFER_JIT_DEBUG`: Enable debug mode during compilation (disable
optimization, add debug symbols)
- The previous name `FLASHINFER_JIT_VERBOSE` implied "showing more
compilation info", which was confusing
- Maintained backward compatibility: falls back to
`FLASHINFER_JIT_VERBOSE` if `FLASHINFER_JIT_DEBUG` is not set
## 🔍 Related Issues
<!-- Link any related issues here -->
## 🚀 Pull Request Checklist
Thank you for contributing to FlashInfer! Before we review your pull
request, please make sure the following items are complete.
### ✅ Pre-commit Checks
- [x] I have installed `pre-commit` by running `pip install pre-commit`
(or used your preferred method).
- [x] I have installed the hooks with `pre-commit install`.
- [x] I have run the hooks manually with `pre-commit run --all-files`
and fixed any reported issues.
> If you are unsure about how to set up `pre-commit`, see [the
pre-commit documentation](https://pre-commit.com/).
## 🧪 Tests
- [x] Tests have been added or updated as needed.
- [ ] All tests are passing (`unittest`, etc.).
## Reviewer Notes
<!-- Optional: anything you'd like reviewers to focus on, concerns, etc.
-->
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
* **Refactor**
* Introduced FLASHINFER_JIT_DEBUG environment variable for controlling
JIT debug builds with backward compatibility for legacy
FLASHINFER_JIT_VERBOSE.
* Enhanced debug build configuration with improved compiler and CUDA
debugging flags. Non-debug builds continue using -O3 optimizations.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->1 parent d84e1d5 commit dad0682
1 file changed
+5
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
290 | 290 | | |
291 | 291 | | |
292 | 292 | | |
293 | | - | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
294 | 297 | | |
295 | 298 | | |
296 | 299 | | |
| |||
302 | 305 | | |
303 | 306 | | |
304 | 307 | | |
305 | | - | |
| 308 | + | |
306 | 309 | | |
307 | 310 | | |
308 | 311 | | |
309 | 312 | | |
310 | 313 | | |
311 | 314 | | |
312 | 315 | | |
313 | | - | |
314 | 316 | | |
315 | 317 | | |
316 | 318 | | |
| |||
0 commit comments