Skip to content

0.10.0

Choose a tag to compare

@justinmerrell justinmerrell released this 01 Jul 15:20
· 1926 commits to main since this release

New Features

Test API Server

  • We introduced the ability to quickly deploy a locally hosted API server with your worker code. This is accomplished by calling your handler file with the --rp_api_serve argument. This allows for faster, more flexible testing environments. Check out our blog post for an example.

Log Level

  • For better control over logging, we now allow setting the log level by calling your handler with the --rp_log_level set to the desired level. If this argument is present, it will override the RUNPOD_DEBUG_LEVEL.

Updates

Logger

  • We've made significant improvements to our logger for better clarity and control:
    • logger.py has been refactored and renamed to rp_logger.py for consistency.
    • Logging level is defaulted to DEBUG by default. Note that when your worker runs on RunPod we set it to ERROR unless otherwise set.
    • Breaking Change: RUNPOD_DEBUG no longer controls whether or not logs are printed. To prevent all logs from printing, set RUNPOD_DEBUG_LEVEL to 0 or call your handler file with the argument --rp_log_level="NOTSET"

RunPod API Python Language Library

  • We've added more options for creating Pods:
    • You can now specify data_center_id and country_code when creating Pods, allowing for more precise control over pod creation.

What's Changed

New Contributors

Full Changelog: 0.9.12...0.10.0