Skip to content

Commit

Permalink
feat: use logarithmic approach to calculate chunk size (#838)
Browse files Browse the repository at this point in the history
- Calculate chunk size using log2
- Use new average speed transfer column for smoother rendering
- Increase request timeout to 5s
- Turn off gRPC logging
- Update grpcio

Resolve BE-2133
  • Loading branch information
nickpetrovic authored Jan 10, 2025
1 parent 8375136 commit 1d9cace
Show file tree
Hide file tree
Showing 6 changed files with 147 additions and 102 deletions.
116 changes: 58 additions & 58 deletions sdk/poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions sdk/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "beta9"
version = "0.1.145"
version = "0.1.146"
description = ""
authors = ["beam.cloud <[email protected]>"]
packages = [
Expand All @@ -13,7 +13,7 @@ python = "^3.8"
typeguard = "^2.13.3"
typing-extensions = "^4.7.1"
grpclib = "^0.4.7"
grpcio = "1.67.0"
grpcio = "1.69.0"
asgiref = "^3.8.1"
cloudpickle = "^3.0.0"
rich = "^13.9.4"
Expand Down
2 changes: 1 addition & 1 deletion sdk/src/beta9/cli/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@

click.formatting.FORCED_WIDTH = shutil.get_terminal_size().columns

os.environ["GRPC_VERBOSITY"] = os.getenv("GRPC_VERBOSITY") or "ERROR"
os.environ["GRPC_VERBOSITY"] = os.getenv("GRPC_VERBOSITY") or "NONE"


class CLI:
Expand Down
Loading

0 comments on commit 1d9cace

Please sign in to comment.