troubleshooting.md 646 Bytes
Newer Older
Ying Sheng's avatar
Ying Sheng committed
1
2
3
4
5
6
7
# Troubleshooting

This page lists some common errors and tips for fixing them.

## CUDA error: an illegal memory access was encountered
This error may be due to kernel errors or out-of-memory issues.
- If it is a kernel error, it is not easy to fix.
Lianmin Zheng's avatar
Lianmin Zheng committed
8
- If it is out-of-memory, sometimes it will report this error instead of "Out-of-memory." In this case, try setting a smaller value for `--mem-fraction-static`. The default value of `--mem-fraction-static` is around 0.8 - 0.9.
Ying Sheng's avatar
Ying Sheng committed
9
10
11
12

## The server hangs
If the server hangs, try disabling some optimizations when launching the server.
- Add `--disable-cuda-graph`.
Lianmin Zheng's avatar
Lianmin Zheng committed
13
- Add `--sampling-backend pytorch`.