mirror of
https://github.com/opendatalab/MinerU.git
synced 2026-03-27 02:58:54 +07:00
fix: correct boolean value casing in compilation configuration for MUSA devices
This commit is contained in:
@@ -111,7 +111,7 @@ def set_compilation_config() -> dict:
|
||||
import torch
|
||||
if torch.musa.is_available():
|
||||
compilation_config = {
|
||||
"simple_cuda_graph": true
|
||||
"simple_cuda_graph": True
|
||||
}
|
||||
except Exception as e:
|
||||
pass
|
||||
|
||||
Reference in New Issue
Block a user