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

Octavian1
by Contributor
  • 3887 Views
  • 3 replies
  • 1 kudos

port undefined error in SQLDatabase.from_databricks (langchain.sql_database)

The following assignment:from langchain.sql_database import SQLDatabasedbase = SQLDatabase.from_databricks(catalog=catalog, schema=db,host=host, api_token=token,)fails with ValueError: invalid literal for int() with base 10: ''because ofcls._assert_p...

  • 3887 Views
  • 3 replies
  • 1 kudos
Latest Reply
vburam
New Contributor II
  • 1 kudos

I am also facing the same issue. not able to connect even after using sqlalchemy

  • 1 kudos
2 More Replies
Betul
by New Contributor
  • 1081 Views
  • 1 replies
  • 0 kudos

How to do cicd with different models/versions using databricks resources?

Generally speaking what are the tips to make cicd process better with having different versions and models?

  • 1081 Views
  • 1 replies
  • 0 kudos
Latest Reply
robbe
New Contributor III
  • 0 kudos

Hi @Betul, I think that there are different ways but it really depends on what do you mean by different models and versions.One simple option is to use Databricks Asset Bundles to create multiple workflows (one for each model) and use the champion-ch...

  • 0 kudos
rasgaard
by New Contributor
  • 2724 Views
  • 1 replies
  • 0 kudos

Model Serving Endpoints - Build configuration and Interactive access

Hi there I have used the Databricks Model Serving Endpoints to serve a model which depends on some config files and a custom library. The library has been included by logging the model with the `code_path` argument in `mlflow.pyfunc.log_model` and it...

  • 2724 Views
  • 1 replies
  • 0 kudos
Latest Reply
robbe
New Contributor III
  • 0 kudos

Hi @rasgaard, one way to achieve that without inspecting the container is to use MLflow artifacts. Artifacts allow you to log files together with your models and reference them inside the endpoint.For example, let's assume that you need to include a ...

  • 0 kudos
CharlesFlores
by New Contributor II
  • 1860 Views
  • 1 replies
  • 0 kudos

Serializing custom SparkMLlib Evaluator

Hi guys,We're facing a weird behavior or we're missing some configuration in our code. I've tried to find some information unsuccessfully. Let me try to explain our case, we have implemented a custom Evaluator in python using PySpark API, something l...

  • 1860 Views
  • 1 replies
  • 0 kudos
larsr
by New Contributor II
  • 1542 Views
  • 1 replies
  • 0 kudos

Authentication model serving endpoint

Hi, I was wondering whether model serving endpoints support authentication with Azure Managed Identities.

  • 1542 Views
  • 1 replies
  • 0 kudos
Latest Reply
daniel_sahal
Esteemed Contributor
  • 0 kudos

@larsr Databricks itself supports authentication through Managed Identity and Model Serving Endpoint requires bearer token, so yeah - i suppose it's doable.

  • 0 kudos
enkefalos-commu
by New Contributor III
  • 4014 Views
  • 3 replies
  • 1 kudos

Unable to deploy phi-3 model due to packaging library

I am trying to deploy phi-3 model in databricks but getting below error while creating serving endpoint. Help us on this as soon as possible.

  • 4014 Views
  • 3 replies
  • 1 kudos
Latest Reply
Erwanlc
New Contributor II
  • 1 kudos

Hello, I'm facing the same issue. No matter what I am trying, I end up with dependencies issues...

  • 1 kudos
2 More Replies
Miki
by New Contributor II
  • 2033 Views
  • 2 replies
  • 0 kudos

Logging signature slows down inference to a crawl

I am having a similar issue thislog signature and input data for Spark LinearRegression using mlflow v2.13.0 and using mlflow.pyfunc.log_model to log my model. Starting a new post here since there doesn't seem to be any follow up from the community o...

Machine Learning
mlflow
signature
  • 2033 Views
  • 2 replies
  • 0 kudos
Latest Reply
MohsenJ
Contributor
  • 0 kudos

@Miki can you please share you code for logging the signature with array types

  • 0 kudos
1 More Replies
bamvallar
by New Contributor
  • 5350 Views
  • 0 replies
  • 0 kudos

computer vision

how does data bricks handle. computer vision related use cases? (eg defects detection for a manufacturing industry) is there a reference architecture 

  • 5350 Views
  • 0 replies
  • 0 kudos
rahuja
by Contributor
  • 3307 Views
  • 4 replies
  • 0 kudos

Sharing Output between different tasks for MLOps pipeline as a Databricks Jobs

Hello EveryoneWe are trying to create an ML pipeline on Databricks using the famous Databricks workflows. Currently our pipeline includes having 3 major components: Data Ingestion, Model Training and Model Testing. My question is whether it is possib...

  • 3307 Views
  • 4 replies
  • 0 kudos
Latest Reply
rahuja
Contributor
  • 0 kudos

@Retired_mod @Hkesharwani  any updates?

  • 0 kudos
3 More Replies
SOlivero
by New Contributor III
  • 1817 Views
  • 0 replies
  • 0 kudos

Register Model mounted in S3

Hello!I'm having an issue registering a model saved in a mounted S3 bucket using mlflow.Let me give a little bit more context:1. First I mounted my S3 with all the corresponding IAM permissions:s3_bucket_name = f"s3a://{s3_bucket}"dbutils.fs.mount(so...

  • 1817 Views
  • 0 replies
  • 0 kudos
Giuseppina
by New Contributor III
  • 4133 Views
  • 3 replies
  • 0 kudos

Resolved! Llm

Are LLMs really ready for production deployment?

  • 4133 Views
  • 3 replies
  • 0 kudos
Latest Reply
ryojikn
New Contributor III
  • 0 kudos

You should be careful while putting them to production without guardrails, perhaps using Mosaic AI gateway announced today that would aggregate these functionalities, it should be something to start. These are not the only things you should worry abo...

  • 0 kudos
2 More Replies
Anonymous
by Not applicable
  • 5839 Views
  • 4 replies
  • 4 kudos

Generate and export dbt documentation from the Workflow dbt task to S3

I'm testing the Databricks Jobs feature with a dbt task and wanted to know if you had any advice for me for managing dbt documentation.I can use "dbt run" commands to run my models then "dbt docs generate" to generate the documentation. But is it pos...

  • 5839 Views
  • 4 replies
  • 4 kudos
Latest Reply
136039
New Contributor II
  • 4 kudos

How can I access these target files from the task itself ? I am trying to use dbt's state modifiers for detecting models that changed and only running models when the source freshness changed. Is there an easy way to store and use these state files i...

  • 4 kudos
3 More Replies
UnniKAnat
by New Contributor
  • 1760 Views
  • 1 replies
  • 1 kudos

ML Model

What's the best option to store your trained ML models

  • 1760 Views
  • 1 replies
  • 1 kudos
Latest Reply
mheffernan
New Contributor II
  • 1 kudos

Depending on how many you have, different solutions may be appropriate - and conveniently, you can use MLflow as a front end for most of these if you're working in Python. If you're working on personal projects, a local MLflow instance might be the r...

  • 1 kudos
JC3
by New Contributor II
  • 1869 Views
  • 2 replies
  • 0 kudos

Can view Model Registry using a Service Principal, but cannot load the model for inference.

I have a Service Principal (for M2M auth) with read access to a Databricks Model Registry. I can successfully search the registry (via the `WorkspaceClient`) and find the model that I want to load using (Python) APIs, but I cannot load the model for ...

  • 1869 Views
  • 2 replies
  • 0 kudos
Latest Reply
Kumaran
Databricks Employee
  • 0 kudos

Hello @JC3, Thank you for posting your question in the Databricks community. Is it possible to share with us the minimum reproducible code?

  • 0 kudos
1 More Replies

Join Us as a Local Community Builder!

Passionate about hosting events and connecting people? Help us grow a vibrant local community—sign up today to get started!

Sign Up Now
Labels