Modal 产品更新:内存快照、OIDC、异步任务队列等
Product updates: memory snapshotting, OIDC, async job queues & more
Modal 升级内存快照功能,Stable Diffusion 等模型冷启动时间可缩短一半。异步任务队列即将支持最多 100 万个输入(现为 2k),并新增 OIDC 短期身份令牌认证、eStargz 镜像加速构建,以及与 AWS 的多年战略合作。
📷 Faster memory snapshotting
Memory snapshotting, our beta feature for improving cold starts, just got a major upgrade. For models like Stable Diffusion, this can cut cold start times by half! We’ve made significant optimizations to both speed and consistency.
🕰️ Async job queues
We’re expanding Modal’s capabilities for batch processing and job queues. Soon you’ll be able to queue up to 1 million inputs (up from the current 2k limit). Want early access? We’re looking for beta testers - please reach out at [email protected].
🔑 OpenID Connect (OIDC)
You can now use short-lived identity tokens to authenticate against external resources like S3 buckets or secret managers. Where available, OIDC can be used in place of Modal Secrets, allowing you to avoid storing long-lived credentials.
example of trading a Modal OIDC token for AWS credentials Read the docs
⭐ Faster builds with eStargz
Modal now supports the eStargz compression format, significantly speeding up
image builds from external registries like ECR and Docker Hub. Enable it by
adding a few flags to your docker buildx build command.
👩💻 Client Updates
Run pip install --upgrade modal to get the latest updates. Here are some highlights:
- CLI:
modal launchnow accepts a--detachflag to persist apps after client disconnect - Sandbox:
execnow supports streaming output withtextandbufsizearguments - Sandbox:
execaddstimeout,workdir, andsecretsparameters
🚀 New model partnerships
We’re making it easier to run open-source models. Recent collaborations include:
- Genmo’s Mochi 1 - Fine-tuning a SOTA text-to-video model
- Chai Discovery’s Chai-1 - Molecular structure prediction model
"explosion" videos generated by fine-tuning Mochi 1
🤝 AWS strategic partnership
We’ve announced a multi-year strategic partnership with AWS to provide flexible, instantly accessible GPUs. You can now use Modal to draw down AWS marketplace committed spend. Coming soon: bonus Modal credits for AWS Activate startups!
📺 New video content
Our YouTube channel is live!
Check out our tutorial on setting up an vLLM inference server.
🍭 Fun tidbits
- Our “Modal Wrapped” revealed: 40B+ inputs processed across 7M+ apps in 2024!
来源:Modal Blog · modal.com