Skip to content

Commit

Permalink
remove resource constraints
Browse files Browse the repository at this point in the history
  • Loading branch information
bigbitbus committed Jan 13, 2025
1 parent 5711e20 commit 08489a0
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions inference_cli/lib/container_adapter.py
Original file line number Diff line number Diff line change
Expand Up @@ -177,9 +177,6 @@ def start_inference_container(
"MPLCONFIGDIR=/tmp/matplotlib",
"HOME=/tmp/home",
],
mem_limit="4g",
memswap_limit="6g",
cpu_shares=1024,
security_opt=["no-new-privileges"] if not is_jetson else None,
cap_drop=["ALL"] if not is_jetson else None,
cap_add=(["NET_BIND_SERVICE"] + (["SYS_ADMIN"] if is_gpu else [])) if not is_jetson else None,
Expand Down

0 comments on commit 08489a0

Please sign in to comment.