Skip to content

Latest commit

 

History

History
1300 lines (923 loc) · 84.1 KB

File metadata and controls

1300 lines (923 loc) · 84.1 KB

[12.5.0] - PyPI - 2026-05-08

Added

  • Prompt for pipeline template parameters with placeholder values (#1032)

Changed

  • Renamed pipeline generate command to compile (#1028)
  • Removed overly aggressive client-side log filtering (#1030)
  • Bumped python-dependencies group across 1 directory with 28 updates (#1031)
  • Added ruff to test dependencies (#1033)
  • Added pip package ecosystem to dependabot.yml (#1025)

Fixed

  • Fixed per-character alias bug in pipeline command (#1028)
  • Closed 9 open CodeQL/Dependabot alerts: workflow permissions and torch in test fixtures (#1035)

[12.4.1] - PyPI - 2026-04-30

Added

  • Code-first Pipeline DSL with CLI generate/upload support (#1017)
  • clarifai pipeline run --dev for local pipeline development (#1012)
  • Report cached prompt tokens in model responses (#1026)

Changed

  • Improved clarifai pipeline init help text and post-init next-steps message (#1023)
  • Disabled deploy_latest_version for clarifai model serve deployments (#1022)

Fixed

  • Re-pin deployment desired_worker to current model version on clarifai model serve (#1024)
  • Loosen pinned requirements and fix Clarifai package detection (#1020)
  • Validate Hugging Face access for private repos that report not_found to anonymous requests (#1018)
  • Fix CI compute orchestration tests (#1021)

[12.4.0] - PyPI - 2026-04-15

Added

  • clarifai pipeline local-run command to run pipeline steps locally in Docker (#1013)
  • Auto-create compute cluster/nodepool for clarifai pipeline run via --instance flag (#1011)

Changed

  • Improved clarifai pipeline init UX (#1008)
  • Local runner defaults set to PRIVATE; --public flag now patches all resource visibilities (#1014)
  • Updated additional requirements for model init --streaming-video (#987)

Fixed

  • User.app() now returns actual server data instead of empty values (#954)
  • Skip flaky test_model_templates and test_model_params (#1015)

[12.3.5] - PyPI - 2026-03-31

Changed

  • Smart resource reuse and private-by-default for clarifai model serve (#1004)
  • Optimize model runner memory and latency (#994)
  • Auto-detect and clamp max_tokens to backend's max_seq_len (#1005)

[12.3.4] - PyPI - 2026-03-26

Added

  • Added VLLMOpenAIModelClass parent class with cancellation support and health probes (#998)
  • Added clarifai Skills installation (#1003)

Changed

  • Streamlined overhead in SSE stream (#988)

Fixed

  • Fixed minor local-runner issue (#999)

[12.3.3] - PyPI - 2026-03-18

Added

  • Added --keep flag to clarifai model serve to preserve build directory (#990)

Changed

  • Local Runner is now public by default (#981)

Fixed

  • Fixed reasoning model token tracking, event-loop safety, streaming and tool call passthrough in agentic class (#989)
  • Fixed HasField usage on scalar primitives in DataConverter (#985)

[12.3.2] - PyPI - 2026-03-11

Changed

  • CLI & Deploy Improvements (#977)

Fixed

  • Fixed user/app conflicts with context in CLI (#979)
  • Fixed completion token reporting to use total_tokens - prompt_tokens to include reasoning tokens (#978)
  • Fixed user_id conflicts (#973)

[12.3.1] - PyPI - 2026-03-05

Added

  • Added support for reading pipeline templates git repo URL from CLARIFAI_PIPELINE_TEMPLATES_GIT_REPO_URL environment variable (#975)

Fixed

  • Fixed clarifai model init creating a subdirectory instead of updating the existing model directory (#972)

[12.3.0] - PyPI - 2026-03-04

Added

  • Added clarifai model deploy command and clarifai model init simplification with multi-cloud GPU discovery, zero-prompt deployment flow, and simplified config.yaml (#960)
  • Added developer and tool to valid message roles for LLM interactions (#970)
  • Added support for pipeline upload without step_directories when templateRefs have versions (#961)

Fixed

  • Fixed List Artifacts command to use correct latest-version-id and visibility (#968)
  • Fixed dataset download bug (#945)
  • Fixed user input override bypass when a PostScript version exists (#969)

[12.2.2] - PyPI - 2026-02-26

Added

  • Added App CRUD commands and clarifai whoami to the CLI (#958)
  • Added health check configuration for clarifai model local-runner via --health-check-port, --disable-health-check, and --auto-find-health-check-port flags (#957)

Changed

  • Improved CLI performance by lazily loading modules and reducing startup overhead (#958)
  • Converted GitHub Copilot contributor instructions into modular agent skills with a symlink-based structure (#935)

Fixed

  • Fixed env var clobbering in tests by using @patch.dict and corrected test patch paths after the CLI lazy-loading refactor (#959)
  • Fixed ModelRunner health server startup being invoked twice, which could cause “Address already in use” errors; added support to disable the health server and optionally auto-select an available port (#957)
  • Reduced overhead in the admission control poll loop in ModelRunner to improve runner efficiency (#956)

[12.2.1] - PyPI - 2026-02-19

Added

  • Added interactive clarifai logout command support with programmatic flags for non-interactive usage (#933)
  • Added --context CLI flag to override active context on a per-command basis (#919)

Changed

  • Added visibility and user_id filtering support for Pipeline and Pipeline Step resources in CLI and builders (#951)
  • Pipeline and Pipeline Step templates now initialize with PRIVATE visibility by default (#951)
  • Dropped support for Modules and removed associated module components (#949)

Fixed

  • Fixed PAT creation URL in CLI login from /settings/security to /settings/secrets (#950)
  • Fixed a serializer regression affecting runner serialization utilities (#952)

[12.2.0] - PyPI - 2026-02-13

Added

  • Admission Control: Added admission control support for model runners (#941)
  • OpenAI Dependency: Added openai as a core dependency (#938)

Changed

  • Local Runner: Removed inference_compute_info requirement for local model runners (#911)
  • CLI Login: Improved CLI login experience with better UX and security (#928)
  • Relaxed clarifai-protocol version constraint from ==0.0.35 to >=0.0.35,<0.1.0 (#932)

Fixed

  • Fixed dependency version constraints (#943)
  • Fixed authentication in model deployment CLI (#927)

[12.1.7] - PyPI - 2026-02-06

Added

  • Thread Configuration Management: Added functionality to pass num_threads from config.yaml to the model version protobuf.

Changed

  • Docker Entrypoint: Switched to tini as the default entrypoint in Dockerfile templates to improve signal handling and zombie process reaping within runner containers.

Fixed

  • Stdio MCP Server: Refactored the Model Context Protocol (MCP) server to improve logging clarity and remove unused legacy code.

[12.1.6] - PyPI - 2026-01-26

Added

  • Add support for concept IDs from config.yaml in visual detector/classifier (#913)
    • Added load_concepts_from_config() method to VisualDetectorClass and VisualClassifierClass to load concepts from config.yaml
    • Added optional concepts_map parameter to process_detections() and process_concepts() methods
    • When concepts_map is provided, concept IDs are taken from config.yaml instead of being auto-generated from names
    • Fixes mismatch between concept IDs in model output_info and actual prediction output

[12.1.5] - PyPI - 2026-01-21

Added

  • Added a dockerfile template that conditionally adds packages for video streaming (#902)

Fixed

  • Fixed the deployment cleaning logic to only target failed model deployments (#895)

[12.1.4] - PyPI - 2026-01-13

Added

  • [EAGLE-7083]: Add retry logic to OpenAI API calls (#878)
    • Implements an automatic retry mechanism for OpenAI API calls to handle transient httpx.ConnectError exceptions
    • Adds tenacity as a dependency
    • Wraps all OpenAI API calls in OpenAIModelClass with a @retry decorator
    • Configures the retry to happen up to 3 times with exponential backoff on httpx.ConnectError

Fixed

  • Fix agentic OpenAI transport (#900)
    • Fixed attribute access for OpenAI response objects in agentic transport to use hasattr() checks instead of dictionary .get() methods
    • Added "none" mode to the --mode CLI option for local-runner command and changed the default from "env" to "none"
  • Fix top_k when playground hits openai_transport_* methods (#791)

[12.1.3] - PyPI - 2026-01-09

Added

  • [PR-1090] Agentic Class (#869)
    • Introduced new AgenticModelClass that extends OpenAIModelClass to enable agentic behavior by integrating LLMs with MCP (Model Context Protocol) servers
    • Added tool discovery, execution, and iterative tool calling capabilities for both chat completions and responses endpoints
    • Supports both streaming and non-streaming modes
  • [PR-1092][PR-1093] Optimised MCPModelClass and supports for Stdio MCP servers (#872)
    • Refactored MCPModelClass with persistent session management using background thread with long-lived event loop
    • Added persistent FastMCP client session that opens once during load_model() and reuses for all subsequent requests
    • Introduced new StdioMCPModelClass for stdio MCP servers with automatic tool discovery
    • Added support for single long-lived Node.js process for stdio servers
    • Added configuration via YAML with support for environment variables and secrets

Fixed

  • Validate requirements.txt for Agentic Models (#897)
    • Added validation for requirements.txt in agentic models

[12.1.2] - PyPI - 2026-01-09

Added

  • Add CLI support for pause, cancel, resume, and monitor Pipeline Runs (#881)
    • clarifai pipelinerun (alias pr) with subcommands: pause, cancel, resume, monitor
    • Accepts pipeline_version_run_id as positional arg or explicit flag
    • Auto-loads user_id, app_id, pipeline_id, pipeline_version_id from config-lock.yaml when present
    • Helper functions extract shared logic for config loading, validation, and pipeline instantiation
    • monitor command polls status and logs with configurable --timeout and --monitor_interval options

Fixed

  • Fixed Artifacts Download and Improved Output Formatting (#893)
    • Fix Artifact download authentication issue.
    • Standardize table formatting by using the existing display_co_resources function.
    • Artifacts list table have more details such as version, created_at, etc.
    • Artifact version list displayed integers in the visibility column, fixed to human readable strings.

[12.1.1] - PyPI - 2026-01-06

Fixed

  • Fixed local model runner issues (#886)
    • Re-enabled copying from the working directory to the container, which was previously disabled
    • Corrected incorrect argument configuration for uploaded models from earlier work

[12.1.0] - PyPI - 2026-01-06

Fixed

  • Fixed checkpoint downloads failed when hf_transfer wasn't installed (#888)
    • Added compatibility check that temporarily disables HF_HUB_ENABLE_HF_TRANSFER environment variable during downloads when hf_transfer package is unavailable
    • Prevents download failures from Hugging Face when environment variable is set but package is not installed
  • Fix conflicts with latest vLLM (#887)
    • Fixed vLLM model upload failures caused by hardcoded dependencies in SDK

[11.12.2] - PyPI - 2025-12-23

Added

  • PIPE-1120: Artifact CLI/SDK implementation (#860)
    • Added comprehensive artifact management system for SDK and CLI
    • Added Artifact and ArtifactVersion client classes for metadata and file operations
    • Added CLI commands for artifact operations (list, get, cp, delete) with alias support
    • Added file upload/download with streaming, progress tracking, and retry logic
    • Added 80+ test methods across 4 test files for comprehensive coverage
  • PR-1014: Interactive config.yaml creation during model upload process (#843)
    • Added interactive CLI prompts for creating config.yaml when missing during model upload
    • Added helper functions for prompting required, optional, integer, and yes/no fields
    • Added context selection during upload process
  • Added container and Env model for Local runners (#856)
    • Added CLI options (--mode, --keep_image) for local_runner command
    • Added ModelRunLocally class for environment setup and Docker operations
    • Added support for running models in virtual environment or Docker container
  • Add comprehensive test coverage for MCPConnectionPool connection lifecycle (#875)
    • Added 22 unit tests for connection lifecycle operations
    • Added tests for singleton behavior, connection cleanup, and parallel operations

Changed

  • Update status code and description for model runner failure case (#870)
    • Updated status code to RUNNER_PROCESSING_FAILED for model runner failures

Fixed

  • [EAGLE-7007]: Prevent TypeError during model version creation (#858)
    • Fixed TypeError by filtering None values from method signatures before protobuf constructor
  • Fixed runner-id bug for local-runners (#867)
    • Fixed runner selection and error handling logic to reuse existing runners
    • Fixed runner ID missing error when local-runner is initiated from fresh login
  • Add fix for user verification in dev (#868)
    • Fixed CONN_INSUFFICIENT_SCOPES error during model upload in dev environment
    • Added graceful handling of insufficient scopes for Clarifai employee check
  • [SVMB-1361]: Upgrade urllib3>2.6.2 (#877)
    • Upgraded requests dependency to ensure urllib3>2.6.2 for security fix
  • [EAGLE-7083]: Add retry logic to OpenAI API calls and fix test mocks (#879)
    • Added retry mechanism with exponential backoff for OpenAI API calls
    • Added tenacity dependency for retry logic
    • Fixed test mocks with missing OpenAI client methods

[11.12.1] - PyPI - 2025-12-03

Fixed

  • Fix TypeError when accelerator_type is None in config.yaml (#864)
    • Added null check before iterating over accelerator_type
    • Prevents crash during model upload for CPU-only models

[11.12.0] - PyPI - 2025-12-02

Changed

  • Fixed local-runner to handle duplicate runner id errors (#850)
  • Added CLARIFAI_HF_TOKEN to CLI Context (#851)

Added

  • Add comprehensive test coverage for cli.pipeline_step module (#795)
  • Add tests for local-runner CLI command (#853)

Removed

  • Remove auto-generating file (#854)

[11.10.3] - PyPI - 2025-11-27

Added

  • Add platform specification support to config.yaml for model versions (#855)
  • Add --platform CLI option for model upload (#857)

Changed

  • Add support for new struct_value field in runner data utils (#847)

[11.10.2] - PyPI - 2025-11-14

Changed

  • Add support for including deployment user ID (#848)
  • Remove model proto caching from ModelRunner, ModelServicer, and server (#838)

[11.10.1] - PyPI - 2025-11-14

Added

  • Add Pipeline Step Secrets support in SDK and CLI (#830)
  • Bump dockerfile base image git hash (#844)
  • Add input argument overrides for pipeline runs via CLI and SDK (#841)

[11.10.0] - PyPI - 2025-11-11

Changed

  • Refactored the Dockerfile.template used for building Clarifai model runner images by introducing of a multi-stage build that separates model asset downloading from final image creation, resulting in a cleaner and more efficient build process (#839)
  • Fixed an issue by ensuring the model proto with secrets is loaded once during server initialization and is available for all predict requests (#837)
  • Added comprehensive support for the OpenAI responses API (both streaming and non-streaming) to the dummy model implementation, improved token usage accounting for both chat.completions and responses endpoints, and introduces thorough tests for the new functionality (#836)
  • Added a validation mechanism to the model loading process in Model class, improving reliability during model initialization (#835)
  • Improved how package names and versions are parsed from requirement lines, specifically adding support for dependencies specified with the @ symbol and ensuring consistent whitespace handling (#834)
  • Centralized and streamlined the logic for reading environment variables and passing them to the ClarifaiAuthHelper, making the codebase more maintainable and flexible (#833)
  • Added visual-keypointer to concepts-required model types list (#824)
  • Improved the robustness of the clarifai model local-runner command by ensuring that model configuration is loaded and validated earlier in the process, and by adding stricter checks for model type consistency (#823)
  • Optimized model runner performance by loading the model proto once at initialization instead of expecting it with every predict request from the API (#822)
  • Improved the clarifai pipeline init command by updating the Argo workflow template generation to include input arguments and remove unnecessary metadata fields (#819)
  • Added comprehensive environment validation to provide immediate feedback when users attempt to run model tests on unsupported environments, helping them understand limitations and avoid confusion when tests fail (#658)

[11.9.0] - PyPI - 2025-10-22

Changed

  • Fixed Missing user_id parameter issue in CLI local-runner command (#816)
  • Added sglang toolkit to CLI init command (#815)
  • Added Model Deployment Workflow after Model Upload in CLI (#802)

[11.8.5] - PyPI - 2025-10-20

Added

  • Added optional protobuf response information in pythonic models with parameter validation (#810)

[11.8.4] - PyPI - 2025-10-18

Changed

  • Added python toolkit to CLI init command (#807)
  • Added USER_ID to config of CLI Model Init (#808)
  • Add user input prompt for OpenAI local runner (#801)
  • Fixed async_client initialisation (#806)

[11.8.3] - PyPI - 2025-10-09

Changed

  • Disabled async_stub in ModelClient initialization (#804)
  • Fixed UnboundLocalError in model init when using --model-type-id without toolkit (#799)
  • Added config-lock.yaml to clarifai pipeline upload (#754)

[11.8.2] - PyPI - 2025-09-24

Changed

  • Added support for initializing models using the vLLM toolkit for local-runners (#789)
  • Modified the secret injection mechanism to support pulling secrets directly from the current environment when no secret files are available (#788)
  • Updated type hints and docstring descriptions across all major files in the clarifai/client folder to improve code quality, maintainability, and developer experience (#781)
  • Added comprehensive secrets management functionality to Clarifai's client, including CRUD operations for secrets and integration with model upload workflows (#779)
  • Added support for initializing models using the LMStudio toolkit for local-runners (#760)
  • Added support for initializing models using the Hugging Face toolkit for local-runners (#740)
  • A new patch_version method is added to the Model class and integrated method signatures into the local runner workflow (#718)
  • Highlights the code of example code script printed in logs of local runner workflow (#707)
  • Changed the default local development model type from "text-to-text" to "any-to-any" (#680)
  • Reduced friction while still leveraging a single prebuilt AMD base image (#645)
  • Bump setuptools from 70.0.0 to 78.1.1 in /.github/workflows (#600)
  • Fixes an issue with the conversion of gRPC response enums to integers for the runner creation process (#576)

[11.8.1] - PyPI - 2025-09-11

Changed

  • Minor internal improvements and bug fixes.

[11.8.0] - PyPI - 2025-09-11

Added

  • Health probe support allowing ModelClass implementations to define liveness/readiness checks (#783)
  • Interactive pipeline init user prompts replacing placeholder TODO values (#768)
  • Git registry metadata capture during model upload with model‑scoped change detection (#762)
  • Comprehensive internal GitHub Copilot contributor instructions document (#748)

Changed

  • Local runner now uses latest local-dev model version automatically (#777)
  • Improved overall Model CLI UX (consolidated flags, clearer help, better error surfacing) (#738)
  • Updated clarifai model predict CLI to align with pythonic model changes (#654)
  • Updated local-runner default API base URL (#770)
  • Refined logging in model & pipeline step builders for clearer diagnostics (#773)

Fixed

  • Correct TypeError when parsing checkpoint size from environment variable (#775)
  • Secrets handling for request type secrets in runners / builders (#774)
  • Pipeline log monitoring pagination now returns all entries beyond first 50 (#772)

Internal / Docs

  • Added structured maintainer + contributor guidance for AI assistance workflows (#748)

Notes

  • This release focuses on developer ergonomics (CLI UX, logging clarity), operational robustness (health probes, pagination fix), and improved reproducibility (git registry metadata & latest local-dev model resolution).

[11.7.5] - PyPI - 2025-08-28

Changed

  • Fix Local Runner CLI command [(#765)] (#765)

[11.7.4] - PyPI - 2025-08-27

Changed

  • update protocol and grpc versions [(#763)] (#763)

[11.7.3] - PyPI - 2025-08-22

Changed

  • avoid downloading original checkpoints [(#760)] (#760)
  • integrate secrets into SDK [(#757)] (#757)

[11.7.2] - PyPI - 2025-08-19

Changed

  • fix num_threads setting fix pip checks [(#752)] (#752)
  • fix pip checks when cache is broken [(#751)] (#751)

[11.7.1] - PyPI - 2025-08-18

Changed

  • fix usage setting on openai responses [(#750)] (#750)

[11.7.0] - PyPI - 2025-08-18

Changed

  • add stream_options validation for internal streaming model upload [(#742)] (#742)
  • add packaging dependency that was missing [(#743)] (#743)
  • always return JSON errors on openAI calls [(#744)] (#744)
  • use 32 threads by default [(#735)] (#735)
  • [PR-754] Fix ruff and dependencies-related issues [(#737)] (#737)
  • [PR-768]: Fix Model Upload Deployment [(#739)] (#739)
  • [PR-765] Fix wrong url for python SDK in README [(#734)] (#733)
  • [PR-734] Use Method signature for local-runner [(#718)] (#718)
  • Prevent Dockerfile overwrite during model upload with user confirmation [(#715)] (#715)

[11.6.8] - PyPI - 2025-08-05

Changed

  • quickfix for local runner signatures [(#732)] (#732)

[11.6.7] - PyPI - 2025-08-04

Changed

  • skip code generation when context is None [(#730)] (#730)
  • pipeline_steps should be used in templates [(#728)] (#728)
  • Fix nodepool creation [(#729)] (#729)
  • Fix pipeline status code checks [(#727)] (#727)
  • various fixes for pipelines [(#726)] (#726)
  • Add list / ls CLI command for pipeline and pipelinestep [(#667)] (#667)
  • Fix PAT account settings link [(#724)] (#724)

[11.6.6] - PyPI - 2025-07-30

Changed

  • Added support for verbose logging of Ollama [(#717)] (#717)
  • Improve error messages with pythonic models [(#721)] (#721)
  • Improve login logging experience [(#719)] (#719)
  • Improve Local Runner Logging [(#720)] (#720)

[11.6.5] - PyPI - 2025-07-23

Changed

  • Add CLI config context support to BaseClient authentication [(#704)] (#704)
  • live logging functionality for model runner [(#711)] (#711)
  • Unify Context Management Under a Single config Command [(#709)] (#709)
  • Add func to return both stub and channel [(#713)] (#713)
  • Added local-runner requirements validation step [(#712)] (#712)
  • Improve URL Download error handling [(#710)] (#710)
  • Added Playground URL to Local-Runner Logs [(#708)] (#708)
  • Unit tests for toolkits [(#639)] (#639)
  • Improve Local-Runner CLI Logging [(#706)] (#706)
  • Improve client script formatting (black linter formatting) [(#705)] (#705)
  • Add github folder download support and toolkit option in model init [(#699)] (#699)
  • Improve Handling for PAT and USER_ID [(#702)] (#702)

[11.6.4] - PyPI - 2025-07-11

Changed

  • Fixed flag for local runner threads, add user validation error [(#698)] (#698)
  • Added PAT token validation during clarifai login command [(#697)] (#697)
  • Fixed Local Runners Name across SDK [(#695)] (#695)

[11.6.3] - PyPI - 2025-07-09

Changed

  • Added default template for ollama models in the local-runner ising model init command [(#693)] (#693)
  • Fixed pipelinestep upload command to parse all compute-info params and preserve user Dockerfile
  • Fixed base model template import & return issues [(#690)] (#690)
  • Add pool_size flag default to 1 for local dev runner threads [(#689)] (#689)

[11.6.2] - PyPI - 2025-07-08

Changed

  • Updated local-runner constants [(#684)] (#684)

[11.6.1] - PyPI - 2025-07-07

Changed

  • Added --version flag support to the Clarifai CLI [(#678)] (#678)
  • Ensured better handling of model_type_id and improved configuration management [(#676)] (#676)
  • Added support for specifying a deployment_user_id in the Model class to enhance runner selection functionality [(#675)] (#675)
  • Added functionality to initialize a model directory from a GitHub repository, enhancing flexibility and usability in model init command [(#674)] (#674)
  • Fixed CLI PATH for Windows [(#672)] (#672)
  • Fixed code generation script [(#671)] (#671)
  • Added an alias for the pipelinestep CLI command and significantly improved test coverage for the clarifai.runners.pipeline_steps module [(#665)] (#665)
  • Improved CLI documentation and added descriptive help messages for various model-related commands [(#663)] (#663)

[11.6.0] - PyPI - 2025-07-01

Changed

  • Number of threads used for GRPC Server default to CLARIFAI_NUM_THREADS and 32 otherwise [(#661)] (#661)
  • Use Configuration contexts in Model Upload CLI [(#649)] (#649)
  • Add pipeline run CLI similar to model predict [(#644)] (#644)
  • Update requirements.txt for protocol version [(#668)] (#668)

[11.5.6] - PyPI - 2025-06-30

Added

  • Per-output token context tracking for batch operations
  • New set_output_context() method for models to specify token usage per output

Changed

  • Improved token usage tracking in ModelClass with thread-local storage
  • Enhanced batch processing support with ordered token context queue

Fixed

  • Token context ordering in batch operations using FIFO queue approach
  • Temporarily disabled test_client_batch_generate while implementing token tracking features

[11.5.5] - PyPI - 2025-06-27

Fixed

  • fix legacy proto support [(#636)] (#636)

[11.5.4] - PyPI - 2025-06-25

Fixed

  • Added authentication support to URL fetcher for SDH-protected URLs [(#647)] (#647)

[11.5.3] - PyPI - 2025-06-24

Changed

  • Fixes AMD-related configuration by updating image versioning, introducing an AMD-specific Torch image [(#641)] (#641)
  • Fix code snippets and Added code snippet test [(#638)] (#638)
  • Add CLI command for pipeline upload with orchestration and validation [(#634)] (#634)
  • Add list models information in CLI and method [(#640)] (#640)
  • Show a terminal prompt asking users if they want to create a new app when the specified app does not exist [(#637)] (#637)
  • Asyncify predict endpoints v2 [(#588)] (#588)
  • Added Model Utils in SDK [(#631)] (#631)
  • Use model auth to set runner [(#632)] (#632)
  • Add support for Clarifai Pipeline Steps Upload similar to Model Upload [(#621)] (#621)

[11.5.2] - PyPI - 2025-06-13

Changed

  • improve local dev and url helper (630)

Fixed

  • Proactively check code and requirements before upload (625)
  • fix amd and circular imports (628)

[11.5.1] - PyPI - 2025-06-13

Changed

  • use uv in the build process (626)

Fixed

  • Proactively check code and requirements before upload (625)
  • fix amd and circular imports (628)

[11.5.0] - PyPI - 2025-06-10

Changed

  • Removed an unused parameter in VisualClassifier class [(#622)] (#622)
  • Add support to /responses, /embeddings, and /images/generations endpoints to the OpenAI class [(#619)] (#619)
  • Fixed data display issue and updated openai params [(#618)] (#618)

[11.4.10] - PyPI - 2025-05-30

Changed

  • Add back in pretrained model config [(#616)] (#616)

[11.4.9] - PyPI - 2025-05-30

Changed

  • Updated Model Upload section in Readme [(#613)] (#613)
  • Add clarifai model init to CLI to create default files for model upload [(#611)] (#611)

[11.4.8] - PyPI - 2025-05-29

Changed

  • Fix issue with model upload [(#612)] (#612)

[11.4.7] - PyPI - 2025-05-29

Changed

  • Improve usage of clarifai config in urls [(#608)] (#608)
  • Update code snippets for MCP / OpenAI [(#607)] (#607)

[11.4.6] - PyPI - 2025-05-28

Changed

  • Fixed Model Upload [(#606)] (#606)

[11.4.5] - PyPI - 2025-05-28

Changed

  • Fixed MCPModelClass notifications bug [(#602)] (#602)
  • Improved the OpenAIModelClass to streamline request processing, add modularity, and simplify parameter extraction and validation [(#601)] (#601)
  • Fixed a bug in the OpenAIModelClass to return the full json responses [(#597)] (#597)
  • Cleanup fastmcp [(#596)] (#596)
  • Added OpenAIModelClass to allow developers to create models that interact with OpenAI-compatible API endpoints [(#594)] (#594)

[11.4.4] - PyPI - 2025-05-26

Changed

  • Fixed openai messages Utils function and code-snippet function [(#595)] (#595)

[11.4.3] - PyPI - 2025-05-23

Changed

  • Simplified openai client wrapper functions (#562)
  • MCP integration, CLI commands and improved environment variable handling (#592)

[11.4.2] - PyPI - 2025-05-21

Changed

  • Fix Pythonic bugs (#586)
  • Addition of Base Class for Visual Classifier Models (#585)
  • Print script after model upload (#583)
  • Add AMD changes (#581)
  • Removed duplicate model downloads and improved error logging for gated HF repo. (#564)
  • Addition of Base Class for Visual Detector Models (#563)
  • remove rich from req (#560)

[11.4.1] - PyPI - 2025-05-09

Changed

  • Param for Inference params in model.py and FE (#567)

[11.4.0] - PyPI - 2025-05-08

Changed

  • Fixed Streamlit Query Parameters retrieval issue in ClarifaiAuthHelper. (#577)
  • Fixed pyproject.toml. (#575)
  • Fixed local dev runners. (#574)
  • Fixed issue of runner ID of local dev runners. (#573)
  • Switched to uv and ruff to speed up tests and formatting & linting. (#572)
  • Changed some == to is. (#570)
  • Local dev runner setup using CLI is easier now. (#568)
  • Fixed indirect inheritence from ModelClass. (#566)

[11.3.0] - PyPI - 2025-04-22

Changed

[11.2.3] - PyPI - 2025-04-08

Changed

  • CLI is now abougt 20x faster for most operations (#555)
  • CLI now has config contexts, more to come there... (#552)
  • Improve error messages with missing PAT (#548)
  • Fix model builder return args (#547)

[11.2.2] - PyPI - 2025-03-28

Changed

  • Removed HF loader config.json validation for all clarifai Model type ids [(#543)] (#543)
  • Added Regex Patterns to Filter Checkpoint Files to Download [(#542)] (#542)

[11.2.1] - PyPI - 2025-03-25

Changed

  • Added validation for CLI config [(#540)] (#540)
  • Fixed docker image name and added skip_dockerfile option to test-locally subcommand od model CLI [(#526)] (#526)

[11.2.0] - PyPI - 2025-03-24

Changed

  • Improved CLI login module [(#535)] (#535)
  • Updated the CLI to test out model locally independent of remote access [(#534)] (#534)
  • Modified the default value of num_threads field [(#533)] (#533)

[11.1.7] - PyPI - 2025-03-08

Changed

  • Dropped testing of python 3.8, 3.9, 3.10 [(#532)] (#532)
  • Updated the deployment testing config [(#531)] (#531)

[11.1.6] - PyPI - 2025-03-06

Changed

  • Removed the model_path argument to CLI [(#529)] (#529)
  • Added configuration for multi-threaded runners [(#524)] (#524)

[11.1.5] - PyPI - 2025-02-21

Changed

  • Adds support for local dev runners from CLI [(#521)] (#521)
  • Use the non-runtime path for tests [(#520)] (#520)
  • Fix local tests [(#518)] (#518)
  • Catch additional codes that models have at startup [(#517)] (#517)

[11.1.4] - PyPI - 2025-02-12

Changed

  • Introduce 3 times when you can download checkpoints [(#515)] (#515)

[11.1.3] - PyPI - 2025-02-11

Changed

  • Fix dependency parsing [(#514)] (#514)

[11.1.2] - PyPI - 2025-02-10

Changed

  • User new base images and fix clarifai version [(#513)] (#513)

[11.1.1] - PyPI - 2025-02-06

Changed

  • Don't validate API in server.py [(#509)] (#509)

[11.1.0] - PyPI - 2025-02-05

Changed

  • Fixed Docker test locally [(#505)] (#505)
  • Fixed HF checkpoints error [(#504)] (#504)
  • Fixed Deployment Tests [(#502)] (#502)
  • Fixed Issue with Filename as Invalid Input ID [(#501)] (#501)
  • Update Model Predict CLI [(#500)] (#500)
  • Tests Health Port to None [(#499)] (#499)
  • Refactor model class and runners to be more independent [(#494)] (#494)
  • Add storage request inferred from tar and checkpoint size [(#479)] (#479)

[11.0.7] - PyPI - 2025-01-24

Changed

  • Updated model upload experience [(#498)] (#498)

[11.0.6] - PyPI - 2025-01-24

Changed

  • Added Model Upload Tests [(#495)] (#495)
  • Updated Torch version Images and Delete tar file for every upload [(#493)] (#493)
  • Added Tests for Model run locally [(#492)] (#492)
  • Added CLARIFAI_API_BASE in the test container [(#491)] (#491)
  • remove triton requirements [(#490)] (#490)

[11.0.5] - PyPI - 2025-01-17

Changed

  • Added tests for downloads and various improvements [(#489)] (#489)

[11.0.4] - PyPI - 2025-01-17

Changed

  • Added tests for downloads and various improvements [(#488)] (#488)

[11.0.3] - PyPI - 2025-01-14

Changed

  • Make API validation optional [(#483)] (#483)
  • Env var to control logging [(#482)] (#482)

[11.0.2] - PyPI - 2025-01-14

Changed

  • Update base images [(#481)] (#481)
  • Optimize downloads from HF [(#480)] (#480)

[11.0.1] - PyPI - 2025-01-14

Changed

  • Take user_id from Env variable [(#477)] (#477)
  • Added HF token Validation [(#476)] (#476)
  • Fix Model prediction methods when configured with a dedicated compute_cluster_id and nodepool_id [(#475)] (#475)
  • Fix model upload issues [(#474)] (#474)
  • Improved error logging [(#473)] (#473)

[11.0.0] - PyPI - 2025-01-07

Changed

  • Changed labels to optional in Dataloaders to support Data Ingestion pipelines in clarifai-datautils library [(#471)] (#471)

[10.11.1] - PyPI - 2024-12-20

Added

  • Added model building logs [(#467)] (#467)
  • Added user_id to RAG class [(#466)] (#466)
  • Added Compute Orchestration to README.md [(#461)] (#461)
  • Added Testing and Running a model locally within a container [(#460)] (#460)
  • Added CLI support for Model Predict [(#459)] (#459)

Changed

  • Updated Dockerfile for Sglang [(#468)] (#468)
  • Updated available torch images and some refactoring [(#465)] (#465)

Fixed

  • Fixed issue for Model local testing [(#469)] (#469)

Removed

  • Removed protobuf from requirements to resolve conflicts with clarifai-grpc [(#464)] (#464)

[10.11.0] - PyPI - 2024-12-03

Changed

  • Fixed issue of bounding box info edge cases [(#457)] (#457)
  • Supports downloading data.parts as bytes [(#456)] (#456)
  • Changed default env to prod for Model upload [(#455)] (#455)
  • Added tests for all stream and generate methods [(#452)] (#452)
  • Added Codecoverage test report in PRs [(#450)] (#450)

[10.10.1] - PyPI - 2024-11-18

Changed

  • Fixed code bug in runners selection using Deployment [(#446)] (#446)
  • Fixed id bug in multimodal loader during deletion of failed inputs [(#445)] (#445)
  • Added list inputs functionality to Dataset Class [(#443)] (#443)
  • Added delete annotations functionality to Input Class [(#442)] (#442)
  • Added Dockerle template based on new base images by parsing requirements [(#439)] (#439)

[10.10.0] - PyPI - 2024-11-07

Changed

  • Added a check for base url parameter [(#438)] (#438)
  • Added CLI support for Compute Orchestration resources (Compute cluster, Nodepool, Deployment) [(#436)] (#436)

[10.9.5] - PyPI - 2024-10-29

[10.9.4] - PyPI - 2024-10-28

[10.9.3] - PyPI - 2024-10-28

Changed

  • Added tests for CRUD Operations of CO Resource - Deployment [(#431)] (#431)
  • Added request-id-prefix header to SDK requests to improve SDK monitoring [(#430)] (#430)
  • Added CLI for Model upload [(#429)] (#429)
  • Fixed model servicer for Model Upload [(#428)] (#428)
  • Added python versions badge to README.md [(#427)] (#427)
  • Removed stream tests till stream API is fixed [(#426)] (#426)
  • Removed unnecessary prefixes to concept ID added from SDK [(#424)] (#424)
  • Upgraded llama-index-core lib version as a security update [(#423)] (#423)
  • Added metadata in exported dataset annotations files
  • Upgrade to clarifai-grpc 10.9.11

[10.9.2] - PyPI - 2024-10-14

Changed

  • Improve UX for model upload and fix runners tests [(#420)] (#420)
  • Added functionality to Merge Datasets [(#419)] (#419)
  • Fix bugs for model upload [(#417)] (#417)
  • Fix download_checkpoints and fix run model locally [(#415)] (#415)

[10.9.1] - PyPI - 2024-10-09

Changed

  • Improve handling missing huggingface_hub package [(#412)] (#412)
  • Implement script that allows users to test and run a runner's model locally [(#411)] (#411)
  • Improve Model upload experience for cv models [(#408)] (#408)

[10.9.0] - PyPI - 2024-10-07

Changed

  • Improved the Test Coverage for Dataloaders & Evaluations modules of SDK [(#409)] (#409)

[10.8.9] - PyPI - 2024-10-03

Changed

  • New streaming predict endpoints(#407)
  • New dockerfile for model upload and improvements to upload flow(#406)

[10.8.8] - PyPI - 2024-10-03

Changed

[10.8.7] - PyPI - 2024-10-03

Added

  • Added CRUD operations for Compute Orchestration resources (Compute cluster, Nodepool, Deployment) [(#402)] (#402)

Changed

  • Improved logging and fixed issues with downloading checkpoints(#403)

[10.8.6] - PyPI - 2024-09-28

Changed

  • Refract Model upload and download checkpoints at build time during model upload(#400)

[10.8.5] - PyPI - 2024-09-26

Changed

  • Added fsspec dependency which would be required in runners for model upload (#398)
  • Added MultiModalLoader support (#384)
  • Deleted model_serving in this SDK, after the Runners PR has been merged (#391)

[10.8.4] - PyPI - 2024-09-26

Changed

  • Added validation check in HF loader, if the checkpoints really exit at checkpoint path (#396)
  • Remove pydantic dependency from runners in clarifai-python (#395)

[10.8.3] - PyPI - 2024-09-25

Changed

  • use json logger always in k8s (#393)
  • Added a json logger so it's convenient to get logs into logging stacks (#392)
  • Added HuggingFaceLoader and added methods in model_upload for download_checkpoints and handling concepts (#390)
  • Integrate clarifai-protocol which use to upload model to platform (#389)
  • Tests Addition for App, Dataset, Input, Model Classes (#386)
  • Upgrade to clarifai-grpc 10.8.7

[10.8.2] - PyPI - 2024-09-19

Changed

  • Upgrade to clarifai-grpc 10.8.6
  • Improved Model Export functionality by adding Ranges header (#385)

[10.8.1] - PyPI - 2024-09-06

Fixed

  • Python SDK usage issue on Windows OS due to upgrade in Protobuf library (#380)
  • Dataset Annotations bug that returns None if class annotation is not present during export (#382)

[10.8.0] - PyPI - 2024-09-02

Added

  • Patch operations for Models and Workflows [(#370)] (#370)
  • Addition of Concept Relations Operations [(#371)] (#371)
  • Addition of App's Input Count functionality [(#372)] (#372)

Fixed

  • Dataset Annotations bug that returns either class annotation or detection annotation during export (#375)
  • Model Export Bug by adding authentication headers (#373)

[10.7.0] - PyPI - 2024-08-06

Added

  • Patch operations for Apps and Datasets [(#364)] (#364)

Fixed

  • RAG class to support env variable for user_id param (#357)
  • Search query bug that returns duplicated triplets by removing PostAnnotationsSearches and replacing it with PostInputsSearches(#366)
  • Search request potentially blocks the users to use different types of filters altogether, fixed it by supporting annotation and input proto filters.(#366)

[10.5.4] - PyPI - 2024-07-12

Added

  • Patch operations for input annotations and concepts [(#354)] (#354)

Changed

  • Getting user id from ENV variables for RAG class (#358)
  • Improved rich logging by width addition (#359)

Fixed

  • Dataset export functionality - Added authentication headers to download requests, better exception formatting (#356)

[10.5.3] - PyPI - 2024-06-20

Changed

  • Moved some convenience features to CLI only to avoid writes to disk (#353)

[10.5.2] - PyPI - 2024-06-20

Changed

  • Text Features to add random ID as input if input ID is not provided in Dataloader (#351)

[10.5.1] - PyPI - 2024-06-17

Changed

  • Added BaseClient.from_env() and some new endpoints (#346)

[10.5.0] - PyPI - 2024-06-10

Changed

  • Upgrade to clarifai-grpc 10.5.0 (#345)

[10.3.3] - PyPI - 2024-05-07

Changed

  • Upgrade to clarifai-grpc 10.3.4 (#343)
  • RAG apps, workflows and other resources automatically setup now use UUIDs in their IDs instead of timestamps to avoid races. (#343)

Fixed

  • Fixed issue with get_upload_status overriding log_warnings table in log file. (#342)
  • Use UUIDs in tests to avoid race conditions with timestamps. (#343)
  • Hardcoded shcema package to 0.7.5 as it introduced breaking changes. (#343)

[10.3.2] - PyPI - 2024-05-03

Added

  • Flag to download model. If export_dir param in Model().export() is provided, the exported model will be saved in the specified directory else export status will be shown.(#337)
  • Label ID support in Dataloaders(label_ids param) and get_proto functions in Inputs class.(#338)

Changed

  • Logger for Inputs().upload_annotations to show full details of failed annotations.(#339)

Fixed

  • RAG upload bug by changing llama-index-core version to 0.10.24 in ImportError message (#336)

[10.3.1] - PyPI - 2024-04-19

Added

  • Pagination feature in Search. Added pagination param in Search() class and included per_page and page_no params in Search().query() (#331)
  • Alogrithm param in Search()(#331)

Changed

Fixed

  • RAG.setup() bug where if we delete a specific workflow and create another workflow with the same id, by adding timestamp while creating a new prompter model (#332)
  • RAG.upload() to support folder of text files.(#332)

[10.3.0] - PyPI - 2024-04-08

Added

  • Root certificate support to establish secure gRPC connections by adding root_certificates_path param in all the classes and auth helper and updating the grpc to the latest version.(#319)
  • Missing VERSION and requirements.txt files to setup.py(#320)

Changed

  • To limit max upload batch size for Inputs().upload_inputs() function. Also changed the model version id parameter inconsistency in App.model() and Model()(#317)

Fixed

  • Training status bug by removing constraint of user specifying model_type_id for training_logs and using load_info() to get model version details(#321)
  • Create workflow bug which occured due to the model version id parameter change in #317(#322)
  • Unnecessary infra alerts by adding wait time before deleting a model in model training tests (#326)

Removed

[10.2.1] - PyPI - 2024-03-19

Added

  • Dataset version ID support in app.dataset() and Dataset() (#315)

Changed

  • Dataset Export function to internally download the dataset archive zip with the function Dataset.archive_zip()(#303)
  • The backoff iterator to support custom starting count, so different process can have different starting wait times.(#313)

Fixed

  • Removed the key base_embed_model from params.yaml file, since the model training by default considers the base embed model which is set for the app and no need to define it again in params file.(#314)

[10.2.0] - PyPI - 2024-03-18

Added

  • Model Export support (#304)
  • Retry upload function from failed log files (#307)

Fixed

  • File not found error in model serving CLI (#305)
  • Workflow YAML schema bug (#308)
  • Base URL passing bug (#308)

[10.1.1] - PyPI - 2024-02-28

Added

  • Eval Endpoints (#290)
  • Eval Utils (#296)
  • Eval Tests (#297)
  • Support session token (#300)

Changed

  • Dataset upload Enhancements (#292)

Fixed

  • Concept ID check befor model training (#295)
  • RAG setup debug (#298)
  • Requirements Update (#299)

[10.1.0] - PyPI - 2024-02-13

Added

  • Model Upload v2 CLI (#269)
  • Support Existing App in RAG (#275)
  • Support RAG Prompter kwargs (#280)
  • Custom Workflow id support in RAG (#291)

Fixed

  • Model Template Change in Model Train Test (#273)
  • Dataset Upload summary fix (#282)
  • Update Model Serving Docs (#287)

[10.0.1] - PyPI - 2024-01-18

Fixed

  • Modified process_response_keys functions to fetch metadata info (#270)
  • Assert user_id condition for RAG (#268)

[10.0.0] - PyPI - 2024-01-10

Fixed

  • Changed demo link in README (#260)
  • Fixed Mulitmodal input bug (#261)

Changed

  • Workflow predict retry time to 10 minutes (#266)
  • Update clarifai-grpc to 10.0.1 (#267)

Added

  • Test Cases for Model Upload (#256)
  • Download Inputs functionality (#263)
  • Added RAG base class (#262)
  • RAG Chat Method (#264)
  • RAG Upload Method (#265)

Removed

  • Model upload examples moved to examples repo (#258)

[9.11.1] - PyPI - 2023-12-29

Fixed

  • Use specific URL method for apps (#257)

Changed

  • Loosen requirement constraints (#243)
  • Update clarifai-grpc to 9.11.5

Added

  • Support Rank for PostInputsSearch (#255)

[9.11.0] - PyPI - 2023-12-11

Fixed

  • CocoDetectionDataloader bug (#241)

Changed

  • Codeql Change (#241)
  • Seperate tests requiring secrets (#233)
  • SDK Pending tasks (#232)
    • add retry for workflow predict
    • add constants for max inputs count in predict
    • change annotation proto to bbox
    • add search to README.md
    • Add CHANGELOG.md
  • Updated runner logic with parallel and error catching (#238)
  • Removing internal_only Training Params (#231)
  • Remove pytest requirement (#225)
  • Remove omegaconf requirement (#235)
  • Update clarifai-grpc to 9.11.0

Added

  • Support multimodal inputs for inference (#239)
  • Ensure support for Python 3.10-3.12 (#226)

[9.10.4] - PyPI - 2023-11-23

Fixed

  • Add MANIFEST.in back to include .css files

[9.10.3] - PyPI - 2023-11-23

Added

  • Support Dataset Upload Status
  • Support PAT as arg

Removed

  • SDK cleanup(docs, examples, symlink to clarifai_utils, clarifai.auth)

Changed

  • Refactor dataset upload process(loaders, dataloader)

[9.10.2] - PyPI - 2023-11-17

Fixed

  • Fix Search top_k bug

[9.10.1] - PyPI - 2023-11-16

Added

  • Model Training in SDK.
  • Tests for Model Training.

Fixed

  • Fix base_url bug in passing while chained

Changed

  • Moving Pycocotools requirement to extras(clarifai[all]).

[9.10.0] - PyPI - 2023-11-06

Added

  • Support for model inference params
  • PostInputsSearch Support

Changed

  • Bump clarifai_grpc==9.10.0

[9.9.3] - PyPI - 2023-10-16

Added

  • Pagination in listing
  • Support list_annotations
  • Supports custom metadata in dataloader, upload_from_csv

Changed

  • Set clarifai_grpc to 9.8.1
  • Reuse requirements.txt in setup.py

[9.9.2] - PyPI - 2023-10-11

Added

  • Support Annotation Download

Fixed

  • Fix critical Version file not found bug in 9.9.1

[9.9.1] - PyPI - 2023-10-10

Changed

  • Reuse Version number from Version file

[9.9.0] - PyPI - 2023-10-06

Added

  • Support Vector Search

Fixed

  • Workflow Create Bugs

[9.8.2] - PyPI - 2023-09-26

Added

  • Support Workflow Create, Export

[9.8.1] - PyPI - 2023-09-12

Changed

  • Bump clarifai_grpc to 9.8.1

[9.8.0] - PyPI - 2023-09-06

Changed

  • Bump clarifai_grpc to 9.8.0

[9.7.6] - PyPI - 2023-08-27

Changed

  • Bump clarifai_grpc to 9.7.4

[9.7.5] - PyPI - 2023-08-25

Added

  • Model Serving Support

[9.7.4] - PyPI - 2023-08-25

Fixed

  • PyPi build issues

< [9.7.3] Clarifai Python Utils