cancel
Showing results for 
Search instead for 
Did you mean: 
Machine Learning
Dive into the world of machine learning on the Databricks platform. Explore discussions on algorithms, model training, deployment, and more. Connect with ML enthusiasts and experts.
cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

run480
by New Contributor II
  • 14164 Views
  • 5 replies
  • 0 kudos

Resolved! Model serving endpoint requires workspace-access entitlement?

Hi all, is anyone getting status 403 when requesting a model serving endpoint with error message "This API is disabled for users without the workspace-access entitlement"? I am accessing my model serving endpoint with a service principal access token...

Machine Learning
Model serving
  • 14164 Views
  • 5 replies
  • 0 kudos
Latest Reply
Ayushi_Suthar
Databricks Employee
  • 0 kudos

Hi @run480 , We understand that you are facing the following error while you are trying to access the model serving endpoint with a Service Principal Access Token: ++++++++++++++++++++++++++++++++++++++ "This API is disabled for users without the wor...

  • 0 kudos
4 More Replies
cl2
by New Contributor II
  • 1927 Views
  • 0 replies
  • 0 kudos

Editing posts

Hey,I have a post that I would like to edit. However, when I use the drop down menu there is no possibility to edit or delete the post - can someone help?

  • 1927 Views
  • 0 replies
  • 0 kudos
PSK017
by New Contributor
  • 1988 Views
  • 0 replies
  • 0 kudos

Loading Pre-trained Models in Databricks

Hello talented members of the community,I'm a very new Databricks user so please bear with me.I'm building a description matcher which uses a pre-trained model (universal-sentence-encoder). How can I load and use this model in my Databricks python no...

  • 1988 Views
  • 0 replies
  • 0 kudos
Sujitha
by Databricks Employee
  • 8157 Views
  • 0 replies
  • 0 kudos

Ready to elevate your data insights to new heights? Discover the power of Databricks SQL Materialize

In our latest blog post, unlock the secrets to delivering fresh data and actionable insights straight to your business. Learn how Lakeview dashboards, now available on the Databricks Data Intelligence Platform, revolutionize visualization and reporti...

Screenshot 2024-02-06 at 7.06.45 PM.png
  • 8157 Views
  • 0 replies
  • 0 kudos
sergio-calderon
by New Contributor II
  • 2564 Views
  • 2 replies
  • 0 kudos

How to use Databricks secrets on MLFlow conda dependencies?

Hi!Do you know if it's correct to use the plain user and token for installing a custom dependency (an internal python package) in a mlflow registered model? (it's the only way I get it working because if not it can't install the dependency) It works,...

  • 2564 Views
  • 2 replies
  • 0 kudos
Latest Reply
sergio-calderon
New Contributor II
  • 0 kudos

Thank you very much for the response but using that way is the same as the plain text approach, right? I mean, you are writing it from a Notebook and that's what I've done, but if you open the .yaml file the values are there with plain text.

  • 0 kudos
1 More Replies
pablobd
by Contributor II
  • 3775 Views
  • 2 replies
  • 0 kudos

Update model serving endpoint

Hi all,I've been able to create a model serving endpoint through the api, following the docs, but then when trying to update the version, I get the following error:'{"error_code":"RESOURCE_ALREADY_EXISTS","message":"Endpoint with name \'ml-project\' ...

  • 3775 Views
  • 2 replies
  • 0 kudos
Latest Reply
BR_DatabricksAI
Databricks Partner
  • 0 kudos

Folks, Alternate way you can also deploy the models in serving layer with different versions. Though I am using mLflow. You may also refer to the below link if it its helpful How to Quickly Deploy, Test & Manage ML Models as REST Endpoints with Datab...

  • 0 kudos
1 More Replies
Anil_M
by New Contributor II
  • 8851 Views
  • 6 replies
  • 0 kudos

TypeError: 'JavaPackage' object is not callable

Hi Team,I am facing issue with above error while I am trying to do BERT embeddings, by specifying the model path and it is giving error while downloading the model.spark version is 3.3.0Can any one of you help me on this?

  • 8851 Views
  • 6 replies
  • 0 kudos
Latest Reply
feiyun0112
Honored Contributor
  • 0 kudos

please give error detail.i think you need add some Maven package, like https://community.databricks.com/t5/machine-learning/synapse-ml-typeerror-javapackage-object-is-not-callable/td-p/58897

  • 0 kudos
5 More Replies
VeereshKH
by New Contributor II
  • 3194 Views
  • 1 replies
  • 0 kudos

Synapse ML - TypeError: 'JavaPackage' object is not callable

from synapse.ml.lightgbm import *LightGBMRegressor()gives me TypeError: 'JavaPackage' object is not callableDBR 8.2 (includes Apache Spark 3.1.1, Scala 2.12)

  • 3194 Views
  • 1 replies
  • 0 kudos
Latest Reply
feiyun0112
Honored Contributor
  • 0 kudos

You need install Maven package `com.microsoft.azure:synapseml_2.12:1.0.2`https://microsoft.github.io/SynapseML/docs/Get%20Started/Install%20SynapseML/#databricks 

  • 0 kudos
VeereshKH
by New Contributor II
  • 5513 Views
  • 3 replies
  • 0 kudos

org.apache.spark.SparkException: Job aborted due to stage failure during Model Training

org.apache.spark.SparkException: Job aborted due to stage failure: Could not recover from a failed barrier ResultStage. Most recent failure reason: Stage failed because barrier task ResultTask(160, 13) finished unsuccessfully.

  • 5513 Views
  • 3 replies
  • 0 kudos
Latest Reply
Lakshay
Databricks Employee
  • 0 kudos

Could you share the stage details where the issue happened?

  • 0 kudos
2 More Replies
pablobd
by Contributor II
  • 10781 Views
  • 4 replies
  • 2 kudos

Resolved! Error when accessing rdd of DataFrame

I need to run this kind of code: from pyspark.sql import SparkSession import pandas as pd # Create a Spark session spark = SparkSession.builder.appName("example").getOrCreate() # Sample data data = [("Alice", 1), ("Bob", 2), ("Charlie", 3), ("David...

  • 10781 Views
  • 4 replies
  • 2 kudos
Latest Reply
pablobd
Contributor II
  • 2 kudos

I found a good solution that works both locally and in the cloud. Copy pasting the code in case it helps someone.This is the higher level function in charge of partitioning the data and sending the data and the function fn to each node. def decrypt_d...

  • 2 kudos
3 More Replies
prafull
by New Contributor
  • 1977 Views
  • 0 replies
  • 0 kudos

How to use mlflow to log a composite estimator (multiple pipes) and then deploy it as rest endpoint

Hello,I am trying to deploy a composite estimator as single model, by logging the run with mlflow and registering the model.Can anyone help with how this can be done? This estimator contains different chains-text: data- tfidf- svm- svm.decision_funct...

Screenshot 2024-01-17 000758.png
Machine Learning
ML
mlflow
model
python
  • 1977 Views
  • 0 replies
  • 0 kudos
BalaRamesh
by New Contributor II
  • 8324 Views
  • 7 replies
  • 1 kudos

Getting Permission Denied on model

while creating service endpoint , getting permission denied error. Need help how to provide the permission.  

BalaRamesh_0-1704953863222.png
  • 8324 Views
  • 7 replies
  • 1 kudos
Latest Reply
Adheer
New Contributor II
  • 1 kudos

@Debayan I managed to solve the issue using databricks sdk library. From UI it was failing with the same error as mentioned by @BalaRamesh 

  • 1 kudos
6 More Replies
Kaizen
by Valued Contributor
  • 4875 Views
  • 5 replies
  • 0 kudos

Cant access path for Shared Access Mode Cluster

Hi! I was able to successfully download and run selenium on both single and no isolation mode clusters. But the shared cluster do not seem to have permission to access the path of drivers needed such as chrome and chromedriver.1) what is the general ...

Kaizen_0-1705688464489.png Kaizen_1-1705688529116.png
  • 4875 Views
  • 5 replies
  • 0 kudos
Latest Reply
Debayan
Databricks Employee
  • 0 kudos

Hi, Is the cluster UC enabled? Also, what are the types of the drivers (chrome and chromedriver) ? 

  • 0 kudos
4 More Replies
tessaickx
by New Contributor III
  • 5060 Views
  • 2 replies
  • 0 kudos

Serving endpoints: model server failed to load the model: the file bash was not found: uknown

While trying to create a serving endpoint with my custom model, I get a "Failed" state:Model server failed to load the model. Please see service logs for more information.The service logs show the following:Container failed with: failed to create con...

  • 5060 Views
  • 2 replies
  • 0 kudos
Latest Reply
ravi-malipeddi
New Contributor II
  • 0 kudos

I have faced the similar issue. still didn't find the right solution. In my case, the below is the error trace i found from service logs. Not sure where the issue could be"An error occurred while loading the model. You haven't configured the CLI yet!...

  • 0 kudos
1 More Replies
leelee3000
by Databricks Employee
  • 2795 Views
  • 1 replies
  • 0 kudos

Databricks OpenAI Integration Issue

Facing challenges in leveraging Databricks for serving, logging, and monitoring OpenAI usage within an Azure environment. Specifically, encountering issues with Inference Tables not being enabled in the UI when creating serving endpoints with externa...

  • 2795 Views
  • 1 replies
  • 0 kudos
Latest Reply
Debayan
Databricks Employee
  • 0 kudos

Hi, In addition to the previous message, you can refer to https://learn.microsoft.com/en-us/azure/databricks/large-language-models/ai-generate-text-example. 

  • 0 kudos
Labels