{"categories":[{"label":"Internet","url":"https://skillfed.io/packages/category/internet/4"},{"label":"Artificial Intelligence","url":"https://skillfed.io/packages/category/scientific-engineering-artificial-intelligence/8"},{"label":"Distributed Computing","url":"https://skillfed.io/packages/category/system-distributed-computing/2"}],"enrichment":{"capability":"Serializes and deserializes PyTorch modules and tensors to/from HTTP, HTTPS, S3, Redis, and local filesystem endpoints with streaming support for fast model loading.","skillfed_tags":["pytorch-serialization","model-deployment","streaming-io"],"use_cases":["Reduce KNative serverless function cold-start latency by streaming large models from S3 instead of embedding them in container images.","Deploy and update multi-gigabyte language models without rebuilding or redeploying container images.","Load models directly into GPU memory from HTTP/HTTPS endpoints at network wire-speed without intermediate disk storage.","Share model state between inference pods via Redis for per-request data loading.","Serialize and deserialize models locally for development and testing with the same fast streaming path used in production."],"what_it_does":"tensorizer is a PyTorch serialization library designed to decouple large models from container images and enable fast streaming loads from remote storage. It writes torch.nn.Module instances to a binary format that can be read back via HTTP/HTTPS, S3, Redis, or local filesystem, with streaming deserialization that avoids downloading entire models to disk first.\n\nThe package is built for serverless and containerized inference workflows where model load time directly impacts latency. By storing serialized models separately from container images, you can update models without rebuilding containers and stream weights directly into GPU memory. It supports local filesystem access for development, S3 for cloud object storage, and HTTP/HTTPS endpoints for any compatible server. Redis support is available but marked preliminary and not recommended for production model deployment.","worth_installing":"Yes, if you deploy large PyTorch models in containerized or serverless environments and need to minimize load latency. The permissive MIT license, active maintenance, and zero known vulnerabilities make it safe to adopt. Install friction is low. Not necessary for single-machine development or models small enough to embed in container images."},"id":"tensorizer","links":{"html":"https://skillfed.io/packages/tensorizer","md":"https://skillfed.io/packages/tensorizer.md","pypi":"https://pypi.org/project/tensorizer/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-04-21","license_spdx":null,"license_treatment":"permissive","name":"tensorizer","python_support":"supports_current","summary":"A tool for fast PyTorch module, model, and tensor serialization + deserialization."},"popularity":{"monthly_downloads":160437,"position":10661,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"2.12.1"}
