AIToday
Large Language ModelsQiita 機械学習Published: Nov 30, 2026, 06:00 JST

Oracle AIDP model deploy fails on pyarrow==26.0.1 clash

Send on LINE
Oracle AIDP model deploy fails on pyarrow==26.0.1 clash

3 Key Points

  1. What happened

    In a walkthrough of Oracle AI Data Platform, the first model deployment failed to Activate because MLflow auto-recorded pyarrow==26.0.1, which conflicted with the pyarrow<26 required by mlflow 3.16.0 in the deployment environment.

  2. Why it matters

    The failure shows that when a model is logged without explicit pip_requirements, MLflow infers dependencies from the training cluster, and version mismatches with the deployment environment can block activation — so specifying only the needed packages is the safer practice.

Not sure about something? Ask the AI

Questions and answers are published on this page.

Summaries like this, every morning.

By signing up you agree to the Terms of Service and Privacy Policy.

Context & Analysis

The walkthrough follows a previous article in which a model for predicting delivery delays was logged to the Master catalog in Oracle AI Data Platform. This time the goal was to deploy that model and call it from an endpoint. The first deployment, created from version 1, stayed Inactive and failed to Activate. The Activity log showed the cause: MLflow had written pyarrow==26.0.1 into requirements.txt based on the training cluster, while the deployment environment's mlflow 3.16.0 requires pyarrow<26. Re-logging the model with explicit pip_requirements and re-registering it produced version 2, which activated in a few minutes and exposed a predict URL. Testing from the UI returned predictions in 389 milliseconds, and calling from outside with OCI API signing returned 200 with the same predictions, though intermittent timeouts led the author to add a short timeout and retries. The piece also notes that an Inactive deployment could not use Roll forward, so a new deployment was created for version 2.

FAQ
What exactly caused the Activate failure?
MLflow's log_model() auto-recorded pyarrow==26.0.1 from the training cluster's environment, but the deployment side installs mlflow 3.16.0, which requires pyarrow<26, so the dependency installation failed.
How did the author fix the dependency issue?
By passing pip_requirements to mlflow.sklearn.log_model() so MLflow would not infer dependencies; the list from get_default_pip_requirements() contained only scikit-learn==1.8.0 after removing pyarrow.
What latency and reliability did the external endpoint show?
Calls from outside returned in about 0.13–0.2 seconds, but sometimes no response came back; with a 5-second timeout and up to 3 retries, 10 out of 10 calls succeeded.
Qiita 機械学習Read Original Article
Send on LINE

AI news that matters for your work, delivered every morning.

Pick your industry and the AI tools you use, and get news related to your work every day.

By signing up you agree to the Terms of Service and Privacy Policy.

Free · 30 seconds with Google · unsubscribe anytimeWhat is AIToday? →

Ask AI

Ask AI anything about this article. The AI reads this article, earlier AIToday articles, and Wikipedia, and cites its sources. Q&As are published on this page for other readers too.

Questions and answers are published on this page.

Related Articles

Next articleAstra 6.2 and Sol 6.2 show token cut in Bottomless analysis