Executing the example reports an error
Open
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 492
- Forks
- 30
- Avg merge
- 4d 9h
- Merged PRs (30d)
- 2
Description
When I execute the demo under example, I get this error. Is it a problem with my CUDA driver version?
Driver Version: 550.127.08
CUDA Version: 12.8
python 3.10.16
python matmul_v5.py
/miniconda3/envs/cwb_research_310/lib/python3.10/site-packages/hidet/utils/stack_limit.py:33: UserWarning: The hard limit for stack size is too small (10.0 MiB), we recommend to increase it to 512.0 MiB. If you are the root user on Linux OS, you could refer to `man limits.conf` to increase this limit.
warnings.warn(
Traceback (most recent call last):
File "/cwb/tilus/examples/matmul/matmul_v5.py", line 234, in <module>
main()
File "/cwb/tilus/examples/matmul/matmul_v5.py", line 213, in main
matmul(m, n, k, a, b, c_actual)
File "miniconda3/envs/cwb_research_310/lib/python3.10/site-packages/tilus/lang/instantiated_script.py", line 728, in __call__
jit_instance = JitInstance(self.script_cls, self.params, self.build_options, self.schedules, jit_key)
File "/miniconda3/envs/cwb_research_310/lib/python3.10/site-packages/tilus/lang/instantiated_script.py", line 331, in __init__
self._transpile_programs()
File "/miniconda3/envs/cwb_research_310/lib/python3.10/site-packages/tilus/lang/instantiated_script.py", line 407, in _transpile_programs
lazy_init()
File "/miniconda3/envs/cwb_research_310/lib/python3.10/site-packages/tilus/target.py", line 141, in lazy_init
get_current_target()
File "/miniconda3/envs/cwb_research_310/lib/python3.10/site-packages/tilus/target.py", line 92, in get_current_target
has_nvgpu = cuda.available() and cuda.device_count() > 0
File "/miniconda3/envs/cwb_research_310/lib/python3.10/site-packages/hidet/cuda/device.py", line 75, in device_count
assert err == 0, err
AssertionError: cudaError_t.cudaErrorInsufficientDriver
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing python matmul_v5.py under examples/matmul and inspect the traceback at hidet/cuda/device.py:75, alongside the reported driver and CUDA versions. Done means establishing the cause of the cudaErrorInsufficientDriver failure and documenting or correcting the compatibility issue so the example can execute.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- compilers
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100