Comments (5)
@fahadullahshah261 how do you installl merlin-models? we recommend to use merlin-tensorflow:23.06
docker image.
from models.
@rnyak, I was using Merlin to train my recommender model and it worked initially when I installed it as follows:
pip install merlin-models
import merlin.models.tf
But, recently I had an issue while importing it as mentioned above. Moreover, it is cumbersome to deal with docker in Google Colab. So, what do I need to do to be able to use Merlin in Colab as I used earlier? Thanks.
from models.
@fahadullahshah261 you can follow these steps here to run it on colab:
https://medium.com/nvidia-merlin/how-to-run-merlin-on-google-colab-83b5805c63e0
note that you need other Merlin libraries to be installed as well to be able to use merlin-models. Besides, you need to install tensorflow-gpu. you can use TF 2.19 or TF 2.10
from models.
Thanks, @rnyak! I tried it and it worked.
from models.
@fahadullahshah261 how do you installl merlin-models? we recommend to use
merlin-tensorflow:23.06
docker image.
@rnyak, can you help me figuring out what am I doing wrong with my docker image?
I'm new to airflow / docker, but I'm trying to use those to deploy my merlin model training & uploading job. I built docker image with following dockerfile:
FROM --platform=linux/amd64 nvcr.io/nvidia/merlin/merlin-tensorflow:23.06 as prod
WORKDIR /ads_content
COPY ./data-airflow .
COPY ./ads/images/requirements.txt .
WORKDIR /root
#RAPIDs
RUN pip install tf2onnx==1.15.1
RUN pip install -r /ads_content/requirements.txt
RUN pip install requests "urllib3<2"
WORKDIR /ads_content
ENTRYPOINT ["python3"]
but when I try to run my Python file with this image, I'm always seeing this error message.
tensorflow.python.framework.errors_impl.InternalError: cudaGetDevice() failed. Status: CUDA driver version is insufficient for CUDA runtime version
I searched on Google and this error is occurring when the graphic driver is outdated / not updated. Should I install / add steps to dockerfile separately?
from models.
Related Issues (20)
- [BUG] Unable to serve a session-based topk_model on Triton due to TypeError: Unable to serialize item_id-list to JSON. Unrecognized type <class 'merlin.schema.schema.ColumnSchema'>.
- [QST] Performance differences between `encode()` vs `__call__()` on tf Encoder block in CPU HOT 4
- [BUG] Getting error when serving a reloaded session-based model on Triton
- Implementing IntTower for retrieval HOT 1
- [BUG] when we serve topK model on Triton it only returns scores
- [BUG] Error when using class_weight with DLRMModel HOT 1
- [QST] Train Ranking Model Using Pre-Train Model
- [BUG] Can't reuse a loaded model saved after training HOT 5
- [BUG] Error with prepare_aliccp() HOT 2
- [BUG] does not install dependencies.
- [BUG] Ranking model predict constant
- [QST] How to use negative sampling with ranking models ?
- [BUG] when the model is loaded and saved again, the argument names disappear (become 'args_0, args_0_1 etc) HOT 1
- [QST] best practice to build a docker image to train merlin tensorflow models?
- [QST] Status: CUDA driver version is insufficient for CUDA runtime version
- [QST] How to get candidate features after using pre-trained embedding tables?
- [QST] `StopIteration` error in `model.fit` at validation time
- [QST] How to deploy model using Pretrain Embeddings with EmbeddingOperator in Triton
- [BUG] ModelCheckpoint Callback results in an error due to unsupported overwrite=True parameter
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from models.