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: 
Data + AI Summit 2024 - Data Science & Machine Learning

Forum Posts

Maverick1
by Valued Contributor II
  • 6194 Views
  • 2 replies
  • 4 kudos

Dynamic variable and multi-instance tasks.

1. How to pass dynamic variable values like "sysdate" to a job parameters, so that it will automatically take the updated values on the fly.2. How to run multiple instance of set of tasksin a job (for different parameters). For e.g the same pipeline ...

  • 6194 Views
  • 2 replies
  • 4 kudos
Latest Reply
gyapar
New Contributor II
  • 4 kudos

Hey Maverick1,Did you find a solution for your second question?I have also same approach. In databricks, it has workflows, job clusters, tasks etc.I'm trying to do creating one job cluster with one configuration or specification which has a workflow ...

  • 4 kudos
1 More Replies
SOlivero
by New Contributor III
  • 4883 Views
  • 7 replies
  • 2 kudos

ModuleNotFoundError: No module named 'databricks.feature_store.mlflow_model'

I'm using runtime DBR 12.2 LTS MLGetting this error when running.  import mlflow logged_model = 'runs:/.../model' #my run id # Load model as a PyFuncModel. loaded_model = mlflow.pyfunc.load_model(logged_model) # Predict on a Pandas DataFrame. impor...

  • 4883 Views
  • 7 replies
  • 2 kudos
Latest Reply
Kumaran
Databricks Employee
  • 2 kudos

Hi @SOlivero and @hollybaker354,Can you check by setting the maxDepth to the default value and see how it works?

  • 2 kudos
6 More Replies
StephanieAlba
by Databricks Employee
  • 11759 Views
  • 3 replies
  • 3 kudos

Resolved! Issues importing mediapipe TypeError: 'numpy._DTypeMeta' object is not subscriptable

TypeError: 'numpy._DTypeMeta' object is not subscriptableI have tried upgrading pip and installing newer and older versions of NumPy.

Screenshot 2023-08-16 at 8.10.59 AM.png Screenshot 2023-08-16 at 7.38.45 AM.png Screenshot 2023-08-16 at 7.39.06 AM.png
  • 11759 Views
  • 3 replies
  • 3 kudos
Latest Reply
madengr00
New Contributor II
  • 3 kudos

I ran into the same issue.  Before installing OpenCV I was on Numpy 1.21.5 in my notebook.  After upgrading to 1.23, the error went away for me.  

  • 3 kudos
2 More Replies
HAKO411
by New Contributor
  • 3476 Views
  • 2 replies
  • 3 kudos

Can't select cluster when create AutoML experiment

I'm trying to create my experiment using AutoML. I have a running cluster using 12.2 LTS. However, â€ƒit isn't available as an option for me. How could I solve it? Thank you

Screenshot 2023-10-11 at 11.43.14 AM.png
  • 3476 Views
  • 2 replies
  • 3 kudos
Latest Reply
Annapurna_Hiriy
Databricks Employee
  • 3 kudos

@HAKO411 AutoML needs Databricks Runtime 9.1 ML or above. For time series forecasting, you will need Databricks Runtime 10.0 ML or above. Looks like you are using 12.2 LTS, a non-ML version. Using 12.2 ML LTS should resolve your issue.

  • 3 kudos
1 More Replies
Anonymous
by Not applicable
  • 7601 Views
  • 4 replies
  • 1 kudos

Spark connector to mongodb - mongo-spark-connector_2.12:10.1.1

Hello, I´ve added a library to the cluster and it appears in SPARK UI as Added By Userspark://10.139.64.4:43001/jars/addedFile307892533757162075org_mongodb_spark_mongo_spark_connector_2_12_10_1_1-98946.jarAdded By UserI'm trying to connect using the ...

  • 7601 Views
  • 4 replies
  • 1 kudos
Latest Reply
FurqanAmin
New Contributor II
  • 1 kudos

@DmytroSokhach  I think it works if you change mongo to mongodb in the options. and use spark.mongodb.read.connection.uri instead of spark.mongodb.input.uri as @silvadev suggested.

  • 1 kudos
3 More Replies
somnus
by New Contributor II
  • 2019 Views
  • 1 replies
  • 0 kudos

Use on-premise MinIO as an artifact store in experiment

Hi. I'm trying to use managed MLflow with our own MinIO as an artifact storage. I can see that there is a description about storage options at landing page and there is an input for artifact store URI when creating empty experiment in databicks works...

  • 2019 Views
  • 1 replies
  • 0 kudos
Latest Reply
somnus
New Contributor II
  • 0 kudos

Thanks. I will post there if the feature I asked is doesn't exist.Anyway, the feature I asked about is clearly described on the landing page. I'm looking for documentation for that feature.

  • 0 kudos
SRK
by Contributor III
  • 8442 Views
  • 6 replies
  • 3 kudos

How to apply Primary Key constraint in Delta Live Table?

In this blog I can see for dimension and fact tables, the primary key constraint has been applied. Following is the example:-- Store dimensionCREATE OR REPLACE TABLE dim_store( store_id BIGINT GENERATED ALWAYS AS IDENTITY PRIMARY KEY, business_key ...

  • 8442 Views
  • 6 replies
  • 3 kudos
Latest Reply
Oliver_Angelil
Valued Contributor II
  • 3 kudos

@SRK Please see a copy of this answer on stackoverflow here. You can use DLT Expectations to have this check (see my previous answer if you're using SQL and not Python):@dlt.table(name="table1",)def create_df():schema = T.StructType([T.StructField("i...

  • 3 kudos
5 More Replies
gngaPutrBheeshm
by New Contributor
  • 1256 Views
  • 0 replies
  • 0 kudos

Classroom Setup Error in LLM Course

Hi All, I encountered this error when running the classroom setup for the LLM Course and would love to know if there's a subscription that Databricks offers to learn and practice these pieces of training.Course name: LLM : Foundation Models from the ...

  • 1256 Views
  • 0 replies
  • 0 kudos
yopbibo
by Contributor II
  • 3127 Views
  • 2 replies
  • 0 kudos

Cannot set experiment in a non-ML runtime

Hello,If we:%pip install mlflow import mlflow mlflow.set_experiment(experiment_name = '/Shared/xx')we get:InvalidConfigurationError: You haven't configured the CLI yet! Please configure by entering `/databricks/python_shell/scripts/db_ipykernel_launc...

  • 3127 Views
  • 2 replies
  • 0 kudos
Latest Reply
yopbibo
Contributor II
  • 0 kudos

%pip install mlflowdbutils.library.restartPython()that works

  • 0 kudos
1 More Replies
ravi-kolluri_in
by New Contributor II
  • 2048 Views
  • 1 replies
  • 0 kudos

NVIDIA driver update

I want to update the cuda driver for the NVIDIA tesla T4 GPU on the cluster. using the following command%shsudo apt-get --purge remove "*nvidia*"sudo /usr/bin/nvidia-uninstallwget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/x8...

  • 2048 Views
  • 1 replies
  • 0 kudos
Latest Reply
" src="" />
This widget could not be displayed.
This widget could not be displayed.
This widget could not be displayed.
  • 0 kudos

This widget could not be displayed.
I want to update the cuda driver for the NVIDIA tesla T4 GPU on the cluster. using the following command%shsudo apt-get --purge remove "*nvidia*"sudo /usr/bin/nvidia-uninstallwget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/x8...

This widget could not be displayed.
  • 0 kudos
This widget could not be displayed.
Databricks3
by Contributor
  • 18553 Views
  • 11 replies
  • 12 kudos

Resolved! INFORMATION_SCHEMA IS NOT POPULATED WITH TABLE INFORMATION

I have created a metastore and within that metastore i have created multiple schemas and tables underlying it but none of table details is visible from information schema. All the tables are empty.Could you please let me know if I am missing here. Be...

  • 18553 Views
  • 11 replies
  • 12 kudos
Latest Reply
EwenGillies
New Contributor II
  • 12 kudos

I noticed this issue is currently caused when you rename a catalog.  The contents of <catalog>.information_schema are all views like this:SELECT * FROM system.information_schema.columns WHERE table_catalog = '<catalog>'If you rename the catalog...

  • 12 kudos
10 More Replies
miahopman
by New Contributor II
  • 2904 Views
  • 1 replies
  • 1 kudos

AutoML Trials Failing

Sometimes an AutoML experiment will have all trials fail and I cannot figure out what is causing it. Each individual run reports a validation f1 value but the source notebook is not available so I cannot track down the error. This seems to happen at ...

  • 2904 Views
  • 1 replies
  • 1 kudos
Latest Reply
" src="" />
This widget could not be displayed.
This widget could not be displayed.
This widget could not be displayed.
  • 1 kudos

This widget could not be displayed.
Sometimes an AutoML experiment will have all trials fail and I cannot figure out what is causing it. Each individual run reports a validation f1 value but the source notebook is not available so I cannot track down the error. This seems to happen at ...

This widget could not be displayed.
  • 1 kudos
This widget could not be displayed.
145093
by New Contributor II
  • 5351 Views
  • 2 replies
  • 2 kudos

MLFlow model loading taking long time and "model serving" failing during init

I am trying to load a simple Minmaxscaler model that was logged as a run through spark's ML Pipeline api for reuse. On average it takes 40+ seconds just to load the model with the following example: This is fine and the model transforms my data corre...

simple model load sometimes the model takes almost 3 min just to load
  • 5351 Views
  • 2 replies
  • 2 kudos
Latest Reply
DanSimpson
New Contributor II
  • 2 kudos

Hello,Any solutions found for this issue?I'm serving up a large number of models at a time, but since we converted to PySpark (due to our data demands), the mlflow.spark.load_model() is taking hours.Part of the reason to switch to spark was to help w...

  • 2 kudos
1 More Replies
Orion
by New Contributor
  • 1264 Views
  • 1 replies
  • 0 kudos
  • 1264 Views
  • 1 replies
  • 0 kudos
Latest Reply
oliverjack
New Contributor II
  • 0 kudos

Large Language Models (LLMs) revolutionize the insurance sector, automating support and enhancing accuracy across claims and underwriting. They're crucial for market analysis processing extensive textual data, and we welcome your insights on deployin...

  • 0 kudos
AChang
by New Contributor III
  • 3826 Views
  • 0 replies
  • 1 kudos

MlflowException: Unable to download model artifacts in Databricks while registering model with MLflo

I am attempting to log, register, and deploy a finetuned GPT2 model in Databricks. While I have been able to get my logging code to run, when I try to run my registration code, I get an MlflowException error.Here is my model logging code.mlflow.set_r...

  • 3826 Views
  • 0 replies
  • 1 kudos

Connect with Databricks Users in Your Area

Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you won’t want to miss the chance to attend and share knowledge.

If there isn’t a group near you, start one and help create a community that brings people together.

Request a New Group
Labels