跳到正文
Modal Blog·· 2024-09-06AI 评分22

Modal 产品更新:应用回滚、动态批处理、Sandbox 隧道等

Product updates: Rollbacks, batching, sandbox tunnels & more

AI 导读

Modal 本月更新新增应用回滚功能,可在控制台或 CLI 中将应用即时回退到先前版本,并推出 @batched 装饰器实现动态批处理,以延迟换取吞吐和 GPU 利用率。Sandbox 现支持将 TCP 端口转发至公网并可在其中执行额外进程,同时新增 OpenTelemetry 日志导出集成,CPU 核与高端 GPU 价格下调。

正文

Welcome to another round of Modal Product Updates! Here’s what’s new this month.

↩️ App rollbacks

Deployed something questionable? You can now instantly roll back your app to a previous version from the dashboard or the CLI.

App rollbacks

Read the docs

📚 Dynamic batching

The @batched decorator accumulates requests into dynamically-sized batches. This lets you trade off latency for throughput and GPU utilization.

Dynamic batching

Read the docs

🏝️ Sandbox tunnels and exec

Sandbox objects can now forward TCP ports to the internet. This is useful if, for example, you want to connect to a web servers running inside them. You can also exec and interface with additional processes inside an existing Sandbox.

We’re interested in improving Sandboxes for agentic use cases. Please reach out to us if you have feedback or feature requests here!

Read the docs

🔭 OpenTelemetry integration

You can now export logs from Modal to your OpenTelemetry provider. If there are more integrations you would like to see, please let us know!

Read the docs

🤑 Pricing changes

CPU cores and higher end GPUs got cheaper! Read the announcement.

Pricing changes

👩‍💻 Client Updates

Run pip install --upgrade modal to get the latest updates. Here are some of the highlights:

For a complete list, check out the changelog.

🥑 Fresh posts

Gradio image generation interface

As always, if you’ve built anything else using Modal, share it with us on the community Slack!

来源:Modal Blog · modal.com