Skip to content

Commit

Permalink
Max gpu mem
Browse files Browse the repository at this point in the history
  • Loading branch information
xuhao1 committed Nov 18, 2022
1 parent b84c93a commit 7d22570
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/taichislam_node.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ class TaichiSLAMNode:
def __init__(self):
self.init_params()
if self.cuda:
ti.init(arch=ti.cuda, dynamic_index=True, offline_cache=True, packed=False, debug=False)
ti.init(arch=ti.cuda, dynamic_index=True, offline_cache=True, packed=True, debug=False, device_memory_GB=1.5)
else:
ti.init(arch=ti.cpu, dynamic_index=True, offline_cache=True, packed=True)
self.disp_level = 0
Expand Down

0 comments on commit 7d22570

Please sign in to comment.