Skip to content

Conversation

@karlhigley
Copy link
Contributor

@karlhigley karlhigley commented Nov 22, 2022

I don't think we can completely get rid of this code yet, since we're still relying on it to some extent for legacy PyTorch/T4R serving. As we sort out more of the remaining issues that are making it tricky to serve session-based models, we should be able to remove this entirely, but it still needs a home for now. It makes more sense for this code to live in Systems than NVT though, since that consolidates all the Triton code in one repo.

The corresponding PR on the other side is NVIDIA-Merlin/NVTabular#1708

I don't think we can completely get rid of this code yet, since we're still relying on it to some extent for legacy PyTorch/T4R serving. As we sort out more of the remaining issues that are making it tricky to serve session-based models, we should be able to remove this entirely, but it still needs a home for now. It makes more sense for this code to live in Systems than NVT though, since that consolidates all the Triton code in one repo.
@nvidia-merlin-bot
Copy link

Click to view CI Results
GitHub pull request #233 of commit f2e55478709b9786a43cba3b369c7df9fb6d80d9, no merge conflicts.
Running as SYSTEM
Setting status of f2e55478709b9786a43cba3b369c7df9fb6d80d9 to PENDING with url http://merlin-infra1.nvidia.com:8080/job/merlin_systems/530/ and message: 'Pending'
Using context: Jenkins
Building on master in workspace /var/jenkins_home/workspace/merlin_systems
using credential fce1c729-5d7c-48e8-90cb-b0c314b1076e
 > git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
 > git config remote.origin.url https://github.com/NVIDIA-Merlin/systems # timeout=10
Fetching upstream changes from https://github.com/NVIDIA-Merlin/systems
 > git --version # timeout=10
using GIT_ASKPASS to set credentials login for merlin-systems user + githubtoken
 > git fetch --tags --force --progress -- https://github.com/NVIDIA-Merlin/systems +refs/pull/233/*:refs/remotes/origin/pr/233/* # timeout=10
 > git rev-parse f2e55478709b9786a43cba3b369c7df9fb6d80d9^{commit} # timeout=10
Checking out Revision f2e55478709b9786a43cba3b369c7df9fb6d80d9 (detached)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f f2e55478709b9786a43cba3b369c7df9fb6d80d9 # timeout=10
Commit message: "Migrate `nvtabular.inference` to `merlin.legacy.inference`"
 > git rev-list --no-walk e0ee1683a864700b96f59c45124391735ea9fe86 # timeout=10
[merlin_systems] $ /bin/bash /tmp/jenkins10007026453026794905.sh
PYTHONPATH=:/usr/local/lib/python3.8/dist-packages/:/usr/local/hugectr/lib:/var/jenkins_home/workspace/merlin_systems/systems
GLOB sdist-make: /var/jenkins_home/workspace/merlin_systems/systems/setup.py
test-gpu recreate: /var/jenkins_home/workspace/merlin_systems/systems/.tox/test-gpu
test-gpu installdeps: pytest, pytest-cov
WARNING: Discarding $PYTHONPATH from environment, to override specify PYTHONPATH in 'passenv' in your configuration.
test-gpu inst: /var/jenkins_home/workspace/merlin_systems/systems/.tox/.tmp/package/2/merlin-systems-0.7.0+20.gf2e5547.zip
WARNING: Discarding $PYTHONPATH from environment, to override specify PYTHONPATH in 'passenv' in your configuration.
test-gpu installed: absl-py==1.2.0,aiohttp==3.8.1,aiosignal==1.2.0,alabaster==0.7.12,alembic==1.8.1,anyio==3.6.1,argon2-cffi==21.3.0,argon2-cffi-bindings==21.2.0,astroid==2.5.6,asttokens==2.0.8,astunparse==1.6.3,asv==0.5.1,asvdb==0.4.2,async-timeout==4.0.2,attrs==22.1.0,autopage==0.5.1,awscli==1.27.14,Babel==2.10.3,backcall==0.2.0,beautifulsoup4==4.11.1,betterproto==1.2.5,black==22.6.0,bleach==5.0.1,boto3==1.24.75,botocore==1.29.14,Brotli==1.0.9,cachetools==5.2.0,certifi==2019.11.28,cffi==1.15.1,chardet==3.0.4,charset-normalizer==2.1.1,clang==5.0,click==8.1.3,cliff==4.1.0,cloudpickle==2.2.0,cmaes==0.9.0,cmake==3.24.1.1,cmd2==2.4.2,colorama==0.4.4,colorlog==6.7.0,contourpy==1.0.5,coverage==6.5.0,cuda-python==11.7.1,cupy-cuda117==10.6.0,cycler==0.11.0,Cython==0.29.32,dask==2022.1.1,dbus-python==1.2.16,debugpy==1.6.3,decorator==5.1.1,defusedxml==0.7.1,dill==0.3.5.1,distlib==0.3.6,distributed==2022.5.1,distro==1.7.0,dm-tree==0.1.6,docker-pycreds==0.4.0,docutils==0.16,emoji==1.7.0,entrypoints==0.4,execnet==1.9.0,executing==1.0.0,faiss==1.7.2,faiss-gpu==1.7.2,fastai==2.7.9,fastapi==0.85.0,fastavro==1.6.1,fastcore==1.5.27,fastdownload==0.0.7,fastjsonschema==2.16.1,fastprogress==1.0.3,fastrlock==0.8,feast==0.19.4,fiddle==0.2.2,filelock==3.8.0,flatbuffers==1.12,fonttools==4.37.3,frozenlist==1.3.1,fsspec==2022.5.0,gast==0.4.0,gevent==21.12.0,geventhttpclient==2.0.2,gitdb==4.0.9,GitPython==3.1.27,google==3.0.0,google-api-core==2.10.1,google-auth==2.11.1,google-auth-oauthlib==0.4.6,google-pasta==0.2.0,googleapis-common-protos==1.52.0,graphviz==0.20.1,greenlet==1.1.3,grpcio==1.41.0,grpcio-channelz==1.49.0,grpcio-reflection==1.48.1,grpclib==0.4.3,h11==0.13.0,h2==4.1.0,h5py==3.7.0,HeapDict==1.0.1,horovod==0.26.1,hpack==4.0.0,httptools==0.5.0,hugectr2onnx==0.0.0,huggingface-hub==0.9.1,hyperframe==6.0.1,idna==2.8,imagesize==1.4.1,implicit==0.6.1,importlib-metadata==4.12.0,importlib-resources==5.9.0,iniconfig==1.1.1,ipykernel==6.15.3,ipython==8.5.0,ipython-genutils==0.2.0,ipywidgets==7.7.0,jedi==0.18.1,Jinja2==3.1.2,jmespath==1.0.1,joblib==1.2.0,json5==0.9.10,jsonschema==4.16.0,jupyter-cache==0.4.3,jupyter-core==4.11.1,jupyter-server==1.18.1,jupyter-server-mathjax==0.2.5,jupyter-sphinx==0.3.2,jupyter_client==7.3.5,jupyterlab==3.4.7,jupyterlab-pygments==0.2.2,jupyterlab-widgets==1.1.0,jupyterlab_server==2.15.1,keras==2.9.0,Keras-Preprocessing==1.1.2,kiwisolver==1.4.4,lazy-object-proxy==1.8.0,libclang==14.0.6,libcst==0.4.7,lightfm==1.16,lightgbm==3.3.2,linkify-it-py==1.0.3,llvmlite==0.39.1,locket==1.0.0,lxml==4.9.1,Mako==1.2.4,Markdown==3.4.1,markdown-it-py==1.1.0,MarkupSafe==2.1.1,matplotlib==3.6.0,matplotlib-inline==0.1.6,mdit-py-plugins==0.2.8,merlin-core==0.6.0+1.g5926fcf,merlin-models==0.7.0+11.g280956aa4,merlin-systems==0.7.0+20.gf2e5547,mistune==2.0.4,mmh3==3.0.0,mpi4py==3.1.3,msgpack==1.0.4,multidict==6.0.2,mypy-extensions==0.4.3,myst-nb==0.13.2,myst-parser==0.15.2,natsort==8.1.0,nbclassic==0.4.3,nbclient==0.6.8,nbconvert==7.0.0,nbdime==3.1.1,nbformat==5.5.0,nest-asyncio==1.5.5,ninja==1.10.2.3,notebook==6.4.12,notebook-shim==0.1.0,numba==0.56.2,numpy==1.22.4,nvidia-pyindex==1.0.9,# Editable install with no version control (nvtabular==1.4.0+8.g95e12d347),-e /usr/local/lib/python3.8/dist-packages,nvtx==0.2.5,oauthlib==3.2.1,oldest-supported-numpy==2022.8.16,onnx==1.12.0,onnxruntime==1.11.1,opt-einsum==3.3.0,optuna==3.0.3,packaging==21.3,pandas==1.3.5,pandavro==1.5.2,pandocfilters==1.5.0,parso==0.8.3,partd==1.3.0,pathtools==0.1.2,pbr==5.11.0,pexpect==4.8.0,pickleshare==0.7.5,Pillow==9.2.0,pkgutil_resolve_name==1.3.10,platformdirs==2.5.2,plotly==5.11.0,pluggy==1.0.0,prettytable==3.5.0,prometheus-client==0.14.1,promise==2.3,prompt-toolkit==3.0.31,proto-plus==1.19.6,protobuf==3.19.5,psutil==5.9.2,ptyprocess==0.7.0,pure-eval==0.2.2,py==1.11.0,pyarrow==7.0.0,pyasn1==0.4.8,pyasn1-modules==0.2.8,pybind11==2.10.0,pycparser==2.21,pydantic==1.10.2,pydot==1.4.2,Pygments==2.13.0,PyGObject==3.36.0,pynvml==11.4.1,pyparsing==3.0.9,pyperclip==1.8.2,pyrsistent==0.18.1,pytest==7.1.3,pytest-cov==4.0.0,pytest-xdist==3.0.2,python-apt==2.0.0+ubuntu0.20.4.8,python-dateutil==2.8.2,python-dotenv==0.21.0,python-rapidjson==1.8,pytz==2022.2.1,PyYAML==5.4.1,pyzmq==24.0.0,regex==2022.9.13,requests==2.22.0,requests-oauthlib==1.3.1,requests-unixsocket==0.2.0,rsa==4.7.2,s3fs==2022.2.0,s3transfer==0.6.0,sacremoses==0.0.53,scikit-build==0.15.0,scikit-learn==1.1.2,scipy==1.8.1,seedir==0.3.0,Send2Trash==1.8.0,sentry-sdk==1.9.8,setproctitle==1.3.2,setuptools-scm==7.0.5,shortuuid==1.0.9,six==1.15.0,sklearn==0.0,smmap==5.0.0,sniffio==1.3.0,snowballstemmer==2.2.0,sortedcontainers==2.4.0,soupsieve==2.3.2.post1,Sphinx==5.3.0,sphinx-multiversion==0.2.4,sphinx-togglebutton==0.3.1,sphinx_external_toc==0.3.0,sphinxcontrib-applehelp==1.0.2,sphinxcontrib-copydirs @ git+https://github.com/mikemckiernan/sphinxcontrib-copydirs.git@bd8c5d79b3f91cf5f1bb0d6995aeca3fe84b670e,sphinxcontrib-devhelp==1.0.2,sphinxcontrib-htmlhelp==2.0.0,sphinxcontrib-jsmath==1.0.1,sphinxcontrib-qthelp==1.0.3,sphinxcontrib-serializinghtml==1.1.5,SQLAlchemy==1.4.44,stack-data==0.5.0,starlette==0.20.4,stevedore==4.1.1,stringcase==1.2.0,supervisor==4.1.0,tabulate==0.8.10,tblib==1.7.0,tdqm==0.0.1,tenacity==8.0.1,tensorboard==2.9.1,tensorboard-data-server==0.6.1,tensorboard-plugin-wit==1.8.1,tensorflow==2.9.2,tensorflow-estimator==2.9.0,tensorflow-gpu==2.9.2,tensorflow-io-gcs-filesystem==0.27.0,tensorflow-metadata==1.10.0,termcolor==2.0.1,terminado==0.15.0,testbook==0.4.2,threadpoolctl==3.1.0,tinycss2==1.1.1,tokenizers==0.10.3,toml==0.10.2,tomli==2.0.1,toolz==0.12.0,torch==1.12.1+cu113,torchmetrics==0.3.2,tornado==6.2,tox==3.26.0,tqdm==4.64.1,traitlets==5.4.0,transformers==4.12.0,transformers4rec==0.1.12+2.gbcc939255,treelite==2.3.0,treelite-runtime==2.3.0,tritonclient==2.25.0,typing-inspect==0.8.0,typing_extensions==4.3.0,uc-micro-py==1.0.1,urllib3==1.26.12,uvicorn==0.18.3,uvloop==0.17.0,versioneer==0.20,virtualenv==20.16.5,wandb==0.13.3,watchfiles==0.17.0,wcwidth==0.2.5,webencodings==0.5.1,websocket-client==1.4.1,websockets==10.3,Werkzeug==2.2.2,widgetsnbextension==3.6.0,wrapt==1.12.1,xgboost==1.6.2,yarl==1.8.1,zict==2.2.0,zipp==3.8.1,zope.event==4.5.0,zope.interface==5.4.0
test-gpu run-test-pre: PYTHONHASHSEED='717821230'
test-gpu run-test: commands[0] | python -m pip install --upgrade git+https://github.com/NVIDIA-Merlin/core.git
Looking in indexes: https://pypi.org/simple, https://pypi.ngc.nvidia.com
Collecting git+https://github.com/NVIDIA-Merlin/core.git
  Cloning https://github.com/NVIDIA-Merlin/core.git to /tmp/pip-req-build-d_e_zovc
  Running command git clone --filter=blob:none --quiet https://github.com/NVIDIA-Merlin/core.git /tmp/pip-req-build-d_e_zovc
  Resolved https://github.com/NVIDIA-Merlin/core.git to commit 025f10da5f96c9ae470ee31133801da05fabfbf9
  Installing build dependencies: started
  Installing build dependencies: finished with status 'done'
  Getting requirements to build wheel: started
  Getting requirements to build wheel: finished with status 'done'
  Preparing metadata (pyproject.toml): started
  Preparing metadata (pyproject.toml): finished with status 'done'
Requirement already satisfied: betterproto<2.0.0 in /usr/local/lib/python3.8/dist-packages (from merlin-core==0.9.0+12.g025f10d) (1.2.5)
Requirement already satisfied: distributed>=2022.3.0 in /var/jenkins_home/.local/lib/python3.8/site-packages (from merlin-core==0.9.0+12.g025f10d) (2022.3.0)
Requirement already satisfied: pyarrow>=5.0.0 in /usr/local/lib/python3.8/dist-packages (from merlin-core==0.9.0+12.g025f10d) (7.0.0)
Requirement already satisfied: protobuf>=3.0.0 in /usr/local/lib/python3.8/dist-packages (from merlin-core==0.9.0+12.g025f10d) (3.19.5)
Requirement already satisfied: tqdm>=4.0 in /usr/local/lib/python3.8/dist-packages (from merlin-core==0.9.0+12.g025f10d) (4.64.1)
Requirement already satisfied: dask>=2022.3.0 in /var/jenkins_home/.local/lib/python3.8/site-packages (from merlin-core==0.9.0+12.g025f10d) (2022.3.0)
Requirement already satisfied: pandas<1.4.0dev0,>=1.2.0 in /var/jenkins_home/.local/lib/python3.8/site-packages (from merlin-core==0.9.0+12.g025f10d) (1.3.5)
Requirement already satisfied: fsspec==2022.5.0 in /var/jenkins_home/.local/lib/python3.8/site-packages (from merlin-core==0.9.0+12.g025f10d) (2022.5.0)
Requirement already satisfied: packaging in /usr/local/lib/python3.8/dist-packages (from merlin-core==0.9.0+12.g025f10d) (21.3)
Requirement already satisfied: tensorflow-metadata>=1.2.0 in /usr/local/lib/python3.8/dist-packages (from merlin-core==0.9.0+12.g025f10d) (1.10.0)
Requirement already satisfied: numba>=0.54 in /var/jenkins_home/.local/lib/python3.8/site-packages (from merlin-core==0.9.0+12.g025f10d) (0.55.1)
Requirement already satisfied: grpclib in /usr/local/lib/python3.8/dist-packages (from betterproto<2.0.0->merlin-core==0.9.0+12.g025f10d) (0.4.3)
Requirement already satisfied: stringcase in /usr/local/lib/python3.8/dist-packages (from betterproto<2.0.0->merlin-core==0.9.0+12.g025f10d) (1.2.0)
Requirement already satisfied: pyyaml>=5.3.1 in /var/jenkins_home/.local/lib/python3.8/site-packages/PyYAML-5.4.1-py3.8-linux-x86_64.egg (from dask>=2022.3.0->merlin-core==0.9.0+12.g025f10d) (5.4.1)
Requirement already satisfied: partd>=0.3.10 in /var/jenkins_home/.local/lib/python3.8/site-packages/partd-1.2.0-py3.8.egg (from dask>=2022.3.0->merlin-core==0.9.0+12.g025f10d) (1.2.0)
Requirement already satisfied: cloudpickle>=1.1.1 in /usr/local/lib/python3.8/dist-packages (from dask>=2022.3.0->merlin-core==0.9.0+12.g025f10d) (2.2.0)
Requirement already satisfied: toolz>=0.8.2 in /usr/local/lib/python3.8/dist-packages (from dask>=2022.3.0->merlin-core==0.9.0+12.g025f10d) (0.12.0)
Requirement already satisfied: tornado>=6.0.3 in /var/jenkins_home/.local/lib/python3.8/site-packages/tornado-6.1-py3.8-linux-x86_64.egg (from distributed>=2022.3.0->merlin-core==0.9.0+12.g025f10d) (6.1)
Requirement already satisfied: tblib>=1.6.0 in /var/jenkins_home/.local/lib/python3.8/site-packages/tblib-1.7.0-py3.8.egg (from distributed>=2022.3.0->merlin-core==0.9.0+12.g025f10d) (1.7.0)
Requirement already satisfied: sortedcontainers!=2.0.0,!=2.0.1 in /var/jenkins_home/.local/lib/python3.8/site-packages/sortedcontainers-2.4.0-py3.8.egg (from distributed>=2022.3.0->merlin-core==0.9.0+12.g025f10d) (2.4.0)
Requirement already satisfied: click>=6.6 in /usr/local/lib/python3.8/dist-packages (from distributed>=2022.3.0->merlin-core==0.9.0+12.g025f10d) (8.1.3)
Requirement already satisfied: zict>=0.1.3 in /var/jenkins_home/.local/lib/python3.8/site-packages/zict-2.0.0-py3.8.egg (from distributed>=2022.3.0->merlin-core==0.9.0+12.g025f10d) (2.0.0)
Requirement already satisfied: msgpack>=0.6.0 in /usr/local/lib/python3.8/dist-packages (from distributed>=2022.3.0->merlin-core==0.9.0+12.g025f10d) (1.0.4)
Requirement already satisfied: psutil>=5.0 in /var/jenkins_home/.local/lib/python3.8/site-packages/psutil-5.8.0-py3.8-linux-x86_64.egg (from distributed>=2022.3.0->merlin-core==0.9.0+12.g025f10d) (5.8.0)
Requirement already satisfied: jinja2 in /usr/local/lib/python3.8/dist-packages (from distributed>=2022.3.0->merlin-core==0.9.0+12.g025f10d) (3.1.2)
Requirement already satisfied: llvmlite<0.39,>=0.38.0rc1 in ./.tox/test-gpu/lib/python3.8/site-packages (from numba>=0.54->merlin-core==0.9.0+12.g025f10d) (0.38.1)
Requirement already satisfied: setuptools in ./.tox/test-gpu/lib/python3.8/site-packages (from numba>=0.54->merlin-core==0.9.0+12.g025f10d) (65.5.1)
Requirement already satisfied: numpy<1.22,>=1.18 in /var/jenkins_home/.local/lib/python3.8/site-packages (from numba>=0.54->merlin-core==0.9.0+12.g025f10d) (1.20.3)
Requirement already satisfied: pyparsing!=3.0.5,>=2.0.2 in /usr/local/lib/python3.8/dist-packages (from packaging->merlin-core==0.9.0+12.g025f10d) (3.0.9)
Requirement already satisfied: pytz>=2017.3 in /usr/local/lib/python3.8/dist-packages (from pandas<1.4.0dev0,>=1.2.0->merlin-core==0.9.0+12.g025f10d) (2022.2.1)
Requirement already satisfied: python-dateutil>=2.7.3 in /usr/local/lib/python3.8/dist-packages (from pandas<1.4.0dev0,>=1.2.0->merlin-core==0.9.0+12.g025f10d) (2.8.2)
Requirement already satisfied: absl-py<2.0.0,>=0.9 in /usr/local/lib/python3.8/dist-packages (from tensorflow-metadata>=1.2.0->merlin-core==0.9.0+12.g025f10d) (1.2.0)
Requirement already satisfied: googleapis-common-protos<2,>=1.52.0 in /usr/local/lib/python3.8/dist-packages (from tensorflow-metadata>=1.2.0->merlin-core==0.9.0+12.g025f10d) (1.52.0)
Requirement already satisfied: locket in /var/jenkins_home/.local/lib/python3.8/site-packages/locket-0.2.1-py3.8.egg (from partd>=0.3.10->dask>=2022.3.0->merlin-core==0.9.0+12.g025f10d) (0.2.1)
Requirement already satisfied: six>=1.5 in /var/jenkins_home/.local/lib/python3.8/site-packages (from python-dateutil>=2.7.3->pandas<1.4.0dev0,>=1.2.0->merlin-core==0.9.0+12.g025f10d) (1.15.0)
Requirement already satisfied: heapdict in /var/jenkins_home/.local/lib/python3.8/site-packages/HeapDict-1.0.1-py3.8.egg (from zict>=0.1.3->distributed>=2022.3.0->merlin-core==0.9.0+12.g025f10d) (1.0.1)
Requirement already satisfied: multidict in /usr/local/lib/python3.8/dist-packages (from grpclib->betterproto<2.0.0->merlin-core==0.9.0+12.g025f10d) (6.0.2)
Requirement already satisfied: h2<5,>=3.1.0 in /usr/local/lib/python3.8/dist-packages (from grpclib->betterproto<2.0.0->merlin-core==0.9.0+12.g025f10d) (4.1.0)
Requirement already satisfied: MarkupSafe>=2.0 in /usr/local/lib/python3.8/dist-packages (from jinja2->distributed>=2022.3.0->merlin-core==0.9.0+12.g025f10d) (2.1.1)
Requirement already satisfied: hpack<5,>=4.0 in /usr/local/lib/python3.8/dist-packages (from h2<5,>=3.1.0->grpclib->betterproto<2.0.0->merlin-core==0.9.0+12.g025f10d) (4.0.0)
Requirement already satisfied: hyperframe<7,>=6.0 in /usr/local/lib/python3.8/dist-packages (from h2<5,>=3.1.0->grpclib->betterproto<2.0.0->merlin-core==0.9.0+12.g025f10d) (6.0.1)
Building wheels for collected packages: merlin-core
  Building wheel for merlin-core (pyproject.toml): started
  Building wheel for merlin-core (pyproject.toml): finished with status 'done'
  Created wheel for merlin-core: filename=merlin_core-0.9.0+12.g025f10d-py3-none-any.whl size=118882 sha256=6431cbd0a742658881a592a210548b63abb02630d232e916f97bac65aaf99030
  Stored in directory: /tmp/pip-ephem-wheel-cache-8a5jrodw/wheels/c8/38/16/a6968787eafcec5fa772148af8408b089562f71af0752e8e84
Successfully built merlin-core
Installing collected packages: merlin-core
  Attempting uninstall: merlin-core
    Found existing installation: merlin-core 0.3.0+12.g78ecddd
    Not uninstalling merlin-core at /var/jenkins_home/.local/lib/python3.8/site-packages, outside environment /var/jenkins_home/workspace/merlin_systems/systems/.tox/test-gpu
    Can't uninstall 'merlin-core'. No files were found to uninstall.
Successfully installed merlin-core-0.9.0+12.g025f10d
test-gpu run-test: commands[1] | python -m pip install .
Looking in indexes: https://pypi.org/simple, https://pypi.ngc.nvidia.com
Processing /var/jenkins_home/workspace/merlin_systems/systems
  Installing build dependencies: started
  Installing build dependencies: finished with status 'done'
  Getting requirements to build wheel: started
  Getting requirements to build wheel: finished with status 'done'
  Preparing metadata (pyproject.toml): started
  Preparing metadata (pyproject.toml): finished with status 'done'
Requirement already satisfied: nvtabular>=1.0.0 in /var/jenkins_home/.local/lib/python3.8/site-packages (from merlin-systems==0.7.0+20.gf2e5547) (1.1.1)
Requirement already satisfied: merlin-core>=0.2.0 in ./.tox/test-gpu/lib/python3.8/site-packages (from merlin-systems==0.7.0+20.gf2e5547) (0.9.0+12.g025f10d)
Requirement already satisfied: requests<3,>=2.10 in /usr/lib/python3/dist-packages (from merlin-systems==0.7.0+20.gf2e5547) (2.22.0)
Requirement already satisfied: betterproto<2.0.0 in /usr/local/lib/python3.8/dist-packages (from merlin-core>=0.2.0->merlin-systems==0.7.0+20.gf2e5547) (1.2.5)
Requirement already satisfied: distributed>=2022.3.0 in /var/jenkins_home/.local/lib/python3.8/site-packages (from merlin-core>=0.2.0->merlin-systems==0.7.0+20.gf2e5547) (2022.3.0)
Requirement already satisfied: pyarrow>=5.0.0 in /usr/local/lib/python3.8/dist-packages (from merlin-core>=0.2.0->merlin-systems==0.7.0+20.gf2e5547) (7.0.0)
Requirement already satisfied: protobuf>=3.0.0 in /usr/local/lib/python3.8/dist-packages (from merlin-core>=0.2.0->merlin-systems==0.7.0+20.gf2e5547) (3.19.5)
Requirement already satisfied: tqdm>=4.0 in /usr/local/lib/python3.8/dist-packages (from merlin-core>=0.2.0->merlin-systems==0.7.0+20.gf2e5547) (4.64.1)
Requirement already satisfied: dask>=2022.3.0 in /var/jenkins_home/.local/lib/python3.8/site-packages (from merlin-core>=0.2.0->merlin-systems==0.7.0+20.gf2e5547) (2022.3.0)
Requirement already satisfied: pandas<1.4.0dev0,>=1.2.0 in /var/jenkins_home/.local/lib/python3.8/site-packages (from merlin-core>=0.2.0->merlin-systems==0.7.0+20.gf2e5547) (1.3.5)
Requirement already satisfied: fsspec==2022.5.0 in /var/jenkins_home/.local/lib/python3.8/site-packages (from merlin-core>=0.2.0->merlin-systems==0.7.0+20.gf2e5547) (2022.5.0)
Requirement already satisfied: packaging in /usr/local/lib/python3.8/dist-packages (from merlin-core>=0.2.0->merlin-systems==0.7.0+20.gf2e5547) (21.3)
Requirement already satisfied: tensorflow-metadata>=1.2.0 in /usr/local/lib/python3.8/dist-packages (from merlin-core>=0.2.0->merlin-systems==0.7.0+20.gf2e5547) (1.10.0)
Requirement already satisfied: numba>=0.54 in /var/jenkins_home/.local/lib/python3.8/site-packages (from merlin-core>=0.2.0->merlin-systems==0.7.0+20.gf2e5547) (0.55.1)
Requirement already satisfied: grpclib in /usr/local/lib/python3.8/dist-packages (from betterproto<2.0.0->merlin-core>=0.2.0->merlin-systems==0.7.0+20.gf2e5547) (0.4.3)
Requirement already satisfied: stringcase in /usr/local/lib/python3.8/dist-packages (from betterproto<2.0.0->merlin-core>=0.2.0->merlin-systems==0.7.0+20.gf2e5547) (1.2.0)
Requirement already satisfied: pyyaml>=5.3.1 in /var/jenkins_home/.local/lib/python3.8/site-packages/PyYAML-5.4.1-py3.8-linux-x86_64.egg (from dask>=2022.3.0->merlin-core>=0.2.0->merlin-systems==0.7.0+20.gf2e5547) (5.4.1)
Requirement already satisfied: partd>=0.3.10 in /var/jenkins_home/.local/lib/python3.8/site-packages/partd-1.2.0-py3.8.egg (from dask>=2022.3.0->merlin-core>=0.2.0->merlin-systems==0.7.0+20.gf2e5547) (1.2.0)
Requirement already satisfied: cloudpickle>=1.1.1 in /usr/local/lib/python3.8/dist-packages (from dask>=2022.3.0->merlin-core>=0.2.0->merlin-systems==0.7.0+20.gf2e5547) (2.2.0)
Requirement already satisfied: toolz>=0.8.2 in /usr/local/lib/python3.8/dist-packages (from dask>=2022.3.0->merlin-core>=0.2.0->merlin-systems==0.7.0+20.gf2e5547) (0.12.0)
Requirement already satisfied: tornado>=6.0.3 in /var/jenkins_home/.local/lib/python3.8/site-packages/tornado-6.1-py3.8-linux-x86_64.egg (from distributed>=2022.3.0->merlin-core>=0.2.0->merlin-systems==0.7.0+20.gf2e5547) (6.1)
Requirement already satisfied: tblib>=1.6.0 in /var/jenkins_home/.local/lib/python3.8/site-packages/tblib-1.7.0-py3.8.egg (from distributed>=2022.3.0->merlin-core>=0.2.0->merlin-systems==0.7.0+20.gf2e5547) (1.7.0)
Requirement already satisfied: sortedcontainers!=2.0.0,!=2.0.1 in /var/jenkins_home/.local/lib/python3.8/site-packages/sortedcontainers-2.4.0-py3.8.egg (from distributed>=2022.3.0->merlin-core>=0.2.0->merlin-systems==0.7.0+20.gf2e5547) (2.4.0)
Requirement already satisfied: click>=6.6 in /usr/local/lib/python3.8/dist-packages (from distributed>=2022.3.0->merlin-core>=0.2.0->merlin-systems==0.7.0+20.gf2e5547) (8.1.3)
Requirement already satisfied: zict>=0.1.3 in /var/jenkins_home/.local/lib/python3.8/site-packages/zict-2.0.0-py3.8.egg (from distributed>=2022.3.0->merlin-core>=0.2.0->merlin-systems==0.7.0+20.gf2e5547) (2.0.0)
Requirement already satisfied: msgpack>=0.6.0 in /usr/local/lib/python3.8/dist-packages (from distributed>=2022.3.0->merlin-core>=0.2.0->merlin-systems==0.7.0+20.gf2e5547) (1.0.4)
Requirement already satisfied: psutil>=5.0 in /var/jenkins_home/.local/lib/python3.8/site-packages/psutil-5.8.0-py3.8-linux-x86_64.egg (from distributed>=2022.3.0->merlin-core>=0.2.0->merlin-systems==0.7.0+20.gf2e5547) (5.8.0)
Requirement already satisfied: jinja2 in /usr/local/lib/python3.8/dist-packages (from distributed>=2022.3.0->merlin-core>=0.2.0->merlin-systems==0.7.0+20.gf2e5547) (3.1.2)
Requirement already satisfied: llvmlite<0.39,>=0.38.0rc1 in ./.tox/test-gpu/lib/python3.8/site-packages (from numba>=0.54->merlin-core>=0.2.0->merlin-systems==0.7.0+20.gf2e5547) (0.38.1)
Requirement already satisfied: setuptools in ./.tox/test-gpu/lib/python3.8/site-packages (from numba>=0.54->merlin-core>=0.2.0->merlin-systems==0.7.0+20.gf2e5547) (65.5.1)
Requirement already satisfied: numpy<1.22,>=1.18 in /var/jenkins_home/.local/lib/python3.8/site-packages (from numba>=0.54->merlin-core>=0.2.0->merlin-systems==0.7.0+20.gf2e5547) (1.20.3)
Requirement already satisfied: pyparsing!=3.0.5,>=2.0.2 in /usr/local/lib/python3.8/dist-packages (from packaging->merlin-core>=0.2.0->merlin-systems==0.7.0+20.gf2e5547) (3.0.9)
Requirement already satisfied: pytz>=2017.3 in /usr/local/lib/python3.8/dist-packages (from pandas<1.4.0dev0,>=1.2.0->merlin-core>=0.2.0->merlin-systems==0.7.0+20.gf2e5547) (2022.2.1)
Requirement already satisfied: python-dateutil>=2.7.3 in /usr/local/lib/python3.8/dist-packages (from pandas<1.4.0dev0,>=1.2.0->merlin-core>=0.2.0->merlin-systems==0.7.0+20.gf2e5547) (2.8.2)
Requirement already satisfied: absl-py<2.0.0,>=0.9 in /usr/local/lib/python3.8/dist-packages (from tensorflow-metadata>=1.2.0->merlin-core>=0.2.0->merlin-systems==0.7.0+20.gf2e5547) (1.2.0)
Requirement already satisfied: googleapis-common-protos<2,>=1.52.0 in /usr/local/lib/python3.8/dist-packages (from tensorflow-metadata>=1.2.0->merlin-core>=0.2.0->merlin-systems==0.7.0+20.gf2e5547) (1.52.0)
Requirement already satisfied: locket in /var/jenkins_home/.local/lib/python3.8/site-packages/locket-0.2.1-py3.8.egg (from partd>=0.3.10->dask>=2022.3.0->merlin-core>=0.2.0->merlin-systems==0.7.0+20.gf2e5547) (0.2.1)
Requirement already satisfied: six>=1.5 in /var/jenkins_home/.local/lib/python3.8/site-packages (from python-dateutil>=2.7.3->pandas<1.4.0dev0,>=1.2.0->merlin-core>=0.2.0->merlin-systems==0.7.0+20.gf2e5547) (1.15.0)
Requirement already satisfied: heapdict in /var/jenkins_home/.local/lib/python3.8/site-packages/HeapDict-1.0.1-py3.8.egg (from zict>=0.1.3->distributed>=2022.3.0->merlin-core>=0.2.0->merlin-systems==0.7.0+20.gf2e5547) (1.0.1)
Requirement already satisfied: multidict in /usr/local/lib/python3.8/dist-packages (from grpclib->betterproto<2.0.0->merlin-core>=0.2.0->merlin-systems==0.7.0+20.gf2e5547) (6.0.2)
Requirement already satisfied: h2<5,>=3.1.0 in /usr/local/lib/python3.8/dist-packages (from grpclib->betterproto<2.0.0->merlin-core>=0.2.0->merlin-systems==0.7.0+20.gf2e5547) (4.1.0)
Requirement already satisfied: MarkupSafe>=2.0 in /usr/local/lib/python3.8/dist-packages (from jinja2->distributed>=2022.3.0->merlin-core>=0.2.0->merlin-systems==0.7.0+20.gf2e5547) (2.1.1)
Requirement already satisfied: hpack<5,>=4.0 in /usr/local/lib/python3.8/dist-packages (from h2<5,>=3.1.0->grpclib->betterproto<2.0.0->merlin-core>=0.2.0->merlin-systems==0.7.0+20.gf2e5547) (4.0.0)
Requirement already satisfied: hyperframe<7,>=6.0 in /usr/local/lib/python3.8/dist-packages (from h2<5,>=3.1.0->grpclib->betterproto<2.0.0->merlin-core>=0.2.0->merlin-systems==0.7.0+20.gf2e5547) (6.0.1)
Building wheels for collected packages: merlin-systems
  Building wheel for merlin-systems (pyproject.toml): started
  Building wheel for merlin-systems (pyproject.toml): finished with status 'done'
  Created wheel for merlin-systems: filename=merlin_systems-0.7.0+20.gf2e5547-py3-none-any.whl size=138324 sha256=176afa2fe313501b0364cc7b9952e17fe057be2729cc7d5db201983f8076ad13
  Stored in directory: /tmp/pip-ephem-wheel-cache-8d9b2q6o/wheels/20/f3/c7/f7c2f6c257e882a60cdd173901b8757359446cf94a453e0811
Successfully built merlin-systems
Installing collected packages: merlin-systems
  Attempting uninstall: merlin-systems
    Found existing installation: merlin-systems 0.7.0+20.gf2e5547
    Uninstalling merlin-systems-0.7.0+20.gf2e5547:
      Successfully uninstalled merlin-systems-0.7.0+20.gf2e5547
Successfully installed merlin-systems-0.7.0+20.gf2e5547
test-gpu run-test: commands[2] | python -m pytest --cov-report term --cov merlin -rxs tests/unit
============================= test session starts ==============================
platform linux -- Python 3.8.10, pytest-7.1.3, pluggy-1.0.0
cachedir: .tox/test-gpu/.pytest_cache
rootdir: /var/jenkins_home/workspace/merlin_systems/systems, configfile: pytest.ini
plugins: anyio-3.5.0, xdist-3.0.2, cov-4.0.0
collected 123 items

tests/unit/test_export.py . [ 0%]
tests/unit/examples/test_serving_an_implicit_model_with_merlin_systems.py . [ 1%]
. [ 2%]
tests/unit/examples/test_serving_an_xgboost_model_with_merlin_systems.py . [ 3%]
[ 3%]
tests/unit/examples/test_serving_ranking_models_with_merlin_systems.py . [ 4%]
[ 4%]
tests/unit/legacy/test_triton_inference.py ............................. [ 27%]
FF. [ 30%]
tests/unit/systems/dag/test_ensemble.py . [ 30%]
tests/unit/systems/dag/test_executors.py ... [ 33%]
tests/unit/systems/dag/test_graph.py .. [ 34%]
tests/unit/systems/dag/test_model_registry.py .. [ 36%]
tests/unit/systems/dag/test_op_runner.py .... [ 39%]
tests/unit/systems/dag/ops/test_ops.py .. [ 41%]
tests/unit/systems/dag/runtimes/test_triton.py ..... [ 45%]
tests/unit/systems/ops/faiss/test_executor.py . [ 46%]
tests/unit/systems/ops/feast/test_op.py ...... [ 51%]
tests/unit/systems/ops/fil/test_ensemble.py . [ 52%]
tests/unit/systems/ops/fil/test_forest.py .... [ 55%]
tests/unit/systems/ops/fil/test_op.py .......................... [ 76%]
tests/unit/systems/ops/implicit/test_executor.py ... [ 78%]
tests/unit/systems/ops/implicit/test_op.py ......... [ 86%]
tests/unit/systems/ops/nvtabular/test_ensemble.py . [ 86%]
tests/unit/systems/ops/nvtabular/test_op.py .. [ 88%]
tests/unit/systems/ops/tf/test_ensemble.py .F.. [ 91%]
tests/unit/systems/ops/tf/test_op.py .... [ 95%]
tests/unit/systems/ops/torch/test_op.py ...... [100%]

=================================== FAILURES ===================================
________________________ test_groupby_model[tensorflow] ________________________

tmpdir = local('/tmp/pytest-of-jenkins/pytest-38/test_groupby_model_tensorflow_0')
output_model = 'tensorflow'

@pytest.mark.skipif(TRITON_SERVER_PATH is None, reason="Requires tritonserver on the path")
@pytest.mark.parametrize("output_model", ["tensorflow", "pytorch"])
def test_groupby_model(tmpdir, output_model):
    size = 20
    df = make_df(
        {
            "id": np.random.choice([0, 1], size=size),
            "ts": np.linspace(0.0, 10.0, num=size),
            "x": np.arange(size),
            "y": np.linspace(0.0, 10.0, num=size),
        }
    )

    groupby_features = ColumnSelector(["id", "ts", "x", "y"]) >> ops.Groupby(
        groupby_cols=["id"],
        sort_cols=["ts"],
        aggs={
            "x": ["sum"],
            "y": ["first"],
        },
        name_sep="-",
    )
    workflow = nvt.Workflow(groupby_features)
  _verify_workflow_on_tritonserver(
        tmpdir, workflow, df, "groupby", output_model, cats=["id", "y-first"], conts=["x-sum"]
    )

tests/unit/legacy/test_triton_inference.py:379:


tests/unit/legacy/test_triton_inference.py:84: in _verify_workflow_on_tritonserver
workflow.fit(dataset)
../../../.local/lib/python3.8/site-packages/nvtabular/workflow/workflow.py:261: in fit
self._transform_impl(dataset, capture_dtypes=True).sample_dtypes()
.tox/test-gpu/lib/python3.8/site-packages/merlin/io/dataset.py:1154: in sample_dtypes
_real_meta = self.engine.sample_data(n=n)
.tox/test-gpu/lib/python3.8/site-packages/merlin/io/dataset_engine.py:71: in sample_data
_head = _ddf.partitions[partition_index].head(n)
../../../.local/lib/python3.8/site-packages/dask/dataframe/core.py:1196: in head
return self._head(n=n, npartitions=npartitions, compute=compute, safe=safe)
../../../.local/lib/python3.8/site-packages/dask/dataframe/core.py:1230: in _head
result = result.compute()
../../../.local/lib/python3.8/site-packages/dask/base.py:292: in compute
(result,) = compute(self, traverse=False, **kwargs)
../../../.local/lib/python3.8/site-packages/dask/base.py:575: in compute
results = schedule(dsk, keys, **kwargs)
../../../.local/lib/python3.8/site-packages/dask/local.py:554: in get_sync
return get_async(
../../../.local/lib/python3.8/site-packages/dask/local.py:497: in get_async
for key, res_info, failed in queue_get(queue).result():
/usr/lib/python3.8/concurrent/futures/_base.py:437: in result
return self.__get_result()
/usr/lib/python3.8/concurrent/futures/_base.py:389: in __get_result
raise self._exception
../../../.local/lib/python3.8/site-packages/dask/local.py:539: in submit
fut.set_result(fn(*args, **kwargs))
../../../.local/lib/python3.8/site-packages/dask/local.py:235: in batch_execute_tasks
return [execute_task(a) for a in it]
../../../.local/lib/python3.8/site-packages/dask/local.py:235: in
return [execute_task(a) for a in it]
../../../.local/lib/python3.8/site-packages/dask/local.py:226: in execute_task
result = pack_exception(e, dumps)
../../../.local/lib/python3.8/site-packages/dask/local.py:221: in execute_task
result = _execute_task(task, data)
../../../.local/lib/python3.8/site-packages/dask/core.py:119: in _execute_task
return func(
(_execute_task(a, cache) for a in args))
../../../.local/lib/python3.8/site-packages/dask/optimization.py:990: in call
return core.get(self.dsk, self.outkey, dict(zip(self.inkeys, args)))
../../../.local/lib/python3.8/site-packages/dask/core.py:149: in get
result = _execute_task(task, cache)
../../../.local/lib/python3.8/site-packages/dask/core.py:119: in _execute_task
return func(
(_execute_task(a, cache) for a in args))
../../../.local/lib/python3.8/site-packages/dask/utils.py:39: in apply
return func(*args, **kwargs)
../../../.local/lib/python3.8/site-packages/nvtabular/workflow/workflow.py:519: in _transform_partition
output_df = node.op.transform(selection, input_df)
/usr/local/lib/python3.8/dist-packages/nvtx/nvtx.py:101: in inner
result = func(*args, **kwargs)
../../../.local/lib/python3.8/site-packages/nvtabular/ops/groupby.py:122: in transform
new_df = _apply_aggs(
../../../.local/lib/python3.8/site-packages/nvtabular/ops/groupby.py:223: in _apply_aggs
df[f"{col}{name_sep}{_agg}"] = _first_or_last(
../../../.local/lib/python3.8/site-packages/nvtabular/ops/groupby.py:267: in _first_or_last
return _first(x)


x = 0 [0.5263157894736842, 1.0526315789473684, 3.684...
1 [0.0, 1.5789473684210527, 2.1052631578947367, ...
Name: y-list, dtype: list

def _first(x):
    # Convert each element of a list column to be the first
    # item in the list
    if hasattr(x, "list"):
        # cuDF-specific behavior
        offsets = x.list._column.offsets
        elements = x.list._column.elements
      return elements[offsets[:-1]]

E TypeError: 'NumericalColumn' object is not subscriptable

../../../.local/lib/python3.8/site-packages/nvtabular/ops/groupby.py:281: TypeError
------------------------------ Captured log call -------------------------------
ERROR nvtabular:workflow.py:545 Failed to transform operator <nvtabular.ops.groupby.Groupby object at 0x7f7f947f2820>
Traceback (most recent call last):
File "/var/jenkins_home/.local/lib/python3.8/site-packages/nvtabular/workflow/workflow.py", line 519, in _transform_partition
output_df = node.op.transform(selection, input_df)
File "/usr/local/lib/python3.8/dist-packages/nvtx/nvtx.py", line 101, in inner
result = func(*args, **kwargs)
File "/var/jenkins_home/.local/lib/python3.8/site-packages/nvtabular/ops/groupby.py", line 122, in transform
new_df = _apply_aggs(
File "/var/jenkins_home/.local/lib/python3.8/site-packages/nvtabular/ops/groupby.py", line 223, in _apply_aggs
df[f"{col}{name_sep}{_agg}"] = _first_or_last(
File "/var/jenkins_home/.local/lib/python3.8/site-packages/nvtabular/ops/groupby.py", line 267, in _first_or_last
return _first(x)
File "/var/jenkins_home/.local/lib/python3.8/site-packages/nvtabular/ops/groupby.py", line 281, in _first
return elements[offsets[:-1]]
TypeError: 'NumericalColumn' object is not subscriptable
_________________________ test_groupby_model[pytorch] __________________________

tmpdir = local('/tmp/pytest-of-jenkins/pytest-38/test_groupby_model_pytorch_0')
output_model = 'pytorch'

@pytest.mark.skipif(TRITON_SERVER_PATH is None, reason="Requires tritonserver on the path")
@pytest.mark.parametrize("output_model", ["tensorflow", "pytorch"])
def test_groupby_model(tmpdir, output_model):
    size = 20
    df = make_df(
        {
            "id": np.random.choice([0, 1], size=size),
            "ts": np.linspace(0.0, 10.0, num=size),
            "x": np.arange(size),
            "y": np.linspace(0.0, 10.0, num=size),
        }
    )

    groupby_features = ColumnSelector(["id", "ts", "x", "y"]) >> ops.Groupby(
        groupby_cols=["id"],
        sort_cols=["ts"],
        aggs={
            "x": ["sum"],
            "y": ["first"],
        },
        name_sep="-",
    )
    workflow = nvt.Workflow(groupby_features)
  _verify_workflow_on_tritonserver(
        tmpdir, workflow, df, "groupby", output_model, cats=["id", "y-first"], conts=["x-sum"]
    )

tests/unit/legacy/test_triton_inference.py:379:


tests/unit/legacy/test_triton_inference.py:84: in _verify_workflow_on_tritonserver
workflow.fit(dataset)
../../../.local/lib/python3.8/site-packages/nvtabular/workflow/workflow.py:261: in fit
self._transform_impl(dataset, capture_dtypes=True).sample_dtypes()
.tox/test-gpu/lib/python3.8/site-packages/merlin/io/dataset.py:1154: in sample_dtypes
_real_meta = self.engine.sample_data(n=n)
.tox/test-gpu/lib/python3.8/site-packages/merlin/io/dataset_engine.py:71: in sample_data
_head = _ddf.partitions[partition_index].head(n)
../../../.local/lib/python3.8/site-packages/dask/dataframe/core.py:1196: in head
return self._head(n=n, npartitions=npartitions, compute=compute, safe=safe)
../../../.local/lib/python3.8/site-packages/dask/dataframe/core.py:1230: in _head
result = result.compute()
../../../.local/lib/python3.8/site-packages/dask/base.py:292: in compute
(result,) = compute(self, traverse=False, **kwargs)
../../../.local/lib/python3.8/site-packages/dask/base.py:575: in compute
results = schedule(dsk, keys, **kwargs)
../../../.local/lib/python3.8/site-packages/dask/local.py:554: in get_sync
return get_async(
../../../.local/lib/python3.8/site-packages/dask/local.py:497: in get_async
for key, res_info, failed in queue_get(queue).result():
/usr/lib/python3.8/concurrent/futures/_base.py:437: in result
return self.__get_result()
/usr/lib/python3.8/concurrent/futures/_base.py:389: in __get_result
raise self._exception
../../../.local/lib/python3.8/site-packages/dask/local.py:539: in submit
fut.set_result(fn(*args, **kwargs))
../../../.local/lib/python3.8/site-packages/dask/local.py:235: in batch_execute_tasks
return [execute_task(a) for a in it]
../../../.local/lib/python3.8/site-packages/dask/local.py:235: in
return [execute_task(a) for a in it]
../../../.local/lib/python3.8/site-packages/dask/local.py:226: in execute_task
result = pack_exception(e, dumps)
../../../.local/lib/python3.8/site-packages/dask/local.py:221: in execute_task
result = _execute_task(task, data)
../../../.local/lib/python3.8/site-packages/dask/core.py:119: in _execute_task
return func(
(_execute_task(a, cache) for a in args))
../../../.local/lib/python3.8/site-packages/dask/optimization.py:990: in call
return core.get(self.dsk, self.outkey, dict(zip(self.inkeys, args)))
../../../.local/lib/python3.8/site-packages/dask/core.py:149: in get
result = _execute_task(task, cache)
../../../.local/lib/python3.8/site-packages/dask/core.py:119: in _execute_task
return func(
(_execute_task(a, cache) for a in args))
../../../.local/lib/python3.8/site-packages/dask/utils.py:39: in apply
return func(*args, **kwargs)
../../../.local/lib/python3.8/site-packages/nvtabular/workflow/workflow.py:519: in _transform_partition
output_df = node.op.transform(selection, input_df)
/usr/local/lib/python3.8/dist-packages/nvtx/nvtx.py:101: in inner
result = func(*args, **kwargs)
../../../.local/lib/python3.8/site-packages/nvtabular/ops/groupby.py:122: in transform
new_df = _apply_aggs(
../../../.local/lib/python3.8/site-packages/nvtabular/ops/groupby.py:223: in _apply_aggs
df[f"{col}{name_sep}{_agg}"] = _first_or_last(
../../../.local/lib/python3.8/site-packages/nvtabular/ops/groupby.py:267: in _first_or_last
return _first(x)


x = 0 [0.5263157894736842, 1.0526315789473684, 1.578...
1 [0.0, 3.1578947368421053, 6.315789473684211, 6...
Name: y-list, dtype: list

def _first(x):
    # Convert each element of a list column to be the first
    # item in the list
    if hasattr(x, "list"):
        # cuDF-specific behavior
        offsets = x.list._column.offsets
        elements = x.list._column.elements
      return elements[offsets[:-1]]

E TypeError: 'NumericalColumn' object is not subscriptable

../../../.local/lib/python3.8/site-packages/nvtabular/ops/groupby.py:281: TypeError
------------------------------ Captured log call -------------------------------
ERROR nvtabular:workflow.py:545 Failed to transform operator <nvtabular.ops.groupby.Groupby object at 0x7f7ff40e2e50>
Traceback (most recent call last):
File "/var/jenkins_home/.local/lib/python3.8/site-packages/nvtabular/workflow/workflow.py", line 519, in _transform_partition
output_df = node.op.transform(selection, input_df)
File "/usr/local/lib/python3.8/dist-packages/nvtx/nvtx.py", line 101, in inner
result = func(*args, **kwargs)
File "/var/jenkins_home/.local/lib/python3.8/site-packages/nvtabular/ops/groupby.py", line 122, in transform
new_df = _apply_aggs(
File "/var/jenkins_home/.local/lib/python3.8/site-packages/nvtabular/ops/groupby.py", line 223, in _apply_aggs
df[f"{col}{name_sep}{_agg}"] = _first_or_last(
File "/var/jenkins_home/.local/lib/python3.8/site-packages/nvtabular/ops/groupby.py", line 267, in _first_or_last
return _first(x)
File "/var/jenkins_home/.local/lib/python3.8/site-packages/nvtabular/ops/groupby.py", line 281, in _first
return elements[offsets[:-1]]
TypeError: 'NumericalColumn' object is not subscriptable
__________________ test_workflow_tf_e2e_multi_op_run[parquet] __________________

tmpdir = local('/tmp/pytest-of-jenkins/pytest-38/test_workflow_tf_e2e_multi_op_0')
dataset = <merlin.io.dataset.Dataset object at 0x7f7f3c1bd5e0>
engine = 'parquet'

@pytest.mark.skipif(not TRITON_SERVER_PATH, reason="triton server not found")
@pytest.mark.parametrize("engine", ["parquet"])
def test_workflow_tf_e2e_multi_op_run(tmpdir, dataset, engine):
    # Create a Workflow
    schema = dataset.schema
    for name in ["x", "y", "id"]:
        dataset.schema.column_schemas[name] = dataset.schema.column_schemas[name].with_tags(
            [Tags.USER]
        )

    workflow_ops = ["name-cat"] >> wf_ops.Categorify(cat_cache="host")
    workflow = Workflow(workflow_ops)
    workflow.fit(dataset)

    embedding_shapes_1 = wf_ops.get_embedding_sizes(workflow)

    cats = ["name-string"] >> wf_ops.Categorify(cat_cache="host")
    workflow_2 = Workflow(cats)
    workflow_2.fit(dataset)

    embedding_shapes = wf_ops.get_embedding_sizes(workflow_2)
    embedding_shapes_1.update(embedding_shapes)
    # Create Tensorflow Model
    model = create_tf_model(["name-cat", "name-string"], [], embedding_shapes_1)

    # Creating Triton Ensemble
    triton_chain_1 = ["name-cat"] >> TransformWorkflow(workflow)
    triton_chain_2 = ["name-string"] >> TransformWorkflow(workflow_2)
    triton_chain = (triton_chain_1 + triton_chain_2) >> PredictTensorflow(model)

    triton_ens = Ensemble(triton_chain, schema)

    # Creating Triton Ensemble Config
    ensemble_config, nodes_config = triton_ens.export(str(tmpdir))
    config_path = tmpdir / "ensemble_model" / "config.pbtxt"

    # Checking Triton Ensemble Config
    with open(config_path, "rb") as f:
        config = model_config.ModelConfig()
        raw_config = f.read()
        parsed = text_format.Parse(raw_config, config)

        # The config file contents are correct
        assert parsed.name == "ensemble_model"
        assert parsed.platform == "ensemble"
        assert hasattr(parsed, "ensemble_scheduling")

    df = dataset.to_ddf().compute()[["name-string", "name-cat"]].iloc[:3]
    request_schema = workflow.input_schema + workflow_2.input_schema
  response = run_ensemble_on_tritonserver(
        str(tmpdir), request_schema, df, ["output"], ensemble_config.name
    )

tests/unit/systems/ops/tf/test_ensemble.py:164:


merlin/systems/triton/utils.py:138: in run_ensemble_on_tritonserver
with run_triton_server(tmpdir) as client:
/usr/lib/python3.8/contextlib.py:113: in enter
return next(self.gen)


model_repository = '/tmp/pytest-of-jenkins/pytest-38/test_workflow_tf_e2e_multi_op_0'

@contextlib.contextmanager
def run_triton_server(
    model_repository: str,
    *,
    grpc_host: str = "localhost",
    grpc_port: int = 8001,
    backend_config: str = "tensorflow,version=2",
):
    """This function starts up a Triton server instance and returns a client to it.

    Parameters
    ----------
    model_repository : string
        The path to the model repository directory.
    grpc_host : string
        The host address for the triton gRPC server to bind to.
        Default is localhost.
    grpc_port : int
        The port for the triton gRPC server to listen on for requests.
        Default is 8001.
    backend_config : string
        A backend-specific configuration.
        Following the pattern <backend_name>,<setting>=<value>.
        Where <backend_name> is the name of the backend, such as 'tensorflow'

    Yields
    ------
    client: tritonclient.InferenceServerClient
        The client connected to the Triton server.

    """
    if grpc_port == 0 or grpc_port is None:
        grpc_port = _get_random_free_port()
    grpc_url = f"{grpc_host}:{grpc_port}"

    try:
        with grpcclient.InferenceServerClient(grpc_url) as client:
            if client.is_server_ready():
                raise RuntimeError(f"Another tritonserver is already running on {grpc_url}")
    except tritonclient.utils.InferenceServerException:
        pass

    cmdline = [
        TRITON_SERVER_PATH,
        "--model-repository",
        model_repository,
        f"--backend-config={backend_config}",
        f"--grpc-port={grpc_port}",
        f"--grpc-address={grpc_host}",
    ]
    env = os.environ.copy()
    env["CUDA_VISIBLE_DEVICES"] = "0"
    with subprocess.Popen(cmdline, env=env) as process:
        try:
            with grpcclient.InferenceServerClient(grpc_url) as client:
                # wait until server is ready
                time_ranges = [60, 120, 300]
                for seconds in time_ranges:
                    for _ in range(seconds):
                        if process.poll() is not None:
                            retcode = process.returncode
                          raise RuntimeError(f"Tritonserver failed to start (ret={retcode})")

E RuntimeError: Tritonserver failed to start (ret=1)

merlin/systems/triton/utils.py:81: RuntimeError
----------------------------- Captured stderr call -----------------------------
I1122 19:55:44.374209 19662 pinned_memory_manager.cc:240] Pinned memory pool is created at '0x7f9544000000' with size 268435456
I1122 19:55:44.374998 19662 cuda_memory_manager.cc:105] CUDA memory pool is created on device 0 with size 67108864
I1122 19:55:44.380049 19662 model_lifecycle.cc:459] loading: 1_transformworkflow:1
I1122 19:55:44.380091 19662 model_lifecycle.cc:459] loading: 2_predicttensorflowtriton:1
I1122 19:55:44.380121 19662 model_lifecycle.cc:459] loading: 0_transformworkflow:1
1122 19:55:47.218742 19701 pb_stub.cc:241] Failed to initialize Python stub for auto-complete: CUDARuntimeError: cudaErrorInitializationError: initialization error

At:
/usr/local/lib/python3.8/dist-packages/rmm/_cuda/gpu.py(101): getDeviceCount
/usr/local/lib/python3.8/dist-packages/cudf/utils/gpu_utils.py(55): validate_setup
/usr/local/lib/python3.8/dist-packages/cudf/init.py(5):
(219): _call_with_frames_removed
(848): exec_module
(686): _load_unlocked
(975): _find_and_load_unlocked
(991): _find_and_load
/var/jenkins_home/workspace/merlin_systems/systems/.tox/test-gpu/lib/python3.8/site-packages/merlin/core/dispatch.py(51):
(219): _call_with_frames_removed
(848): exec_module
(686): _load_unlocked
(975): _find_and_load_unlocked
(991): _find_and_load
/var/jenkins_home/workspace/merlin_systems/systems/.tox/test-gpu/lib/python3.8/site-packages/merlin/io/dataset.py(33):
(219): _call_with_frames_removed
(848): exec_module
(686): _load_unlocked
(975): _find_and_load_unlocked
(991): _find_and_load
(219): _call_with_frames_removed
(1043): _handle_fromlist
/var/jenkins_home/workspace/merlin_systems/systems/.tox/test-gpu/lib/python3.8/site-packages/merlin/io/init.py(18):
(219): _call_with_frames_removed
(848): exec_module
(686): _load_unlocked
(975): _find_and_load_unlocked
(991): _find_and_load
(219): _call_with_frames_removed
(1043): _handle_fromlist
/var/jenkins_home/.local/lib/python3.8/site-packages/nvtabular/init.py(20):
(219): _call_with_frames_removed
(848): exec_module
(686): _load_unlocked
(975): _find_and_load_unlocked
(991): _find_and_load
/tmp/pytest-of-jenkins/pytest-38/test_workflow_tf_e2e_multi_op_0/1_transformworkflow/1/model.py(32):
(219): _call_with_frames_removed
(848): exec_module
(686): _load_unlocked
(975): _find_and_load_unlocked
(991): _find_and_load

E1122 19:55:47.245164 19662 model_lifecycle.cc:596] failed to load '1_transformworkflow' version 1: Internal: CUDARuntimeError: cudaErrorInitializationError: initialization error

At:
/usr/local/lib/python3.8/dist-packages/rmm/_cuda/gpu.py(101): getDeviceCount
/usr/local/lib/python3.8/dist-packages/cudf/utils/gpu_utils.py(55): validate_setup
/usr/local/lib/python3.8/dist-packages/cudf/init.py(5):
(219): _call_with_frames_removed
(848): exec_module
(686): _load_unlocked
(975): _find_and_load_unlocked
(991): _find_and_load
/var/jenkins_home/workspace/merlin_systems/systems/.tox/test-gpu/lib/python3.8/site-packages/merlin/core/dispatch.py(51):
(219): _call_with_frames_removed
(848): exec_module
(686): _load_unlocked
(975): _find_and_load_unlocked
(991): _find_and_load
/var/jenkins_home/workspace/merlin_systems/systems/.tox/test-gpu/lib/python3.8/site-packages/merlin/io/dataset.py(33):
(219): _call_with_frames_removed
(848): exec_module
(686): _load_unlocked
(975): _find_and_load_unlocked
(991): _find_and_load
(219): _call_with_frames_removed
(1043): _handle_fromlist
/var/jenkins_home/workspace/merlin_systems/systems/.tox/test-gpu/lib/python3.8/site-packages/merlin/io/init.py(18):
(219): _call_with_frames_removed
(848): exec_module
(686): _load_unlocked
(975): _find_and_load_unlocked
(991): _find_and_load
(219): _call_with_frames_removed
(1043): _handle_fromlist
/var/jenkins_home/.local/lib/python3.8/site-packages/nvtabular/init.py(20):
(219): _call_with_frames_removed
(848): exec_module
(686): _load_unlocked
(975): _find_and_load_unlocked
(991): _find_and_load
/tmp/pytest-of-jenkins/pytest-38/test_workflow_tf_e2e_multi_op_0/1_transformworkflow/1/model.py(32):
(219): _call_with_frames_removed
(848): exec_module
(686): _load_unlocked
(975): _find_and_load_unlocked
(991): _find_and_load

I1122 19:55:47.517461 19662 tensorflow.cc:2536] TRITONBACKEND_Initialize: tensorflow
I1122 19:55:47.517497 19662 tensorflow.cc:2546] Triton TRITONBACKEND API version: 1.10
I1122 19:55:47.517504 19662 tensorflow.cc:2552] 'tensorflow' TRITONBACKEND API version: 1.10
I1122 19:55:47.517510 19662 tensorflow.cc:2576] backend configuration:
{"cmdline":{"auto-complete-config":"true","backend-directory":"/opt/tritonserver/backends","min-compute-capability":"6.000000","version":"2","default-max-batch-size":"4"}}
I1122 19:55:47.517557 19662 tensorflow.cc:2642] TRITONBACKEND_ModelInitialize: 2_predicttensorflowtriton (version 1)
2022-11-22 19:55:47.517950: I tensorflow/cc/saved_model/reader.cc:43] Reading SavedModel from: /tmp/pytest-of-jenkins/pytest-38/test_workflow_tf_e2e_multi_op_0/2_predicttensorflowtriton/1/model.savedmodel
2022-11-22 19:55:47.519752: I tensorflow/cc/saved_model/reader.cc:81] Reading meta graph with tags { serve }
2022-11-22 19:55:47.519779: I tensorflow/cc/saved_model/reader.cc:122] Reading SavedModel debug info (if present) from: /tmp/pytest-of-jenkins/pytest-38/test_workflow_tf_e2e_multi_op_0/2_predicttensorflowtriton/1/model.savedmodel
2022-11-22 19:55:47.519871: I tensorflow/core/platform/cpu_feature_guard.cc:194] This TensorFlow binary is optimized with oneAPI Deep Neural Network Library (oneDNN) to use the following CPU instructions in performance-critical operations: SSE3 SSE4.1 SSE4.2 AVX
To enable them in other operations, rebuild TensorFlow with the appropriate compiler flags.
2022-11-22 19:55:47.564238: I tensorflow/core/common_runtime/gpu/gpu_process_state.cc:222] Using CUDA malloc Async allocator for GPU: 0
2022-11-22 19:55:47.564352: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1532] Created device /job:localhost/replica:0/task:0/device:GPU:0 with 5 MB memory: -> device: 0, name: Tesla P100-DGXS-16GB, pci bus id: 0000:07:00.0, compute capability: 6.0
2022-11-22 19:55:47.597462: I tensorflow/compiler/mlir/mlir_graph_optimization_pass.cc:354] MLIR V1 optimization pass is not enabled
2022-11-22 19:55:47.598584: I tensorflow/cc/saved_model/loader.cc:230] Restoring SavedModel bundle.
2022-11-22 19:55:47.629876: I tensorflow/cc/saved_model/loader.cc:214] Running initialization op on SavedModel bundle at path: /tmp/pytest-of-jenkins/pytest-38/test_workflow_tf_e2e_multi_op_0/2_predicttensorflowtriton/1/model.savedmodel
2022-11-22 19:55:47.642448: I tensorflow/cc/saved_model/loader.cc:321] SavedModel load for tags { serve }; Status: success: OK. Took 124508 microseconds.
/usr/lib/python3/dist-packages/requests/init.py:89: RequestsDependencyWarning: urllib3 (1.26.12) or chardet (3.0.4) doesn't match a supported version!
warnings.warn("urllib3 ({}) or chardet ({}) doesn't match a supported "
I1122 19:55:55.483073 19662 tensorflow.cc:2691] TRITONBACKEND_ModelInstanceInitialize: 2_predicttensorflowtriton (GPU device 0)
2022-11-22 19:55:55.863705: I tensorflow/cc/saved_model/reader.cc:43] Reading SavedModel from: /tmp/pytest-of-jenkins/pytest-38/test_workflow_tf_e2e_multi_op_0/2_predicttensorflowtriton/1/model.savedmodel
2022-11-22 19:55:55.865137: I tensorflow/cc/saved_model/reader.cc:81] Reading meta graph with tags { serve }
2022-11-22 19:55:55.865165: I tensorflow/cc/saved_model/reader.cc:122] Reading SavedModel debug info (if present) from: /tmp/pytest-of-jenkins/pytest-38/test_workflow_tf_e2e_multi_op_0/2_predicttensorflowtriton/1/model.savedmodel
2022-11-22 19:55:55.867080: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1532] Created device /job:localhost/replica:0/task:0/device:GPU:0 with 5 MB memory: -> device: 0, name: Tesla P100-DGXS-16GB, pci bus id: 0000:07:00.0, compute capability: 6.0
2022-11-22 19:55:55.871354: I tensorflow/cc/saved_model/loader.cc:230] Restoring SavedModel bundle.
2022-11-22 19:55:55.915759: I tensorflow/cc/saved_model/loader.cc:214] Running initialization op on SavedModel bundle at path: /tmp/pytest-of-jenkins/pytest-38/test_workflow_tf_e2e_multi_op_0/2_predicttensorflowtriton/1/model.savedmodel
2022-11-22 19:55:55.931053: I tensorflow/cc/saved_model/loader.cc:321] SavedModel load for tags { serve }; Status: success: OK. Took 67358 microseconds.
I1122 19:55:55.931162 19662 python_be.cc:1767] TRITONBACKEND_ModelInstanceInitialize: 0_transformworkflow (GPU device 0)
I1122 19:55:55.931395 19662 model_lifecycle.cc:693] successfully loaded '2_predicttensorflowtriton' version 1
I1122 19:56:02.089969 19662 model_lifecycle.cc:693] successfully loaded '0_transformworkflow' version 1
E1122 19:56:02.090121 19662 model_repository_manager.cc:481] Invalid argument: ensemble 'ensemble_model' depends on '1_transformworkflow' which has no loaded version
I1122 19:56:02.090251 19662 server.cc:561]
+------------------+------+
| Repository Agent | Path |
+------------------+------+
+------------------+------+

I1122 19:56:02.090372 19662 server.cc:588]
+------------+-----------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| Backend | Path | Config |
+------------+-----------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| python | /opt/tritonserver/backends/python/libtriton_python.so | {"cmdline":{"auto-complete-config":"true","min-compute-capability":"6.000000","backend-directory":"/opt/tritonserver/backends","default-max-batch-size":"4"}} |
| tensorflow | /opt/tritonserver/backends/tensorflow2/libtriton_tensorflow2.so | {"cmdline":{"auto-complete-config":"true","backend-directory":"/opt/tritonserver/backends","min-compute-capability":"6.000000","version":"2","default-max-batch-size":"4"}} |
+------------+-----------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------+

I1122 19:56:02.090668 19662 server.cc:631]
+---------------------------+---------+--------------------------------------------------------------------------------------------------------------------------------------+
| Model | Version | Status |
+---------------------------+---------+--------------------------------------------------------------------------------------------------------------------------------------+
| 0_transformworkflow | 1 | READY |
| 1_transformworkflow | 1 | UNAVAILABLE: Internal: CUDARuntimeError: cudaErrorInitializationError: initialization error |
| | | |
| | | At: |
| | | /usr/local/lib/python3.8/dist-packages/rmm/_cuda/gpu.py(101): getDeviceCount |
| | | /usr/local/lib/python3.8/dist-packages/cudf/utils/gpu_utils.py(55): validate_setup |
| | | /usr/local/lib/python3.8/dist-packages/cudf/init.py(5): |
| | | (219): _call_with_frames_removed |
| | | (848): exec_module |
| | | (686): _load_unlocked |
| | | (975): _find_and_load_unlocked |
| | | (991): _find_and_load |
| | | /var/jenkins_home/workspace/merlin_systems/systems/.tox/test-gpu/lib/python3.8/site-packages/merlin/core/dispatch.py(51): |
| | | (219): _call_with_frames_removed |
| | | (848): exec_module |
| | | (686): _load_unlocked |
| | | (975): _find_and_load_unlocked |
| | | (991): _find_and_load |
| | | /var/jenkins_home/workspace/merlin_systems/systems/.tox/test-gpu/lib/python3.8/site-packages/merlin/io/dataset.py(33): |
| | | (219): _call_with_frames_removed |
| | | (848): exec_module |
| | | (686): _load_unlocked |
| | | (975): _find_and_load_unlocked |
| | | (991): _find_and_load |
| | | (219): _call_with_frames_removed |
| | | (1043): _handle_fromlist |
| | | /var/jenkins_home/workspace/merlin_systems/systems/.tox/test-gpu/lib/python3.8/site-packages/merlin/io/init.py(18): |
| | | (219): _call_with_frames_removed |
| | | (848): exec_module |
| | | (686): _load_unlocked |
| | | (975): _find_and_load_unlocked |
| | | (991): _find_and_load |
| | | (219): _call_with_frames_removed |
| | | (1043): _handle_fromlist |
| | | /var/jenkins_home/.local/lib/python3.8/site-packages/nvtabular/init.py(20): |
| | | (219): _call_with_frames_removed |
| | | (848): exec_module |
| | | (686): _load_unlocked |
| | | (975): _find_and_load_unlocked |
| | | (991): _find_and_load |
| | | /tmp/pytest-of-jenkins/pytest-38/test_workflow_tf_e2e_multi_op_0/1_transformworkflow/1/model.py(32): |
| | | (219): _call_with_frames_removed |
| | | (848): exec_module |
| | | (686): _load_unlocked |
| | | (975): _find_and_load_unlocked |
| | | (991): _find_and_load |
| 2_predicttensorflowtriton | 1 | READY |
+---------------------------+---------+--------------------------------------------------------------------------------------------------------------------------------------+

I1122 19:56:02.154106 19662 metrics.cc:650] Collecting metrics for GPU 0: Tesla P100-DGXS-16GB
I1122 19:56:02.155027 19662 tritonserver.cc:2214]
+----------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| Option | Value |
+----------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| server_id | triton |
| server_version | 2.25.0 |
| server_extensions | classification sequence model_repository model_repository(unload_dependents) schedule_policy model_configuration system_shared_memory cuda_shared_memory binary_tensor_data statistics trace |
| model_repository_path[0] | /tmp/pytest-of-jenkins/pytest-38/test_workflow_tf_e2e_multi_op_0 |
| model_control_mode | MODE_NONE |
| strict_model_config | 0 |
| rate_limit | OFF |
| pinned_memory_pool_byte_size | 268435456 |
| cuda_memory_pool_byte_size{0} | 67108864 |
| response_cache_byte_size | 0 |
| min_supported_compute_capability | 6.0 |
| strict_readiness | 1 |
| exit_timeout | 30 |
+----------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+

I1122 19:56:02.155063 19662 server.cc:262] Waiting for in-flight requests to complete.
I1122 19:56:02.155074 19662 server.cc:278] Timeout 30: Found 0 model versions that have in-flight inferences
I1122 19:56:02.155139 19662 server.cc:293] All models are stopped, unloading models
I1122 19:56:02.155148 19662 server.cc:300] Timeout 30: Found 2 live models and 0 in-flight non-inference requests
I1122 19:56:02.155311 19662 tensorflow.cc:2729] TRITONBACKEND_ModelInstanceFinalize: delete instance state
I1122 19:56:02.155774 19662 tensorflow.cc:2668] TRITONBACKEND_ModelFinalize: delete model state
I1122 19:56:02.164127 19662 model_lifecycle.cc:578] successfully unloaded '2_predicttensorflowtriton' version 1
I1122 19:56:03.155232 19662 server.cc:300] Timeout 29: Found 1 live models and 0 in-flight non-inference requests
W1122 19:56:03.177241 19662 metrics.cc:468] Unable to get energy consumption for GPU 0. Status:Success, value:0
/usr/lib/python3/dist-packages/requests/init.py:89: RequestsDependencyWarning: urllib3 (1.26.12) or chardet (3.0.4) doesn't match a supported version!
warnings.warn("urllib3 ({}) or chardet ({}) doesn't match a supported "
I1122 19:56:04.099710 19662 model_lifecycle.cc:578] successfully unloaded '0_transformworkflow' version 1
I1122 19:56:04.155361 19662 server.cc:300] Timeout 28: Found 0 live models and 0 in-flight non-inference requests
error: creating server: Internal - failed to load all models
W1122 19:56:04.177444 19662 metrics.cc:468] Unable to get energy consumption for GPU 0. Status:Success, value:0
------------------------------ Captured log call -------------------------------
WARNING absl:signature_serialization.py:146 Function _wrapped_model contains input name(s) name-cat, name-string with unsupported characters which will be renamed to name_cat, name_string in the SavedModel.
WARNING absl:save.py:133 DenseFeatures(
(feature_columns): List(
(0): EmbeddingColumn(categorical_column=IdentityCategoricalColumn(key='name-cat', number_buckets=27, default_value=None), dimension=16, combiner='mean', initializer=<tensorflow.python.ops.init_ops.TruncatedNormal object at 0x7f7f3c12a820>, ckpt_to_load_from=None, tensor_name_in_ckpt=None, max_norm=None, trainable=True, use_safe_embedding_lookup=True)
(1): EmbeddingColumn(categorical_column=IdentityCategoricalColumn(key='name-string', number_buckets=27, default_value=None), dimension=16, combiner='mean', initializer=<tensorflow.python.ops.init_ops.TruncatedNormal object at 0x7f7f3c14db80>, ckpt_to_load_from=None, tensor_name_in_ckpt=None, max_norm=None, trainable=True, use_safe_embedding_lookup=True)
)
(embedding_tables): Dict(
(name-cat): <tf.Variable 'dense_features_1/name-cat/embedding_weights:0' shape=(27, 16) dtype=float32, numpy=
array([[-3.77501428e-01, -9.54855084e-02, -2.41261691e-01,
-8.45246017e-02, 8.67264867e-02, 1.02425702e-01,
-1.90329596e-01, 2.01643378e-01, 1.87453508e-01,
3.31835933e-02, 9.71238017e-02, -1.31912813e-01,
-3.92779410e-02, -2.72273600e-01, -2.26099283e-01,
-2.70702511e-01],
[-2.24664301e-01, 5.03130518e-02, 2.76329637e-01,
3.04575861e-01, -6.11550510e-02, 6.14674762e-03,
-1.48169920e-01, -3.37214619e-01, 4.52781558e-01,
-2.46039242e-01, -6.79820478e-02, -1.09361066e-02,
-1.25545368e-01, -3.68033260e-01, -3.21567923e-01,
4.07101139e-02],
[ 4.59726378e-02, 8.21201131e-02, -1.49104036e-02,
-5.57114519e-02, -9.09058675e-02, 1.71467051e-01,
2.60545164e-01, -3.74236479e-02, 1.62420690e-01,
-3.47127825e-01, -1.88263446e-01, 3.05452377e-01,
-1.38923256e-02, 2.02585533e-01, 2.19675168e-01,
5.65715181e-03],
[ 2.12423071e-01, -1.64763123e-01, -4.02399935e-02,
-1.36208534e-01, 1.65549517e-01, 1.22417763e-01,
-1.58047959e-01, -1.90742686e-01, 1.49523318e-01,
4.99434918e-02, 3.91145945e-01, 3.49741906e-01,
2.82192022e-01, 1.04246616e-01, -1.00144438e-01,
1.45552903e-01],
[-3.43173265e-01, -2.17292875e-01, -2.30432540e-01,
1.48819694e-02, -2.55809158e-01, 1.26449689e-01,
-6.75952435e-02, -3.14661235e-01, 9.42654759e-02,
2.94873118e-01, -1.98063776e-01, 1.08792774e-01,
-9.52955335e-02, -1.91565260e-01, -1.36537537e-01,
6.70930445e-02],
[ 1.06009528e-01, 2.44224161e-01, 1.75927386e-01,
-3.65918688e-02, -6.21402562e-02, -3.14870216e-02,
-1.43542374e-02, -3.74650508e-02, 1.06845349e-01,
-4.58398759e-01, 2.83869207e-01, -1.06154285e-01,
1.51218176e-01, 2.98301160e-01, 4.81194556e-01,
1.52869791e-01],
[ 2.47830093e-01, 2.39629924e-01, -1.53036430e-01,
4.79266495e-01, 5.41741587e-02, 3.93951684e-01,
2.47640878e-01, -2.24012837e-01, -4.37242448e-01,
-2.82790154e-01, 8.93360376e-02, -3.13378721e-01,
-2.52398103e-01, -7.02859135e-04, 2.15001166e-01,
9.80745852e-02],
[ 7.71419425e-03, -9.12110209e-02, 3.31340939e-01,
2.15766013e-01, -1.07587226e-01, 1.81869373e-01,
-1.97889403e-01, 2.65803754e-01, -2.04878449e-01,
-6.41633421e-02, 1.34465158e-01, 3.48572657e-02,
1.91712305e-01, -1.85595602e-01, -2.46998761e-02,
3.43038291e-01],
[-1.28528699e-01, 3.13408583e-01, -2.82849848e-01,
-6.48359880e-02, 2.65781432e-01, 1.61165074e-01,
1.24430126e-02, 3.38457108e-01, 4.92092781e-03,
1.02983370e-01, -4.61769104e-02, 1.69013500e-01,
2.58065164e-01, -1.70968190e-01, 1.51863903e-01,
1.28524795e-01],
[-8.99735838e-03, 3.68928164e-02, 1.58768609e-01,
3.54152113e-01, 7.45041892e-02, 1.23357080e-01,
2.95300692e-01, 1.64833874e-01, -1.60764635e-01,
6.37167916e-02, -2.18925893e-01, 1.69154763e-01,
-4.85110164e-01, -1.59502208e-01, -1.83220103e-01,
-7.91862980e-03],
[ 2.58837104e-01, -7.89926015e-03, -2.11611062e-01,
2.26146542e-02, -3.27784419e-02, -3.50160617e-03,
5.38160615e-02, 2.84289002e-01, 3.92250270e-01,
2.63742805e-01, -7.63152540e-02, -1.82944357e-01,
3.73157784e-02, 2.18661666e-01, 6.19701631e-02,
1.70087129e-01],
[ 4.23010476e-02, 1.97727233e-02, -9.16453451e-03,
-1.90246642e-01, 3.87210995e-01, -3.07623774e-01,
-1.63274959e-01, -1.10781878e-01, -1.87750459e-01,
1.88652664e-01, 2.13477850e-01, -5.59115596e-02,
-1.28292650e-01, 1.88721120e-01, 1.52623877e-01,
-3.65049928e-01],
[ 2.41887257e-01, 1.66424289e-01, 4.18123007e-01,
-1.02807336e-01, 1.93274632e-01, 1.34035721e-01,
-1.71097413e-01, 7.50255361e-02, -5.91189265e-02,
4.83746380e-02, 4.44793049e-03, -3.33053380e-01,
-5.06231673e-02, 2.30375037e-01, -4.46144454e-02,
-1.16999626e-01],
[-3.66097748e-01, -3.65169913e-01, -6.57981038e-02,
-1.43100426e-01, 3.16027761e-01, -1.47440493e-01,
-3.74176390e-02, 3.68112624e-02, 4.24447775e-01,
2.70107165e-02, 1.54196039e-01, 2.64194220e-01,
7.51269832e-02, -2.29114383e-01, -6.62003383e-02,
-1.03781037e-01],
[ 5.42032300e-03, -7.10195005e-02, -2.64733732e-02,
2.56545305e-01, 1.89645782e-01, 1.12617664e-01,
2.40243316e-01, 2.63070136e-01, -2.47817993e-01,
-2.86872208e-01, 1.05379842e-01, -2.13889211e-01,
-4.08319160e-02, 8.53596628e-02, -3.35572988e-01,
-1.55148581e-01],
[ 3.99156958e-01, 6.97359294e-02, 9.90320966e-02,
7.61580393e-02, -9.22203436e-02, -2.93972492e-01,
1.24248385e-01, 2.88694590e-01, -3.72151397e-02,
2.98556596e-01, 3.19469631e-01, 4.75104719e-01,
3.87618661e-01, -1.35054916e-01, -2.73720305e-02,
-2.86270201e-01],
[ 2.46775478e-01, 2.03891277e-01, 8.88683796e-02,
4.83976863e-02, 4.60118577e-02, -2.31977273e-03,
-1.41716018e-01, -2.44088799e-01, -1.67381421e-01,
-1.30131632e-01, 2.85333991e-01, 2.61967748e-01,
-2.71322697e-01, 3.82329404e-01, -2.65416473e-01,
4.54669714e-01],
[ 8.15527588e-02, -1.32573292e-01, 2.40168333e-01,
-6.41839802e-02, 1.96929917e-01, 3.61303650e-02,
-1.67217225e-01, 2.65973452e-02, 1.37260377e-01,
-1.01671629e-01, 1.34970648e-02, -1.08296856e-01,
2.33737364e-01, 1.84317231e-02, 3.24987203e-01,
1.51922271e-01],
[ 1.65644184e-01, 5.08098677e-02, -4.26495783e-02,
-1.57113567e-01, -4.11197506e-02, 1.36332497e-01,
-3.13900173e-01, -2.55045027e-01, 2.14428678e-02,
-3.04681540e-01, -3.30953416e-03, 1.26442119e-01,
-1.44156367e-01, -1.06252335e-01, 2.72636861e-01,
7.24487975e-02],
[ 2.39266828e-01, 1.30191101e-02, -3.70216191e-01,
-2.92472154e-01, -2.95140028e-01, 1.51769087e-01,
-3.13002244e-02, -1.15589105e-01, 1.89551666e-01,
4.65706624e-02, -2.81483084e-01, 5.57390973e-02,
-2.35554144e-01, 2.96403676e-01, 1.19521596e-01,
1.47996262e-01],
[ 1.78867597e-02, -8.15154389e-02, -1.81785271e-01,
-3.24993968e-01, 7.03967065e-02, -3.13364062e-03,
-1.10104173e-01, 1.01688214e-01, -4.43912484e-02,
-9.05098021e-03, -2.62032092e-01, 1.10658780e-01,
1.62887052e-01, 1.03763655e-01, 2.90300339e-01,
1.49845913e-01],
[ 9.64065343e-02, -6.20724037e-02, 1.54865384e-01,
2.24583298e-02, 3.99926364e-01, -2.18147822e-02,
-3.56588185e-01, -2.39332601e-01, 9.34322998e-02,
-2.07759306e-01, -1.59444913e-01, -1.63912848e-01,
3.84139456e-02, -6.79585040e-02, 1.30872786e-01,
2.52733678e-01],
[-3.05445373e-01, -1.91506729e-01, 1.30250320e-01,
-2.13494256e-01, -4.19747770e-01, 1.80791542e-01,
5.41216247e-02, 1.00167036e-01, -1.06686376e-01,
-3.80337864e-01, -1.10917002e-01, -1.26658067e-01,
-2.85020024e-01, -1.92052349e-01, 4.44018990e-02,
2.39842638e-01],
[ 3.26872379e-01, -1.79430723e-01, -2.26902515e-01,
-1.74495563e-01, -4.09820937e-02, 4.34319556e-01,
1.39809579e-01, -1.87393707e-05, -3.41375023e-01,
-2.51564711e-01, -1.64161280e-01, -4.53453287e-02,
2.38957931e-03, -3.54983360e-01, -3.22825670e-01,
-6.52001053e-02],
[-1.90745607e-01, 3.47389787e-01, -3.76985967e-01,
3.27329278e-01, -2.00311154e-01, -5.68819270e-02,
-5.83075844e-02, 8.12175348e-02, 7.80360773e-02,
-4.06582594e-01, -3.71355742e-01, 1.30970120e-01,
1.10327326e-01, -3.90401512e-01, -1.82321027e-01,
5.62506430e-02],
[-3.63113552e-01, -7.00277165e-02, -4.85141754e-01,
-3.03754419e-01, 1.23506799e-01, -7.73082674e-02,
-7.29039684e-02, 1.09055802e-01, -9.89593472e-03,
-7.42568225e-02, -1.37359127e-01, 4.25369084e-01,
-3.46194863e-01, 7.28198439e-02, -1.62500829e-01,
-3.25311422e-01],
[-2.56485343e-02, 2.20258847e-01, 1.22072063e-01,
-3.00496310e-01, -2.30850443e-01, 3.40187252e-01,
-2.88252026e-01, 4.85323630e-02, -1.01752833e-01,
7.79930279e-02, 4.34690386e-01, -1.11082017e-01,
-3.64414930e-01, 2.09280908e-01, 4.32869047e-01,
-3.16261858e-01]], dtype=float32)>
(name-string): <tf.Variable 'dense_features_1/name-string/embedding_weights:0' shape=(27, 16) dtype=float32, numpy=
array([[-0.16655505, 0.0220273 , 0.10507032, 0.2795101 , 0.11212326,
0.00647757, -0.15854293, -0.42750597, 0.16929911, 0.26844692,
-0.20704176, 0.22449274, -0.01555648, -0.09788246, -0.00172869,
0.03929982],
[-0.17147884, -0.12913737, 0.03723462, -0.15161507, -0.02230866,
0.25272024, -0.01379442, -0.08404597, 0.42253777, 0.15478767,
0.14811613, 0.09064329, -0.09614979, 0.2401409 , -0.12466596,
-0.29627118],
[-0.15957251, 0.03846172, -0.10382164, 0.05185838, -0.13768218,
0.0701126 , -0.2276168 , 0.26710096, -0.21471792, -0.18316673,
0.07602646, -0.4085638 , 0.19794534, 0.02756763, -0.05447819,
0.12864386],
[ 0.03797594, 0.02413692, 0.14379698, 0.20240007, 0.04102696,
-0.37630647, 0.45350593, -0.2204165 , 0.37462994, 0.11636317,
0.15346327, -0.44147468, 0.06561678, 0.2101623 , 0.05610488,
-0.1031101 ],
[ 0.18175957, -0.0679792 , -0.18397655, -0.00591412, -0.28716153,
0.12419684, -0.07744922, 0.06508087, 0.03339278, 0.09264041,
-0.25605032, -0.01880104, 0.0821023 , -0.19451322, -0.39422747,
-0.11406337],
[ 0.27665266, 0.24180235, 0.01436376, -0.00700697, 0.32688546,
0.02435182, -0.09988961, -0.02900539, 0.23103087, 0.00055789,
-0.4501073 , 0.14380507, -0.4124536 , 0.45772186, -0.36191428,
0.19354963],
[-0.19559926, 0.24748206, -0.04286401, -0.18348604, -0.22767623,
-0.10448276, -0.28930172, -0.19620447, -0.2947513 , -0.01999901,
0.06769626, 0.16925927, 0.24069417, -0.03564906, -0.04878148,
0.13218044],
[-0.4585407 , 0.03068413, -0.23276615, -0.260578 , 0.06943597,
-0.17421271, -0.01021229, 0.00837074, -0.05536612, 0.21090454,
0.01231997, -0.11118193, -0.23118633, -0.43160588, -0.03242 ,
0.15444995],
[-0.16443257, -0.079183 , -0.0342812 , -0.2013627 , 0.12695347,
0.22764602, 0.27149424, -0.10954576, 0.29533637, 0.07975703,
0.12320958, 0.29004845, 0.3533847 , -0.27704704, 0.18195477,
-0.4557188 ],
[-0.1674556 , -0.12356379, 0.08364784, 0.31898856, 0.23140322,
0.37118196, -0.09561343, -0.28466418, -0.04377756, -0.00786608,
-0.11101556, 0.13057406, -0.3767613 , 0.3902883 , 0.08728686,
-0.10929369],
[ 0.15856238, -0.35579953, -0.07505523, -0.00109626, -0.14263995,
0.17888004, 0.22145301, 0.09802666, 0.13083035, -0.28809854,
-0.02191272, -0.42727396, -0.2694249 , -0.05715572, -0.10028441,
-0.07054891],
[-0.12640247, 0.25380042, -0.03718787, -0.19026485, 0.00737722,
0.05312306, -0.08293057, -0.07573098, 0.32271445, 0.4661466 ,
-0.21598502, 0.13578896, -0.24819574, 0.16675298, 0.0302654 ,
-0.23328325],
[ 0.1336068 , -0.20669791, 0.13934325, -0.21059312, -0.02267539,
-0.04256253, -0.09697508, 0.08093129, 0.23622689, 0.17878312,
0.08222689, 0.14349729, 0.25022423, -0.0545607 , -0.09180389,
0.36658543],
[ 0.18649381, 0.08608565, -0.14458215, 0.26229995, 0.4493626 ,
-0.10569775, -0.32439768, -0.12893464, 0.13910955, -0.09258537,
0.3899728 , -0.39187017, -0.34042323, -0.285192 , 0.15973765,
-0.34300455],
[ 0.14824164, 0.04699523, 0.29773152, 0.09278584, -0.12746118,
0.10214116, 0.02121378, -0.01268488, -0.31525996, -0.23414372,
-0.25228527, 0.22862376, -0.10918193, 0.18811189, -0.18079738,
-0.18077137],
[-0.23982257, -0.44162503, 0.1224831 , 0.04381812, -0.02061542,
0.02525619, -0.0326185 , 0.12018353, -0.04448223, 0.32939324,
-0.18677945, 0.41559133, 0.0235877 , -0.3297709 , 0.09294275,
-0.06441677],
[-0.18705174, -0.00160239, -0.06314939, 0.29751858, -0.14194474,
0.07072537, 0.29172167, -0.2752707 , -0.17801675, -0.2963443 ,
-0.15860607, 0.28230867, 0.10027854, 0.06605705, 0.1626352 ,
0.01093737],
[ 0.02470791, -0.08928564, -0.06476641, 0.11401906, -0.23684765,
0.08875558, -0.13945204, 0.02501976, 0.27697703, 0.09558296,
-0.22711556, 0.30566737, 0.16622679, 0.19225712, -0.31946748,
0.04909071],
[ 0.02123739, -0.29456872, 0.32059014, -0.15681742, -0.05540639,
0.01629311, -0.05495876, 0.03099436, 0.04702885, -0.188692 ,
0.08507324, -0.1901533 , 0.00556234, -0.26522222, 0.2580458 ,
-0.28908905],
[ 0.02105448, 0.13634063, -0.18301651, 0.24717627, -0.02214478,
-0.17646642, 0.0396325 , -0.46400493, -0.14801696, -0.27991918,
0.4551092 , -0.28545025, 0.09803084, -0.25687277, 0.10056881,
-0.00434812],
[-0.16712092, 0.24643254, 0.24326962, 0.34336197, 0.14337341,
-0.03934423, 0.20359385, -0.04770355, 0.25843427, -0.3143433 ,
0.10174811, -0.217683 , -0.10269889, -0.00260153, 0.22183666,
0.10425379],
[-0.23934785, -0.15006168, 0.03823191, -0.01365305, 0.32384792,
-0.21673372, 0.24398935, -0.18924503, -0.33108172, 0.02359958,
0.35242435, -0.31449497, 0.21752216, -0.06558149, 0.19352983,
-0.21832456],
[-0.12613803, 0.26436162, 0.02868045, -0.2811343 , -0.02009317,
-0.10971587, -0.2856533 , -0.28828818, 0.01062683, -0.26586622,
-0.32401633, 0.3082613 , -0.19240957, -0.24062642, -0.09291081,
-0.33098385],
[ 0.43685466, -0.01154831, 0.4472721 , -0.18077038, -0.30585277,
0.15733153, 0.08751522, -0.17419778, -0.20180096, -0.1806643 ,
-0.19862828, 0.14752851, -0.00934334, 0.1791494 , 0.29174018,
0.26793554],
[ 0.09278148, 0.09778924, 0.09868739, 0.29211083, -0.03145853,
0.19325194, -0.11726087, -0.24657606, 0.24053417, 0.0304039 ,
-0.02897684, 0.0364177 , -0.1980182 , -0.33269632, 0.03233463,
0.1874609 ],
[ 0.00588147, -0.02040603, -0.02614497, 0.44510362, 0.1408595 ,
0.1543271 , -0.13079673, -0.36811903, -0.11762567, -0.35530296,
0.28904656, -0.062836 , 0.37425387, 0.22357027, -0.21471304,
-0.24526833],
[ 0.4164751 , 0.12276013, -0.34747043, -0.23324332, -0.35519648,
-0.23483571, 0.01922001, -0.19187115, -0.07070775, 0.05592002,
0.14732909, 0.45050433, 0.19607866, 0.09995228, 0.05756678,
-0.14572935]], dtype=float32)>
)
(name-cat/embedding_weights): <tf.Variable 'dense_features_1/name-cat/embedding_weights:0' shape=(27, 16) dtype=float32, numpy=
array([[-3.77501428e-01, -9.54855084e-02, -2.41261691e-01,
-8.45246017e-02, 8.67264867e-02, 1.02425702e-01,
-1.90329596e-01, 2.01643378e-01, 1.87453508e-01,
3.31835933e-02, 9.71238017e-02, -1.31912813e-01,
-3.92779410e-02, -2.72273600e-01, -2.26099283e-01,
-2.70702511e-01],
[-2.24664301e-01, 5.03130518e-02, 2.76329637e-01,
3.04575861e-01, -6.11550510e-02, 6.14674762e-03,
-1.48169920e-01, -3.37214619e-01, 4.52781558e-01,
-2.46039242e-01, -6.79820478e-02, -1.09361066e-02,
-1.25545368e-01, -3.68033260e-01, -3.21567923e-01,
4.07101139e-02],
[ 4.59726378e-02, 8.21201131e-02, -1.49104036e-02,
-5.57114519e-02, -9.09058675e-02, 1.71467051e-01,
2.60545164e-01, -3.74236479e-02, 1.62420690e-01,
-3.47127825e-01, -1.88263446e-01, 3.05452377e-01,
-1.38923256e-02, 2.02585533e-01, 2.19675168e-01,
5.65715181e-03],
[ 2.12423071e-01, -1.64763123e-01, -4.02399935e-02,
-1.36208534e-01, 1.65549517e-01, 1.22417763e-01,
-1.58047959e-01, -1.90742686e-01, 1.49523318e-01,
4.99434918e-02, 3.91145945e-01, 3.49741906e-01,
2.82192022e-01, 1.04246616e-01, -1.00144438e-01,
1.45552903e-01],
[-3.43173265e-01, -2.17292875e-01, -2.30432540e-01,
1.48819694e-02, -2.55809158e-01, 1.26449689e-01,
-6.75952435e-02, -3.14661235e-01, 9.42654759e-02,
2.94873118e-01, -1.98063776e-01, 1.08792774e-01,
-9.52955335e-02, -1.91565260e-01, -1.36537537e-01,
6.70930445e-02],
[ 1.06009528e-01, 2.44224161e-01, 1.75927386e-01,
-3.65918688e-02, -6.21402562e-02, -3.14870216e-02,
-1.43542374e-02, -3.74650508e-02, 1.06845349e-01,
-4.58398759e-01, 2.83869207e-01, -1.06154285e-01,
1.51218176e-01, 2.98301160e-01, 4.81194556e-01,
1.52869791e-01],
[ 2.47830093e-01, 2.39629924e-01, -1.53036430e-01,
4.79266495e-01, 5.41741587e-02, 3.93951684e-01,
2.47640878e-01, -2.24012837e-01, -4.37242448e-01,
-2.82790154e-01, 8.93360376e-02, -3.13378721e-01,
-2.52398103e-01, -7.02859135e-04, 2.15001166e-01,
9.80745852e-02],
[ 7.71419425e-03, -9.12110209e-02, 3.31340939e-01,
2.15766013e-01, -1.07587226e-01, 1.81869373e-01,
-1.97889403e-01, 2.65803754e-01, -2.04878449e-01,
-6.41633421e-02, 1.34465158e-01, 3.48572657e-02,
1.91712305e-01, -1.85595602e-01, -2.46998761e-02,
3.43038291e-01],
[-1.28528699e-01, 3.13408583e-01, -2.82849848e-01,
-6.48359880e-02, 2.65781432e-01, 1.61165074e-01,
1.24430126e-02, 3.38457108e-01, 4.92092781e-03,
1.02983370e-01, -4.61769104e-02, 1.69013500e-01,
2.58065164e-01, -1.70968190e-01, 1.51863903e-01,
1.28524795e-01],
[-8.99735838e-03, 3.68928164e-02, 1.58768609e-01,
3.54152113e-01, 7.45041892e-02, 1.23357080e-01,
2.95300692e-01, 1.64833874e-01, -1.60764635e-01,
6.37167916e-02, -2.18925893e-01, 1.69154763e-01,
-4.85110164e-01, -1.59502208e-01, -1.83220103e-01,
-7.91862980e-03],
[ 2.58837104e-01, -7.89926015e-03, -2.11611062e-01,
2.26146542e-02, -3.27784419e-02, -3.50160617e-03,
5.38160615e-02, 2.84289002e-01, 3.92250270e-01,
2.63742805e-01, -7.63152540e-02, -1.82944357e-01,
3.73157784e-02, 2.18661666e-01, 6.19701631e-02,
1.70087129e-01],
[ 4.23010476e-02, 1.97727233e-02, -9.16453451e-03,
-1.90246642e-01, 3.87210995e-01, -3.07623774e-01,
-1.63274959e-01, -1.10781878e-01, -1.87750459e-01,
1.88652664e-01, 2.13477850e-01, -5.59115596e-02,
-1.28292650e-01, 1.88721120e-01, 1.52623877e-01,
-3.65049928e-01],
[ 2.41887257e-01, 1.66424289e-01, 4.18123007e-01,
-1.02807336e-01, 1.93274632e-01, 1.34035721e-01,
-1.71097413e-01, 7.50255361e-02, -5.91189265e-02,
4.83746380e-02, 4.44793049e-03, -3.33053380e-01,
-5.06231673e-02, 2.30375037e-01, -4.46144454e-02,
-1.16999626e-01],
[-3.66097748e-01, -3.65169913e-01, -6.57981038e-02,
-1.43100426e-01, 3.16027761e-01, -1.47440493e-01,
-3.74176390e-02, 3.68112624e-02, 4.24447775e-01,
2.70107165e-02, 1.54196039e-01, 2.64194220e-01,
7.51269832e-02, -2.29114383e-01, -6.62003383e-02,
-1.03781037e-01],
[ 5.42032300e-03, -7.10195005e-02, -2.64733732e-02,
2.56545305e-01, 1.89645782e-01, 1.12617664e-01,
2.40243316e-01, 2.63070136e-01, -2.47817993e-01,
-2.86872208e-01, 1.05379842e-01, -2.13889211e-01,
-4.08319160e-02, 8.53596628e-02, -3.35572988e-01,
-1.55148581e-01],
[ 3.99156958e-01, 6.97359294e-02, 9.90320966e-02,
7.61580393e-02, -9.22203436e-02, -2.93972492e-01,
1.24248385e-01, 2.88694590e-01, -3.72151397e-02,
2.98556596e-01, 3.19469631e-01, 4.75104719e-01,
3.87618661e-01, -1.35054916e-01, -2.73720305e-02,
-2.86270201e-01],
[ 2.46775478e-01, 2.03891277e-01, 8.88683796e-02,
4.83976863e-02, 4.60118577e-02, -2.31977273e-03,
-1.41716018e-01, -2.44088799e-01, -1.67381421e-01,
-1.30131632e-01, 2.85333991e-01, 2.61967748e-01,
-2.71322697e-01, 3.82329404e-01, -2.65416473e-01,
4.54669714e-01],
[ 8.15527588e-02, -1.32573292e-01, 2.40168333e-01,
-6.41839802e-02, 1.96929917e-01, 3.61303650e-02,
-1.67217225e-01, 2.65973452e-02, 1.37260377e-01,
-1.01671629e-01, 1.34970648e-02, -1.08296856e-01,
2.33737364e-01, 1.84317231e-02, 3.24987203e-01,
1.51922271e-01],
[ 1.65644184e-01, 5.08098677e-02, -4.26495783e-02,
-1.57113567e-01, -4.11197506e-02, 1.36332497e-01,
-3.13900173e-01, -2.55045027e-01, 2.14428678e-02,
-3.04681540e-01, -3.30953416e-03, 1.26442119e-01,
-1.44156367e-01, -1.06252335e-01, 2.72636861e-01,
7.24487975e-02],
[ 2.39266828e-01, 1.30191101e-02, -3.70216191e-01,
-2.92472154e-01, -2.95140028e-01, 1.51769087e-01,
-3.13002244e-02, -1.15589105e-01, 1.89551666e-01,
4.65706624e-02, -2.81483084e-01, 5.57390973e-02,
-2.35554144e-01, 2.96403676e-01, 1.19521596e-01,
1.47996262e-01],
[ 1.78867597e-02, -8.15154389e-02, -1.81785271e-01,
-3.24993968e-01, 7.03967065e-02, -3.13364062e-03,
-1.10104173e-01, 1.01688214e-01, -4.43912484e-02,
-9.05098021e-03, -2.62032092e-01, 1.10658780e-01,
1.62887052e-01, 1.03763655e-01, 2.90300339e-01,
1.49845913e-01],
[ 9.64065343e-02, -6.20724037e-02, 1.54865384e-01,
2.24583298e-02, 3.99926364e-01, -2.18147822e-02,
-3.56588185e-01, -2.39332601e-01, 9.34322998e-02,
-2.07759306e-01, -1.59444913e-01, -1.63912848e-01,
3.84139456e-02, -6.79585040e-02, 1.30872786e-01,
2.52733678e-01],
[-3.05445373e-01, -1.91506729e-01, 1.30250320e-01,
-2.13494256e-01, -4.19747770e-01, 1.80791542e-01,
5.41216247e-02, 1.00167036e-01, -1.06686376e-01,
-3.80337864e-01, -1.10917002e-01, -1.26658067e-01,
-2.85020024e-01, -1.92052349e-01, 4.44018990e-02,
2.39842638e-01],
[ 3.26872379e-01, -1.79430723e-01, -2.26902515e-01,
-1.74495563e-01, -4.09820937e-02, 4.34319556e-01,
1.39809579e-01, -1.87393707e-05, -3.41375023e-01,
-2.51564711e-01, -1.64161280e-01, -4.53453287e-02,
2.38957931e-03, -3.54983360e-01, -3.22825670e-01,
-6.52001053e-02],
[-1.90745607e-01, 3.47389787e-01, -3.76985967e-01,
3.27329278e-01, -2.00311154e-01, -5.68819270e-02,
-5.83075844e-02, 8.12175348e-02, 7.80360773e-02,
-4.06582594e-01, -3.71355742e-01, 1.30970120e-01,
1.10327326e-01, -3.90401512e-01, -1.82321027e-01,
5.62506430e-02],
[-3.63113552e-01, -7.00277165e-02, -4.85141754e-01,
-3.03754419e-01, 1.23506799e-01, -7.73082674e-02,
-7.29039684e-02, 1.09055802e-01, -9.89593472e-03,
-7.42568225e-02, -1.37359127e-01, 4.25369084e-01,
-3.46194863e-01, 7.28198439e-02, -1.62500829e-01,
-3.25311422e-01],
[-2.56485343e-02, 2.20258847e-01, 1.22072063e-01,
-3.00496310e-01, -2.30850443e-01, 3.40187252e-01,
-2.88252026e-01, 4.85323630e-02, -1.01752833e-01,
7.79930279e-02, 4.34690386e-01, -1.11082017e-01,
-3.64414930e-01, 2.09280908e-01, 4.32869047e-01,
-3.16261858e-01]], dtype=float32)>
(name-string/embedding_weights): <tf.Variable 'dense_features_1/name-string/embedding_weights:0' shape=(27, 16) dtype=float32, numpy=
array([[-0.16655505, 0.0220273 , 0.10507032, 0.2795101 , 0.11212326,
0.00647757, -0.15854293, -0.42750597, 0.16929911, 0.26844692,
-0.20704176, 0.22449274, -0.01555648, -0.09788246, -0.00172869,
0.03929982],
[-0.17147884, -0.12913737, 0.03723462, -0.15161507, -0.02230866,
0.25272024, -0.01379442, -0.08404597, 0.42253777, 0.15478767,
0.14811613, 0.09064329, -0.09614979, 0.2401409 , -0.12466596,
-0.29627118],
[-0.15957251, 0.03846172, -0.10382164, 0.05185838, -0.13768218,
0.0701126 , -0.2276168 , 0.26710096, -0.21471792, -0.18316673,
0.07602646, -0.4085638 , 0.19794534, 0.02756763, -0.05447819,
0.12864386],
[ 0.03797594, 0.02413692, 0.14379698, 0.20240007, 0.04102696,
-0.37630647, 0.45350593, -0.2204165 , 0.37462994, 0.11636317,
0.15346327, -0.44147468, 0.06561678, 0.2101623 , 0.05610488,
-0.1031101 ],
[ 0.18175957, -0.0679792 , -0.18397655, -0.00591412, -0.28716153,
0.12419684, -0.07744922, 0.06508087, 0.03339278, 0.09264041,
-0.25605032, -0.01880104, 0.0821023 , -0.19451322, -0.39422747,
-0.11406337],
[ 0.27665266, 0.24180235, 0.01436376, -0.00700697, 0.32688546,
0.02435182, -0.09988961, -0.02900539, 0.23103087, 0.00055789,
-0.4501073 , 0.14380507, -0.4124536 , 0.45772186, -0.36191428,
0.19354963],
[-0.19559926, 0.24748206, -0.04286401, -0.18348604, -0.22767623,
-0.10448276, -0.28930172, -0.19620447, -0.2947513 , -0.01999901,
0.06769626, 0.16925927, 0.24069417, -0.03564906, -0.04878148,
0.13218044],
[-0.4585407 , 0.03068413, -0.23276615, -0.260578 , 0.06943597,
-0.17421271, -0.01021229, 0.00837074, -0.05536612, 0.21090454,
0.01231997, -0.11118193, -0.23118633, -0.43160588, -0.03242 ,
0.15444995],
[-0.16443257, -0.079183 , -0.0342812 , -0.2013627 , 0.12695347,
0.22764602, 0.27149424, -0.10954576, 0.29533637, 0.07975703,
0.12320958, 0.29004845, 0.3533847 , -0.27704704, 0.18195477,
-0.4557188 ],
[-0.1674556 , -0.12356379, 0.08364784, 0.31898856, 0.23140322,
0.37118196, -0.09561343, -0.28466418, -0.04377756, -0.00786608,
-0.11101556, 0.13057406, -0.3767613 , 0.3902883 , 0.08728686,
-0.10929369],
[ 0.15856238, -0.35579953, -0.07505523, -0.00109626, -0.14263995,
0.17888004, 0.22145301, 0.09802666, 0.13083035, -0.28809854,
-0.02191272, -0.42727396, -0.2694249 , -0.05715572, -0.10028441,
-0.07054891],
[-0.12640247, 0.25380042, -0.03718787, -0.19026485, 0.00737722,
0.05312306, -0.08293057, -0.07573098, 0.32271445, 0.4661466 ,
-0.21598502, 0.13578896, -0.24819574, 0.16675298, 0.0302654 ,
-0.23328325],
[ 0.1336068 , -0.20669791, 0.13934325, -0.21059312, -0.02267539,
-0.04256253, -0.09697508, 0.08093129, 0.23622689, 0.17878312,
0.08222689, 0.14349729, 0.25022423, -0.0545607 , -0.09180389,
0.36658543],
[ 0.18649381, 0.08608565, -0.14458215, 0.26229995, 0.4493626 ,
-0.10569775, -0.32439768, -0.12893464, 0.13910955, -0.09258537,
0.3899728 , -0.39187017, -0.34042323, -0.285192 , 0.15973765,
-0.34300455],
[ 0.14824164, 0.04699523, 0.29773152, 0.09278584, -0.12746118,
0.10214116, 0.02121378, -0.01268488, -0.31525996, -0.23414372,
-0.25228527, 0.22862376, -0.10918193, 0.18811189, -0.18079738,
-0.18077137],
[-0.23982257, -0.44162503, 0.1224831 , 0.04381812, -0.02061542,
0.02525619, -0.0326185 , 0.12018353, -0.04448223, 0.32939324,
-0.18677945, 0.41559133, 0.0235877 , -0.3297709 , 0.09294275,
-0.06441677],
[-0.18705174, -0.00160239, -0.06314939, 0.29751858, -0.14194474,
0.07072537, 0.29172167, -0.2752707 , -0.17801675, -0.2963443 ,
-0.15860607, 0.28230867, 0.10027854, 0.06605705, 0.1626352 ,
0.01093737],
[ 0.02470791, -0.08928564, -0.06476641, 0.11401906, -0.23684765,
0.08875558, -0.13945204, 0.02501976, 0.27697703, 0.09558296,
-0.22711556, 0.30566737, 0.16622679, 0.19225712, -0.31946748,
0.04909071],
[ 0.02123739, -0.29456872, 0.32059014, -0.15681742, -0.05540639,
0.01629311, -0.05495876, 0.03099436, 0.04702885, -0.188692 ,
0.08507324, -0.1901533 , 0.00556234, -0.26522222, 0.2580458 ,
-0.28908905],
[ 0.02105448, 0.13634063, -0.18301651, 0.24717627, -0.02214478,
-0.17646642, 0.0396325 , -0.46400493, -0.14801696, -0.27991918,
0.4551092 , -0.28545025, 0.09803084, -0.25687277, 0.10056881,
-0.00434812],
[-0.16712092, 0.24643254, 0.24326962, 0.34336197, 0.14337341,
-0.03934423, 0.20359385, -0.04770355, 0.25843427, -0.3143433 ,
0.10174811, -0.217683 , -0.10269889, -0.00260153, 0.22183666,
0.10425379],
[-0.23934785, -0.15006168, 0.03823191, -0.01365305, 0.32384792,
-0.21673372, 0.24398935, -0.18924503, -0.33108172, 0.02359958,
0.35242435, -0.31449497, 0.21752216, -0.06558149, 0.19352983,
-0.21832456],
[-0.12613803, 0.26436162, 0.02868045, -0.2811343 , -0.02009317,
-0.10971587, -0.2856533 , -0.28828818, 0.01062683, -0.26586622,
-0.32401633, 0.3082613 , -0.19240957, -0.24062642, -0.09291081,
-0.33098385],
[ 0.43685466, -0.01154831, 0.4472721 , -0.18077038, -0.30585277,
0.15733153, 0.08751522, -0.17419778, -0.20180096, -0.1806643 ,
-0.19862828, 0.14752851, -0.00934334, 0.1791494 , 0.29174018,
0.26793554],
[ 0.09278148, 0.09778924, 0.09868739, 0.29211083, -0.03145853,
0.19325194, -0.11726087, -0.24657606, 0.24053417, 0.0304039 ,
-0.02897684, 0.0364177 , -0.1980182 , -0.33269632, 0.03233463,
0.1874609 ],
[ 0.00588147, -0.02040603, -0.02614497, 0.44510362, 0.1408595 ,
0.1543271 , -0.13079673, -0.36811903, -0.11762567, -0.35530296,
0.28904656, -0.062836 , 0.37425387, 0.22357027, -0.21471304,
-0.24526833],
[ 0.4164751 , 0.12276013, -0.34747043, -0.23324332, -0.35519648,
-0.23483571, 0.01922001, -0.19187115, -0.07070775, 0.05592002,
0.14732909, 0.45050433, 0.19607866, 0.09995228, 0.05756678,
-0.14572935]], dtype=float32)>
) has the same name 'DenseFeatures' as a built-in Keras object. Consider renaming <class 'nvtabular.framework_utils.tensorflow.layers.embedding.DenseFeatures'> to avoid naming conflicts when loading with tf.keras.models.load_model. If renaming is not possible, pass the object in the custom_objects parameter of the load function.
WARNING tensorflow:load.py:167 No training configuration found in save file, so the model was not compiled. Compile it manually.
WARNING absl:signature_serialization.py:146 Function _wrapped_model contains input name(s) name-cat, name-string with unsupported characters which will be renamed to name_cat, name_string in the SavedModel.
WARNING absl:save.py:133 DenseFeatures(
(feature_columns): List(
(0): EmbeddingColumn(categorical_column=IdentityCategoricalColumn(key='name-cat', number_buckets=27, default_value=None), dimension=16, combiner='mean', initializer=<tensorflow.python.ops.init_ops.TruncatedNormal object at 0x7f7f3c12a820>, ckpt_to_load_from=None, tensor_name_in_ckpt=None, max_norm=None, trainable=True, use_safe_embedding_lookup=True)
(1): EmbeddingColumn(categorical_column=IdentityCategoricalColumn(key='name-string', number_buckets=27, default_value=None), dimension=16, combiner='mean', initializer=<tensorflow.python.ops.init_ops.TruncatedNormal object at 0x7f7f3c14db80>, ckpt_to_load_from=None, tensor_name_in_ckpt=None, max_norm=None, trainable=True, use_safe_embedding_lookup=True)
)
(embedding_tables): Dict(
(name-cat): <tf.Variable 'dense_features_1/name-cat/embedding_weights:0' shape=(27, 16) dtype=float32, numpy=
array([[-3.77501428e-01, -9.54855084e-02, -2.41261691e-01,
-8.45246017e-02, 8.67264867e-02, 1.02425702e-01,
-1.90329596e-01, 2.01643378e-01, 1.87453508e-01,
3.31835933e-02, 9.71238017e-02, -1.31912813e-01,
-3.92779410e-02, -2.72273600e-01, -2.26099283e-01,
-2.70702511e-01],
[-2.24664301e-01, 5.03130518e-02, 2.76329637e-01,
3.04575861e-01, -6.11550510e-02, 6.14674762e-03,
-1.48169920e-01, -3.37214619e-01, 4.52781558e-01,
-2.46039242e-01, -6.79820478e-02, -1.09361066e-02,
-1.25545368e-01, -3.68033260e-01, -3.21567923e-01,
4.07101139e-02],
[ 4.59726378e-02, 8.21201131e-02, -1.49104036e-02,
-5.57114519e-02, -9.09058675e-02, 1.71467051e-01,
2.60545164e-01, -3.74236479e-02, 1.62420690e-01,
-3.47127825e-01, -1.88263446e-01, 3.05452377e-01,
-1.38923256e-02, 2.02585533e-01, 2.19675168e-01,
5.65715181e-03],
[ 2.12423071e-01, -1.64763123e-01, -4.02399935e-02,
-1.36208534e-01, 1.65549517e-01, 1.22417763e-01,
-1.58047959e-01, -1.90742686e-01, 1.49523318e-01,
4.99434918e-02, 3.91145945e-01, 3.49741906e-01,
2.82192022e-01, 1.04246616e-01, -1.00144438e-01,
1.45552903e-01],
[-3.43173265e-01, -2.17292875e-01, -2.30432540e-01,
1.48819694e-02, -2.55809158e-01, 1.26449689e-01,
-6.75952435e-02, -3.14661235e-01, 9.42654759e-02,
2.94873118e-01, -1.98063776e-01, 1.08792774e-01,
-9.52955335e-02, -1.91565260e-01, -1.36537537e-01,
6.70930445e-02],
[ 1.06009528e-01, 2.44224161e-01, 1.75927386e-01,
-3.65918688e-02, -6.21402562e-02, -3.14870216e-02,
-1.43542374e-02, -3.74650508e-02, 1.06845349e-01,
-4.58398759e-01, 2.83869207e-01, -1.06154285e-01,
1.51218176e-01, 2.98301160e-01, 4.81194556e-01,
1.52869791e-01],
[ 2.47830093e-01, 2.39629924e-01, -1.53036430e-01,
4.79266495e-01, 5.41741587e-02, 3.93951684e-01,
2.47640878e-01, -2.24012837e-01, -4.37242448e-01,
-2.82790154e-01, 8.93360376e-02, -3.13378721e-01,
-2.52398103e-01, -7.02859135e-04, 2.15001166e-01,
9.80745852e-02],
[ 7.71419425e-03, -9.12110209e-02, 3.31340939e-01,
2.15766013e-01, -1.07587226e-01, 1.81869373e-01,
-1.97889403e-01, 2.65803754e-01, -2.04878449e-01,
-6.41633421e-02, 1.34465158e-01, 3.48572657e-02,
1.91712305e-01, -1.85595602e-01, -2.46998761e-02,
3.43038291e-01],
[-1.28528699e-01, 3.13408583e-01, -2.82849848e-01,
-6.48359880e-02, 2.65781432e-01, 1.61165074e-01,
1.24430126e-02, 3.38457108e-01, 4.92092781e-03,
1.02983370e-01, -4.61769104e-02, 1.69013500e-01,
2.58065164e-01, -1.70968190e-01, 1.51863903e-01,
1.28524795e-01],
[-8.99735838e-03, 3.68928164e-02, 1.58768609e-01,
3.54152113e-01, 7.45041892e-02, 1.23357080e-01,
2.95300692e-01, 1.64833874e-01, -1.60764635e-01,
6.37167916e-02, -2.18925893e-01, 1.69154763e-01,
-4.85110164e-01, -1.59502208e-01, -1.83220103e-01,
-7.91862980e-03],
[ 2.58837104e-01, -7.89926015e-03, -2.11611062e-01,
2.26146542e-02, -3.27784419e-02, -3.50160617e-03,
5.38160615e-02, 2.84289002e-01, 3.92250270e-01,
2.63742805e-01, -7.63152540e-02, -1.82944357e-01,
3.73157784e-02, 2.18661666e-01, 6.19701631e-02,
1.70087129e-01],
[ 4.23010476e-02, 1.97727233e-02, -9.16453451e-03,
-1.90246642e-01, 3.87210995e-01, -3.07623774e-01,
-1.63274959e-01, -1.10781878e-01, -1.87750459e-01,
1.88652664e-01, 2.13477850e-01, -5.59115596e-02,
-1.28292650e-01, 1.88721120e-01, 1.52623877e-01,
-3.65049928e-01],
[ 2.41887257e-01, 1.66424289e-01, 4.18123007e-01,
-1.02807336e-01, 1.93274632e-01, 1.34035721e-01,
-1.71097413e-01, 7.50255361e-02, -5.91189265e-02,
4.83746380e-02, 4.44793049e-03, -3.33053380e-01,
-5.06231673e-02, 2.30375037e-01, -4.46144454e-02,
-1.16999626e-01],
[-3.66097748e-01, -3.65169913e-01, -6.57981038e-02,
-1.43100426e-01, 3.16027761e-01, -1.47440493e-01,
-3.74176390e-02, 3.68112624e-02, 4.24447775e-01,
2.70107165e-02, 1.54196039e-01, 2.64194220e-01,
7.51269832e-02, -2.29114383e-01, -6.62003383e-02,
-1.03781037e-01],
[ 5.42032300e-03, -7.10195005e-02, -2.64733732e-02,
2.56545305e-01, 1.89645782e-01, 1.12617664e-01,
2.40243316e-01, 2.63070136e-01, -2.47817993e-01,
-2.86872208e-01, 1.05379842e-01, -2.13889211e-01,
-4.08319160e-02, 8.53596628e-02, -3.35572988e-01,
-1.55148581e-01],
[ 3.99156958e-01, 6.97359294e-02, 9.90320966e-02,
7.61580393e-02, -9.22203436e-02, -2.93972492e-01,
1.24248385e-01, 2.88694590e-01, -3.72151397e-02,
2.98556596e-01, 3.19469631e-01, 4.75104719e-01,
3.87618661e-01, -1.35054916e-01, -2.73720305e-02,
-2.86270201e-01],
[ 2.46775478e-01, 2.03891277e-01, 8.88683796e-02,
4.83976863e-02, 4.60118577e-02, -2.31977273e-03,
-1.41716018e-01, -2.44088799e-01, -1.67381421e-01,
-1.30131632e-01, 2.85333991e-01, 2.61967748e-01,
-2.71322697e-01, 3.82329404e-01, -2.65416473e-01,
4.54669714e-01],
[ 8.15527588e-02, -1.32573292e-01, 2.40168333e-01,
-6.41839802e-02, 1.96929917e-01, 3.61303650e-02,
-1.67217225e-01, 2.65973452e-02, 1.37260377e-01,
-1.01671629e-01, 1.34970648e-02, -1.08296856e-01,
2.33737364e-01, 1.84317231e-02, 3.24987203e-01,
1.51922271e-01],
[ 1.65644184e-01, 5.08098677e-02, -4.26495783e-02,
-1.57113567e-01, -4.11197506e-02, 1.36332497e-01,
-3.13900173e-01, -2.55045027e-01, 2.14428678e-02,
-3.04681540e-01, -3.30953416e-03, 1.26442119e-01,
-1.44156367e-01, -1.06252335e-01, 2.72636861e-01,
7.24487975e-02],
[ 2.39266828e-01, 1.30191101e-02, -3.70216191e-01,
-2.92472154e-01, -2.95140028e-01, 1.51769087e-01,
-3.13002244e-02, -1.15589105e-01, 1.89551666e-01,
4.65706624e-02, -2.81483084e-01, 5.57390973e-02,
-2.35554144e-01, 2.96403676e-01, 1.19521596e-01,
1.47996262e-01],
[ 1.78867597e-02, -8.15154389e-02, -1.81785271e-01,
-3.24993968e-01, 7.03967065e-02, -3.13364062e-03,
-1.10104173e-01, 1.01688214e-01, -4.43912484e-02,
-9.05098021e-03, -2.62032092e-01, 1.10658780e-01,
1.62887052e-01, 1.03763655e-01, 2.90300339e-01,
1.49845913e-01],
[ 9.64065343e-02, -6.20724037e-02, 1.54865384e-01,
2.24583298e-02, 3.99926364e-01, -2.18147822e-02,
-3.56588185e-01, -2.39332601e-01, 9.34322998e-02,
-2.07759306e-01, -1.59444913e-01, -1.63912848e-01,
3.84139456e-02, -6.79585040e-02, 1.30872786e-01,
2.52733678e-01],
[-3.05445373e-01, -1.91506729e-01, 1.30250320e-01,
-2.13494256e-01, -4.19747770e-01, 1.80791542e-01,
5.41216247e-02, 1.00167036e-01, -1.06686376e-01,
-3.80337864e-01, -1.10917002e-01, -1.26658067e-01,
-2.85020024e-01, -1.92052349e-01, 4.44018990e-02,
2.39842638e-01],
[ 3.26872379e-01, -1.79430723e-01, -2.26902515e-01,
-1.74495563e-01, -4.09820937e-02, 4.34319556e-01,
1.39809579e-01, -1.87393707e-05, -3.41375023e-01,
-2.51564711e-01, -1.64161280e-01, -4.53453287e-02,
2.38957931e-03, -3.54983360e-01, -3.22825670e-01,
-6.52001053e-02],
[-1.90745607e-01, 3.47389787e-01, -3.76985967e-01,
3.27329278e-01, -2.00311154e-01, -5.68819270e-02,
-5.83075844e-02, 8.12175348e-02, 7.80360773e-02,
-4.06582594e-01, -3.71355742e-01, 1.30970120e-01,
1.10327326e-01, -3.90401512e-01, -1.82321027e-01,
5.62506430e-02],
[-3.63113552e-01, -7.00277165e-02, -4.85141754e-01,
-3.03754419e-01, 1.23506799e-01, -7.73082674e-02,
-7.29039684e-02, 1.09055802e-01, -9.89593472e-03,
-7.42568225e-02, -1.37359127e-01, 4.25369084e-01,
-3.46194863e-01, 7.28198439e-02, -1.62500829e-01,
-3.25311422e-01],
[-2.56485343e-02, 2.20258847e-01, 1.22072063e-01,
-3.00496310e-01, -2.30850443e-01, 3.40187252e-01,
-2.88252026e-01, 4.85323630e-02, -1.01752833e-01,
7.79930279e-02, 4.34690386e-01, -1.11082017e-01,
-3.64414930e-01, 2.09280908e-01, 4.32869047e-01,
-3.16261858e-01]], dtype=float32)>
(name-string): <tf.Variable 'dense_features_1/name-string/embedding_weights:0' shape=(27, 16) dtype=float32, numpy=
array([[-0.16655505, 0.0220273 , 0.10507032, 0.2795101 , 0.11212326,
0.00647757, -0.15854293, -0.42750597, 0.16929911, 0.26844692,
-0.20704176, 0.22449274, -0.01555648, -0.09788246, -0.00172869,
0.03929982],
[-0.17147884, -0.12913737, 0.03723462, -0.15161507, -0.02230866,
0.25272024, -0.01379442, -0.08404597, 0.42253777, 0.15478767,
0.14811613, 0.09064329, -0.09614979, 0.2401409 , -0.12466596,
-0.29627118],
[-0.15957251, 0.03846172, -0.10382164, 0.05185838, -0.13768218,
0.0701126 , -0.2276168 , 0.26710096, -0.21471792, -0.18316673,
0.07602646, -0.4085638 , 0.19794534, 0.02756763, -0.05447819,
0.12864386],
[ 0.03797594, 0.02413692, 0.14379698, 0.20240007, 0.04102696,
-0.37630647, 0.45350593, -0.2204165 , 0.37462994, 0.11636317,
0.15346327, -0.44147468, 0.06561678, 0.2101623 , 0.05610488,
-0.1031101 ],
[ 0.18175957, -0.0679792 , -0.18397655, -0.00591412, -0.28716153,
0.12419684, -0.07744922, 0.06508087, 0.03339278, 0.09264041,
-0.25605032, -0.01880104, 0.0821023 , -0.19451322, -0.39422747,
-0.11406337],
[ 0.27665266, 0.24180235, 0.01436376, -0.00700697, 0.32688546,
0.02435182, -0.09988961, -0.02900539, 0.23103087, 0.00055789,
-0.4501073 , 0.14380507, -0.4124536 , 0.45772186, -0.36191428,
0.19354963],
[-0.19559926, 0.24748206, -0.04286401, -0.18348604, -0.22767623,
-0.10448276, -0.28930172, -0.19620447, -0.2947513 , -0.01999901,
0.06769626, 0.16925927, 0.24069417, -0.03564906, -0.04878148,
0.13218044],
[-0.4585407 , 0.03068413, -0.23276615, -0.260578 , 0.06943597,
-0.17421271, -0.01021229, 0.00837074, -0.05536612, 0.21090454,
0.01231997, -0.11118193, -0.23118633, -0.43160588, -0.03242 ,
0.15444995],
[-0.16443257, -0.079183 , -0.0342812 , -0.2013627 , 0.12695347,
0.22764602, 0.27149424, -0.10954576, 0.29533637, 0.07975703,
0.12320958, 0.29004845, 0.3533847 , -0.27704704, 0.18195477,
-0.4557188 ],
[-0.1674556 , -0.12356379, 0.08364784, 0.31898856, 0.23140322,
0.37118196, -0.09561343, -0.28466418, -0.04377756, -0.00786608,
-0.11101556, 0.13057406, -0.3767613 , 0.3902883 , 0.08728686,
-0.10929369],
[ 0.15856238, -0.35579953, -0.07505523, -0.00109626, -0.14263995,
0.17888004, 0.22145301, 0.09802666, 0.13083035, -0.28809854,
-0.02191272, -0.42727396, -0.2694249 , -0.05715572, -0.10028441,
-0.07054891],
[-0.12640247, 0.25380042, -0.03718787, -0.19026485, 0.00737722,
0.05312306, -0.08293057, -0.07573098, 0.32271445, 0.4661466 ,
-0.21598502, 0.13578896, -0.24819574, 0.16675298, 0.0302654 ,
-0.23328325],
[ 0.1336068 , -0.20669791, 0.13934325, -0.21059312, -0.02267539,
-0.04256253, -0.09697508, 0.08093129, 0.23622689, 0.17878312,
0.08222689, 0.14349729, 0.25022423, -0.0545607 , -0.09180389,
0.36658543],
[ 0.18649381, 0.08608565, -0.14458215, 0.26229995, 0.4493626 ,
-0.10569775, -0.32439768, -0.12893464, 0.13910955, -0.09258537,
0.3899728 , -0.39187017, -0.34042323, -0.285192 , 0.15973765,
-0.34300455],
[ 0.14824164, 0.04699523, 0.29773152, 0.09278584, -0.12746118,
0.10214116, 0.02121378, -0.01268488, -0.31525996, -0.23414372,
-0.25228527, 0.22862376, -0.10918193, 0.18811189, -0.18079738,
-0.18077137],
[-0.23982257, -0.44162503, 0.1224831 , 0.04381812, -0.02061542,
0.02525619, -0.0326185 , 0.12018353, -0.04448223, 0.32939324,
-0.18677945, 0.41559133, 0.0235877 , -0.3297709 , 0.09294275,
-0.06441677],
[-0.18705174, -0.00160239, -0.06314939, 0.29751858, -0.14194474,
0.07072537, 0.29172167, -0.2752707 , -0.17801675, -0.2963443 ,
-0.15860607, 0.28230867, 0.10027854, 0.06605705, 0.1626352 ,
0.01093737],
[ 0.02470791, -0.08928564, -0.06476641, 0.11401906, -0.23684765,
0.08875558, -0.13945204, 0.02501976, 0.27697703, 0.09558296,
-0.22711556, 0.30566737, 0.16622679, 0.19225712, -0.31946748,
0.04909071],
[ 0.02123739, -0.29456872, 0.32059014, -0.15681742, -0.05540639,
0.01629311, -0.05495876, 0.03099436, 0.04702885, -0.188692 ,
0.08507324, -0.1901533 , 0.00556234, -0.26522222, 0.2580458 ,
-0.28908905],
[ 0.02105448, 0.13634063, -0.18301651, 0.24717627, -0.02214478,
-0.17646642, 0.0396325 , -0.46400493, -0.14801696, -0.27991918,
0.4551092 , -0.28545025, 0.09803084, -0.25687277, 0.10056881,
-0.00434812],
[-0.16712092, 0.24643254, 0.24326962, 0.34336197, 0.14337341,
-0.03934423, 0.20359385, -0.04770355, 0.25843427, -0.3143433 ,
0.10174811, -0.217683 , -0.10269889, -0.00260153, 0.22183666,
0.10425379],
[-0.23934785, -0.15006168, 0.03823191, -0.01365305, 0.32384792,
-0.21673372, 0.24398935, -0.18924503, -0.33108172, 0.02359958,
0.35242435, -0.31449497, 0.21752216, -0.06558149, 0.19352983,
-0.21832456],
[-0.12613803, 0.26436162, 0.02868045, -0.2811343 , -0.02009317,
-0.10971587, -0.2856533 , -0.28828818, 0.01062683, -0.26586622,
-0.32401633, 0.3082613 , -0.19240957, -0.24062642, -0.09291081,
-0.33098385],
[ 0.43685466, -0.01154831, 0.4472721 , -0.18077038, -0.30585277,
0.15733153, 0.08751522, -0.17419778, -0.20180096, -0.1806643 ,
-0.19862828, 0.14752851, -0.00934334, 0.1791494 , 0.29174018,
0.26793554],
[ 0.09278148, 0.09778924, 0.09868739, 0.29211083, -0.03145853,
0.19325194, -0.11726087, -0.24657606, 0.24053417, 0.0304039 ,
-0.02897684, 0.0364177 , -0.1980182 , -0.33269632, 0.03233463,
0.1874609 ],
[ 0.00588147, -0.02040603, -0.02614497, 0.44510362, 0.1408595 ,
0.1543271 , -0.13079673, -0.36811903, -0.11762567, -0.35530296,
0.28904656, -0.062836 , 0.37425387, 0.22357027, -0.21471304,
-0.24526833],
[ 0.4164751 , 0.12276013, -0.34747043, -0.23324332, -0.35519648,
-0.23483571, 0.01922001, -0.19187115, -0.07070775, 0.05592002,
0.14732909, 0.45050433, 0.19607866, 0.09995228, 0.05756678,
-0.14572935]], dtype=float32)>
)
(name-cat/embedding_weights): <tf.Variable 'dense_features_1/name-cat/embedding_weights:0' shape=(27, 16) dtype=float32, numpy=
array([[-3.77501428e-01, -9.54855084e-02, -2.41261691e-01,
-8.45246017e-02, 8.67264867e-02, 1.02425702e-01,
-1.90329596e-01, 2.01643378e-01, 1.87453508e-01,
3.31835933e-02, 9.71238017e-02, -1.31912813e-01,
-3.92779410e-02, -2.72273600e-01, -2.26099283e-01,
-2.70702511e-01],
[-2.24664301e-01, 5.03130518e-02, 2.76329637e-01,
3.04575861e-01, -6.11550510e-02, 6.14674762e-03,
-1.48169920e-01, -3.37214619e-01, 4.52781558e-01,
-2.46039242e-01, -6.79820478e-02, -1.09361066e-02,
-1.25545368e-01, -3.68033260e-01, -3.21567923e-01,
4.07101139e-02],
[ 4.59726378e-02, 8.21201131e-02, -1.49104036e-02,
-5.57114519e-02, -9.09058675e-02, 1.71467051e-01,
2.60545164e-01, -3.74236479e-02, 1.62420690e-01,
-3.47127825e-01, -1.88263446e-01, 3.05452377e-01,
-1.38923256e-02, 2.02585533e-01, 2.19675168e-01,
5.65715181e-03],
[ 2.12423071e-01, -1.64763123e-01, -4.02399935e-02,
-1.36208534e-01, 1.65549517e-01, 1.22417763e-01,
-1.58047959e-01, -1.90742686e-01, 1.49523318e-01,
4.99434918e-02, 3.91145945e-01, 3.49741906e-01,
2.82192022e-01, 1.04246616e-01, -1.00144438e-01,
1.45552903e-01],
[-3.43173265e-01, -2.17292875e-01, -2.30432540e-01,
1.48819694e-02, -2.55809158e-01, 1.26449689e-01,
-6.75952435e-02, -3.14661235e-01, 9.42654759e-02,
2.94873118e-01, -1.98063776e-01, 1.08792774e-01,
-9.52955335e-02, -1.91565260e-01, -1.36537537e-01,
6.70930445e-02],
[ 1.06009528e-01, 2.44224161e-01, 1.75927386e-01,
-3.65918688e-02, -6.21402562e-02, -3.14870216e-02,
-1.43542374e-02, -3.74650508e-02, 1.06845349e-01,
-4.58398759e-01, 2.83869207e-01, -1.06154285e-01,
1.51218176e-01, 2.98301160e-01, 4.81194556e-01,
1.52869791e-01],
[ 2.47830093e-01, 2.39629924e-01, -1.53036430e-01,
4.79266495e-01, 5.41741587e-02, 3.93951684e-01,
2.47640878e-01, -2.24012837e-01, -4.37242448e-01,
-2.82790154e-01, 8.93360376e-02, -3.13378721e-01,
-2.52398103e-01, -7.02859135e-04, 2.15001166e-01,
9.80745852e-02],
[ 7.71419425e-03, -9.12110209e-02, 3.31340939e-01,
2.15766013e-01, -1.07587226e-01, 1.81869373e-01,
-1.97889403e-01, 2.65803754e-01, -2.04878449e-01,
-6.41633421e-02, 1.34465158e-01, 3.48572657e-02,
1.91712305e-01, -1.85595602e-01, -2.46998761e-02,
3.43038291e-01],
[-1.28528699e-01, 3.13408583e-01, -2.82849848e-01,
-6.48359880e-02, 2.65781432e-01, 1.61165074e-01,
1.24430126e-02, 3.38457108e-01, 4.92092781e-03,
1.02983370e-01, -4.61769104e-02, 1.69013500e-01,
2.58065164e-01, -1.70968190e-01, 1.51863903e-01,
1.28524795e-01],
[-8.99735838e-03, 3.68928164e-02, 1.58768609e-01,
3.54152113e-01, 7.45041892e-02, 1.23357080e-01,
2.95300692e-01, 1.64833874e-01, -1.60764635e-01,
6.37167916e-02, -2.18925893e-01, 1.69154763e-01,
-4.85110164e-01, -1.59502208e-01, -1.83220103e-01,
-7.91862980e-03],
[ 2.58837104e-01, -7.89926015e-03, -2.11611062e-01,
2.26146542e-02, -3.27784419e-02, -3.50160617e-03,
5.38160615e-02, 2.84289002e-01, 3.92250270e-01,
2.63742805e-01, -7.63152540e-02, -1.82944357e-01,
3.73157784e-02, 2.18661666e-01, 6.19701631e-02,
1.70087129e-01],
[ 4.23010476e-02, 1.97727233e-02, -9.16453451e-03,
-1.90246642e-01, 3.87210995e-01, -3.07623774e-01,
-1.63274959e-01, -1.10781878e-01, -1.87750459e-01,
1.88652664e-01, 2.13477850e-01, -5.59115596e-02,
-1.28292650e-01, 1.88721120e-01, 1.52623877e-01,
-3.65049928e-01],
[ 2.41887257e-01, 1.66424289e-01, 4.18123007e-01,
-1.02807336e-01, 1.93274632e-01, 1.34035721e-01,
-1.71097413e-01, 7.50255361e-02, -5.91189265e-02,
4.83746380e-02, 4.44793049e-03, -3.33053380e-01,
-5.06231673e-02, 2.30375037e-01, -4.46144454e-02,
-1.16999626e-01],
[-3.66097748e-01, -3.65169913e-01, -6.57981038e-02,
-1.43100426e-01, 3.16027761e-01, -1.47440493e-01,
-3.74176390e-02, 3.68112624e-02, 4.24447775e-01,
2.70107165e-02, 1.54196039e-01, 2.64194220e-01,
7.51269832e-02, -2.29114383e-01, -6.62003383e-02,
-1.03781037e-01],
[ 5.42032300e-03, -7.10195005e-02, -2.64733732e-02,
2.56545305e-01, 1.89645782e-01, 1.12617664e-01,
2.40243316e-01, 2.63070136e-01, -2.47817993e-01,
-2.86872208e-01, 1.05379842e-01, -2.13889211e-01,
-4.08319160e-02, 8.53596628e-02, -3.35572988e-01,
-1.55148581e-01],
[ 3.99156958e-01, 6.97359294e-02, 9.90320966e-02,
7.61580393e-02, -9.22203436e-02, -2.93972492e-01,
1.24248385e-01, 2.88694590e-01, -3.72151397e-02,
2.98556596e-01, 3.19469631e-01, 4.75104719e-01,
3.87618661e-01, -1.35054916e-01, -2.73720305e-02,
-2.86270201e-01],
[ 2.46775478e-01, 2.03891277e-01, 8.88683796e-02,
4.83976863e-02, 4.60118577e-02, -2.31977273e-03,
-1.41716018e-01, -2.44088799e-01, -1.67381421e-01,
-1.30131632e-01, 2.85333991e-01, 2.61967748e-01,
-2.71322697e-01, 3.82329404e-01, -2.65416473e-01,
4.54669714e-01],
[ 8.15527588e-02, -1.32573292e-01, 2.40168333e-01,
-6.41839802e-02, 1.96929917e-01, 3.61303650e-02,
-1.67217225e-01, 2.65973452e-02, 1.37260377e-01,
-1.01671629e-01, 1.34970648e-02, -1.08296856e-01,
2.33737364e-01, 1.84317231e-02, 3.24987203e-01,
1.51922271e-01],
[ 1.65644184e-01, 5.08098677e-02, -4.26495783e-02,
-1.57113567e-01, -4.11197506e-02, 1.36332497e-01,
-3.13900173e-01, -2.55045027e-01, 2.14428678e-02,
-3.04681540e-01, -3.30953416e-03, 1.26442119e-01,
-1.44156367e-01, -1.06252335e-01, 2.72636861e-01,
7.24487975e-02],
[ 2.39266828e-01, 1.30191101e-02, -3.70216191e-01,
-2.92472154e-01, -2.95140028e-01, 1.51769087e-01,
-3.13002244e-02, -1.15589105e-01, 1.89551666e-01,
4.65706624e-02, -2.81483084e-01, 5.57390973e-02,
-2.35554144e-01, 2.96403676e-01, 1.19521596e-01,
1.47996262e-01],
[ 1.78867597e-02, -8.15154389e-02, -1.81785271e-01,
-3.24993968e-01, 7.03967065e-02, -3.13364062e-03,
-1.10104173e-01, 1.01688214e-01, -4.43912484e-02,
-9.05098021e-03, -2.62032092e-01, 1.10658780e-01,
1.62887052e-01, 1.03763655e-01, 2.90300339e-01,
1.49845913e-01],
[ 9.64065343e-02, -6.20724037e-02, 1.54865384e-01,
2.24583298e-02, 3.99926364e-01, -2.18147822e-02,
-3.56588185e-01, -2.39332601e-01, 9.34322998e-02,
-2.07759306e-01, -1.59444913e-01, -1.63912848e-01,
3.84139456e-02, -6.79585040e-02, 1.30872786e-01,
2.52733678e-01],
[-3.05445373e-01, -1.91506729e-01, 1.30250320e-01,
-2.13494256e-01, -4.19747770e-01, 1.80791542e-01,
5.41216247e-02, 1.00167036e-01, -1.06686376e-01,
-3.80337864e-01, -1.10917002e-01, -1.26658067e-01,
-2.85020024e-01, -1.92052349e-01, 4.44018990e-02,
2.39842638e-01],
[ 3.26872379e-01, -1.79430723e-01, -2.26902515e-01,
-1.74495563e-01, -4.09820937e-02, 4.34319556e-01,
1.39809579e-01, -1.87393707e-05, -3.41375023e-01,
-2.51564711e-01, -1.64161280e-01, -4.53453287e-02,
2.38957931e-03, -3.54983360e-01, -3.22825670e-01,
-6.52001053e-02],
[-1.90745607e-01, 3.47389787e-01, -3.76985967e-01,
3.27329278e-01, -2.00311154e-01, -5.68819270e-02,
-5.83075844e-02, 8.12175348e-02, 7.80360773e-02,
-4.06582594e-01, -3.71355742e-01, 1.30970120e-01,
1.10327326e-01, -3.90401512e-01, -1.82321027e-01,
5.62506430e-02],
[-3.63113552e-01, -7.00277165e-02, -4.85141754e-01,
-3.03754419e-01, 1.23506799e-01, -7.73082674e-02,
-7.29039684e-02, 1.09055802e-01, -9.89593472e-03,
-7.42568225e-02, -1.37359127e-01, 4.25369084e-01,
-3.46194863e-01, 7.28198439e-02, -1.62500829e-01,
-3.25311422e-01],
[-2.56485343e-02, 2.20258847e-01, 1.22072063e-01,
-3.00496310e-01, -2.30850443e-01, 3.40187252e-01,
-2.88252026e-01, 4.85323630e-02, -1.01752833e-01,
7.79930279e-02, 4.34690386e-01, -1.11082017e-01,
-3.64414930e-01, 2.09280908e-01, 4.32869047e-01,
-3.16261858e-01]], dtype=float32)>
(name-string/embedding_weights): <tf.Variable 'dense_features_1/name-string/embedding_weights:0' shape=(27, 16) dtype=float32, numpy=
array([[-0.16655505, 0.0220273 , 0.10507032, 0.2795101 , 0.11212326,
0.00647757, -0.15854293, -0.42750597, 0.16929911, 0.26844692,
-0.20704176, 0.22449274, -0.01555648, -0.09788246, -0.00172869,
0.03929982],
[-0.17147884, -0.12913737, 0.03723462, -0.15161507, -0.02230866,
0.25272024, -0.01379442, -0.08404597, 0.42253777, 0.15478767,
0.14811613, 0.09064329, -0.09614979, 0.2401409 , -0.12466596,
-0.29627118],
[-0.15957251, 0.03846172, -0.10382164, 0.05185838, -0.13768218,
0.0701126 , -0.2276168 , 0.26710096, -0.21471792, -0.18316673,
0.07602646, -0.4085638 , 0.19794534, 0.02756763, -0.05447819,
0.12864386],
[ 0.03797594, 0.02413692, 0.14379698, 0.20240007, 0.04102696,
-0.37630647, 0.45350593, -0.2204165 , 0.37462994, 0.11636317,
0.15346327, -0.44147468, 0.06561678, 0.2101623 , 0.05610488,
-0.1031101 ],
[ 0.18175957, -0.0679792 , -0.18397655, -0.00591412, -0.28716153,
0.12419684, -0.07744922, 0.06508087, 0.03339278, 0.09264041,
-0.25605032, -0.01880104, 0.0821023 , -0.19451322, -0.39422747,
-0.11406337],
[ 0.27665266, 0.24180235, 0.01436376, -0.00700697, 0.32688546,
0.02435182, -0.09988961, -0.02900539, 0.23103087, 0.00055789,
-0.4501073 , 0.14380507, -0.4124536 , 0.45772186, -0.36191428,
0.19354963],
[-0.19559926, 0.24748206, -0.04286401, -0.18348604, -0.22767623,
-0.10448276, -0.28930172, -0.19620447, -0.2947513 , -0.01999901,
0.06769626, 0.16925927, 0.24069417, -0.03564906, -0.04878148,
0.13218044],
[-0.4585407 , 0.03068413, -0.23276615, -0.260578 , 0.06943597,
-0.17421271, -0.01021229, 0.00837074, -0.05536612, 0.21090454,
0.01231997, -0.11118193, -0.23118633, -0.43160588, -0.03242 ,
0.15444995],
[-0.16443257, -0.079183 , -0.0342812 , -0.2013627 , 0.12695347,
0.22764602, 0.27149424, -0.10954576, 0.29533637, 0.07975703,
0.12320958, 0.29004845, 0.3533847 , -0.27704704, 0.18195477,
-0.4557188 ],
[-0.1674556 , -0.12356379, 0.08364784, 0.31898856, 0.23140322,
0.37118196, -0.09561343, -0.28466418, -0.04377756, -0.00786608,
-0.11101556, 0.13057406, -0.3767613 , 0.3902883 , 0.08728686,
-0.10929369],
[ 0.15856238, -0.35579953, -0.07505523, -0.00109626, -0.14263995,
0.17888004, 0.22145301, 0.09802666, 0.13083035, -0.28809854,
-0.02191272, -0.42727396, -0.2694249 , -0.05715572, -0.10028441,
-0.07054891],
[-0.12640247, 0.25380042, -0.03718787, -0.19026485, 0.00737722,
0.05312306, -0.08293057, -0.07573098, 0.32271445, 0.4661466 ,
-0.21598502, 0.13578896, -0.24819574, 0.16675298, 0.0302654 ,
-0.23328325],
[ 0.1336068 , -0.20669791, 0.13934325, -0.21059312, -0.02267539,
-0.04256253, -0.09697508, 0.08093129, 0.23622689, 0.17878312,
0.08222689, 0.14349729, 0.25022423, -0.0545607 , -0.09180389,
0.36658543],
[ 0.18649381, 0.08608565, -0.14458215, 0.26229995, 0.4493626 ,
-0.10569775, -0.32439768, -0.12893464, 0.13910955, -0.09258537,
0.3899728 , -0.39187017, -0.34042323, -0.285192 , 0.15973765,
-0.34300455],
[ 0.14824164, 0.04699523, 0.29773152, 0.09278584, -0.12746118,
0.10214116, 0.02121378, -0.01268488, -0.31525996, -0.23414372,
-0.25228527, 0.22862376, -0.10918193, 0.18811189, -0.18079738,
-0.18077137],
[-0.23982257, -0.44162503, 0.1224831 , 0.04381812, -0.02061542,
0.02525619, -0.0326185 , 0.12018353, -0.04448223, 0.32939324,
-0.18677945, 0.41559133, 0.0235877 , -0.3297709 , 0.09294275,
-0.06441677],
[-0.18705174, -0.00160239, -0.06314939, 0.29751858, -0.14194474,
0.07072537, 0.29172167, -0.2752707 , -0.17801675, -0.2963443 ,
-0.15860607, 0.28230867, 0.10027854, 0.06605705, 0.1626352 ,
0.01093737],
[ 0.02470791, -0.08928564, -0.06476641, 0.11401906, -0.23684765,
0.08875558, -0.13945204, 0.02501976, 0.27697703, 0.09558296,
-0.22711556, 0.30566737, 0.16622679, 0.19225712, -0.31946748,
0.04909071],
[ 0.02123739, -0.29456872, 0.32059014, -0.15681742, -0.05540639,
0.01629311, -0.05495876, 0.03099436, 0.04702885, -0.188692 ,
0.08507324, -0.1901533 , 0.00556234, -0.26522222, 0.2580458 ,
-0.28908905],
[ 0.02105448, 0.13634063, -0.18301651, 0.24717627, -0.02214478,
-0.17646642, 0.0396325 , -0.46400493, -0.14801696, -0.27991918,
0.4551092 , -0.28545025, 0.09803084, -0.25687277, 0.10056881,
-0.00434812],
[-0.16712092, 0.24643254, 0.24326962, 0.34336197, 0.14337341,
-0.03934423, 0.20359385, -0.04770355, 0.25843427, -0.3143433 ,
0.10174811, -0.217683 , -0.10269889, -0.00260153, 0.22183666,
0.10425379],
[-0.23934785, -0.15006168, 0.03823191, -0.01365305, 0.32384792,
-0.21673372, 0.24398935, -0.18924503, -0.33108172, 0.02359958,
0.35242435, -0.31449497, 0.21752216, -0.06558149, 0.19352983,
-0.21832456],
[-0.12613803, 0.26436162, 0.02868045, -0.2811343 , -0.02009317,
-0.10971587, -0.2856533 , -0.28828818, 0.01062683, -0.26586622,
-0.32401633, 0.3082613 , -0.19240957, -0.24062642, -0.09291081,
-0.33098385],
[ 0.43685466, -0.01154831, 0.4472721 , -0.18077038, -0.30585277,
0.15733153, 0.08751522, -0.17419778, -0.20180096, -0.1806643 ,
-0.19862828, 0.14752851, -0.00934334, 0.1791494 , 0.29174018,
0.26793554],
[ 0.09278148, 0.09778924, 0.09868739, 0.29211083, -0.03145853,
0.19325194, -0.11726087, -0.24657606, 0.24053417, 0.0304039 ,
-0.02897684, 0.0364177 , -0.1980182 , -0.33269632, 0.03233463,
0.1874609 ],
[ 0.00588147, -0.02040603, -0.02614497, 0.44510362, 0.1408595 ,
0.1543271 , -0.13079673, -0.36811903, -0.11762567, -0.35530296,
0.28904656, -0.062836 , 0.37425387, 0.22357027, -0.21471304,
-0.24526833],
[ 0.4164751 , 0.12276013, -0.34747043, -0.23324332, -0.35519648,
-0.23483571, 0.01922001, -0.19187115, -0.07070775, 0.05592002,
0.14732909, 0.45050433, 0.19607866, 0.09995228, 0.05756678,
-0.14572935]], dtype=float32)>
) has the same name 'DenseFeatures' as a built-in Keras object. Consider renaming <class 'nvtabular.framework_utils.tensorflow.layers.embedding.DenseFeatures'> to avoid naming conflicts when loading with tf.keras.models.load_model. If renaming is not possible, pass the object in the custom_objects parameter of the load function.
=============================== warnings summary ===============================
../../../../../usr/local/lib/python3.8/dist-packages/dask_cudf/core.py:33
/usr/local/lib/python3.8/dist-packages/dask_cudf/core.py:33: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
DASK_VERSION = LooseVersion(dask.version)

.tox/test-gpu/lib/python3.8/site-packages/setuptools/_distutils/version.py:346: 35 warnings
/var/jenkins_home/workspace/merlin_systems/systems/.tox/test-gpu/lib/python3.8/site-packages/setuptools/_distutils/version.py:346: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
other = LooseVersion(other)

../../../.local/lib/python3.8/site-packages/nvtabular/framework_utils/init.py:18
/var/jenkins_home/.local/lib/python3.8/site-packages/nvtabular/framework_utils/init.py:18: DeprecationWarning: The nvtabular.framework_utils module is being replaced by the Merlin Models library. Support for importing from nvtabular.framework_utils is deprecated, and will be removed in a future version. Please consider using the models and layers from Merlin Models instead.
warnings.warn(

../../../../../usr/local/lib/python3.8/dist-packages/faiss/loader.py:28
/usr/local/lib/python3.8/dist-packages/faiss/loader.py:28: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
if LooseVersion(numpy.version) >= "1.19":

tests/unit/test_export.py::test_export_run_ensemble_triton[tensorflow-parquet]
/var/jenkins_home/workspace/merlin_systems/systems/merlin/systems/triton/export.py:304: UserWarning: Column x is being generated by NVTabular workflow but is unused in test_name_tf model
warnings.warn(

tests/unit/test_export.py::test_export_run_ensemble_triton[tensorflow-parquet]
/var/jenkins_home/workspace/merlin_systems/systems/merlin/systems/triton/export.py:304: UserWarning: Column y is being generated by NVTabular workflow but is unused in test_name_tf model
warnings.warn(

tests/unit/test_export.py::test_export_run_ensemble_triton[tensorflow-parquet]
/var/jenkins_home/workspace/merlin_systems/systems/merlin/systems/triton/export.py:304: UserWarning: Column id is being generated by NVTabular workflow but is unused in test_name_tf model
warnings.warn(

tests/unit/examples/test_serving_ranking_models_with_merlin_systems.py::test_example_04_exporting_ranking_models
tests/unit/examples/test_serving_ranking_models_with_merlin_systems.py::test_example_04_exporting_ranking_models
/var/jenkins_home/workspace/merlin_systems/systems/.tox/test-gpu/lib/python3.8/site-packages/merlin/schema/tags.py:148: UserWarning: Compound tags like Tags.USER_ID have been deprecated and will be removed in a future version. Please use the atomic versions of these tags, like [<Tags.USER: 'user'>, <Tags.ID: 'id'>].
warnings.warn(

tests/unit/examples/test_serving_ranking_models_with_merlin_systems.py::test_example_04_exporting_ranking_models
tests/unit/examples/test_serving_ranking_models_with_merlin_systems.py::test_example_04_exporting_ranking_models
/var/jenkins_home/workspace/merlin_systems/systems/.tox/test-gpu/lib/python3.8/site-packages/merlin/schema/tags.py:148: UserWarning: Compound tags like Tags.ITEM_ID have been deprecated and will be removed in a future version. Please use the atomic versions of these tags, like [<Tags.ITEM: 'item'>, <Tags.ID: 'id'>].
warnings.warn(

tests/unit/systems/ops/feast/test_op.py::test_feast_from_feature_view
/usr/local/lib/python3.8/dist-packages/feast/feature_view.py:100: DeprecationWarning: The argument 'input' is being deprecated. Please use 'batch_source' instead. Feast 0.13 and onwards will not support the argument 'input'.
warnings.warn(

tests/unit/systems/ops/fil/test_forest.py::test_export_merlin_models
/usr/local/lib/python3.8/dist-packages/xgboost/dask.py:884: RuntimeWarning: coroutine 'Client._wait_for_workers' was never awaited
client.wait_for_workers(n_workers)
Enable tracemalloc to get traceback where the object was allocated.
See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info.

tests/unit/systems/ops/fil/test_op.py::test_binary_classifier_default[sklearn_forest_classifier-get_model_params4]
tests/unit/systems/ops/fil/test_op.py::test_binary_classifier_with_proba[sklearn_forest_classifier-get_model_params4]
tests/unit/systems/ops/fil/test_op.py::test_multi_classifier[sklearn_forest_classifier-get_model_params4]
tests/unit/systems/ops/fil/test_op.py::test_regressor[sklearn_forest_regressor-get_model_params4]
tests/unit/systems/ops/fil/test_op.py::test_model_file[sklearn_forest_regressor-checkpoint.tl]
/usr/local/lib/python3.8/dist-packages/sklearn/utils/deprecation.py:103: FutureWarning: Attribute n_features_ was deprecated in version 1.0 and will be removed in 1.2. Use n_features_in_ instead.
warnings.warn(msg, category=FutureWarning)

tests/unit/systems/ops/implicit/test_op.py::test_reload_from_config[AlternatingLeastSquares]
/usr/local/lib/python3.8/dist-packages/implicit/utils.py:28: UserWarning: OpenBLAS detected. Its highly recommend to set the environment variable 'export OPENBLAS_NUM_THREADS=1' to disable its internal multithreading
warnings.warn(

tests/unit/systems/ops/torch/test_op.py::test_pytorch_op_serving[True-True]
tests/unit/systems/ops/torch/test_op.py::test_pytorch_op_serving_python[True-True]
/usr/local/lib/python3.8/dist-packages/torch/serialization.py:707: UserWarning: 'torch.load' received a zip file that looks like a TorchScript archive dispatching to 'torch.jit.load' (call 'torch.jit.load' directly to silence this warning)
warnings.warn("'torch.load' received a zip file that looks like a TorchScript archive"

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html

---------- coverage: platform linux, python 3.8.10-final-0 -----------
Name Stmts Miss Cover

merlin/legacy/inference/init.py 2 0 100%
merlin/legacy/inference/triton/init.py 33 10 70%
merlin/legacy/inference/triton/data_conversions.py 87 3 97%
merlin/legacy/inference/triton/ensemble.py 259 201 22%
merlin/systems/init.py 6 0 100%
merlin/systems/_version.py 354 205 42%
merlin/systems/dag/init.py 4 0 100%
merlin/systems/dag/dictarray.py 122 38 69%
merlin/systems/dag/ensemble.py 46 3 93%
merlin/systems/dag/node.py 23 1 96%
merlin/systems/dag/op_runner.py 26 1 96%
merlin/systems/dag/ops/init.py 11 0 100%
merlin/systems/dag/ops/compat.py 24 8 67%
merlin/systems/dag/ops/faiss.py 77 23 70%
merlin/systems/dag/ops/feast.py 118 7 94%
merlin/systems/dag/ops/fil.py 222 31 86%
merlin/systems/dag/ops/implicit.py 72 13 82%
merlin/systems/dag/ops/operator.py 79 6 92%
merlin/systems/dag/ops/pytorch.py 82 5 94%
merlin/systems/dag/ops/session_filter.py 45 7 84%
merlin/systems/dag/ops/softmax_sampling.py 51 17 67%
merlin/systems/dag/ops/tensorflow.py 67 7 90%
merlin/systems/dag/ops/unroll_features.py 50 50 0%
merlin/systems/dag/ops/workflow.py 65 19 71%
merlin/systems/dag/runtimes/init.py 1 0 100%
merlin/systems/dag/runtimes/base_runtime.py 11 2 82%
merlin/systems/dag/runtimes/triton/init.py 1 0 100%
merlin/systems/dag/runtimes/triton/ops/init.py 0 0 100%
merlin/systems/dag/runtimes/triton/ops/operator.py 11 0 100%
merlin/systems/dag/runtimes/triton/ops/tensorflow.py 54 5 91%
merlin/systems/dag/runtimes/triton/runtime.py 140 9 94%
merlin/systems/model_registry.py 16 1 94%
merlin/systems/triton/init.py 49 17 65%
merlin/systems/triton/conversions.py 143 120 16%
merlin/systems/triton/export.py 268 155 42%
merlin/systems/triton/models/init.py 0 0 100%
merlin/systems/triton/models/executor_model.py 35 35 0%
merlin/systems/triton/models/oprunner_model.py 33 33 0%
merlin/systems/triton/models/pytorch_model.py 105 105 0%
merlin/systems/triton/models/workflow_model.py 53 53 0%
merlin/systems/triton/utils.py 72 12 83%
merlin/systems/workflow/init.py 22 5 77%
merlin/systems/workflow/base.py 113 113 0%
merlin/systems/workflow/hugectr.py 37 37 0%
merlin/systems/workflow/pytorch.py 10 10 0%
merlin/systems/workflow/tensorflow.py 32 32 0%

TOTAL 3131 1399 55%

=========== 3 failed, 120 passed, 55 warnings in 1425.70s (0:23:45) ============
ERROR: InvocationError for command /var/jenkins_home/workspace/merlin_systems/systems/.tox/test-gpu/bin/python -m pytest --cov-report term --cov merlin -rxs tests/unit (exited with code 1)
___________________________________ summary ____________________________________
ERROR: test-gpu: commands failed
Build step 'Execute shell' marked build as failure
Performing Post build task...
Match found for : : True
Logical operation result is TRUE
Running script : #!/bin/bash
cd /var/jenkins_home/
CUDA_VISIBLE_DEVICES=1 python test_res_push.py "https://api.GitHub.com/repos/NVIDIA-Merlin/systems/issues/$ghprbPullId/comments" "/var/jenkins_home/jobs/$JOB_NAME/builds/$BUILD_NUMBER/log"
[merlin_systems] $ /bin/bash /tmp/jenkins6068885828031892073.sh

from merlin.dag import Supports


def convert_format(tensors, kind, target_kind):
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like we already have most (all?) of the functions from this file in merlin.systems.triton.conversions

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We do, but this is intended to be a direct copy/paste into a standalone package that's easy to delete. Since this is for maintaining legacy support, I don't want to consolidate the repetitive functions, because changing the versions we're actively using in Systems should be okay but changing these may break legacy functionality that has limited tests.

from nvtabular import ColumnSelector


def export_tensorflow_ensemble(
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

similar to the data conversions module, looks like we already have these in merlin.systems.triton.export

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, a lot of this is there, but trying to figure out what is and isn't the same, which parts of the Systems code have changed/evolved, etc has been stopping us from removing the old code from NVT. Putting the old code from NVT verbatim in a completely separate standalone package bypasses that concern. If we care enough to do the work of figuring it out and consolidating we can do that, but my plan is to let this code sit here for a few months while we sort out session-based serving and then delete the whole package.

@oliverholworthy
Copy link
Contributor

We appear to already have most of this in systems already apart from the benchmarking tools. There are some differences between the files (the change of nnzs to lengths for example).

Legacy Systems Difference
merlin/legacy/triton/__init__.py merlin/systems/triton/__init__.py systems has changed signature of convert_df_to_triton_input function
merlin/legacy/triton/benchmarking_tools.py - MISSING
merlin/legacy/triton/data_conversions.py merlin/systems/triton/conversions.py systems has additional functions for dict array conversions
merlin/legacy/triton/ensemble.py merlin/systems/triton/export.py nnzs -> lengths, the way dims are computed (sparse_max)
merlin/legacy/inference/triton/model/model_pt.py merlin/systems/triton/models/pytorch_model.py nnzs -> lengths
merlin/legacy/inference/triton/workflow/base.py merlin/systems/workflow/base.py none
merlin/legacy/inference/triton/workflow/hugectr.py merlin/systems/workflow/hugectr.py none
merlin/legacy/inference/triton/workflow/pytorch.py merlin/systems/workflow/pytorch.py some changes to tensor transformations relating to sparse tensors
merlin/legacy/inference/triton/workflow/tensorflow.py merlin/systems/workflow/tensorflow.py nnzs -> lengths
merlin/legacy/inference/triton/workflow_model.py merlin/systems/triton/models/workflow_model.py nnzs -> lengths

There are also some duplicate workflow files between merlin/legacy/inference/triton/workflow merlin/legacy/inference/workflow,

@karlhigley
Copy link
Contributor Author

The changes you've listed aren't necessarily backwards compatible, which is why adding a whole additional copy of this stuff makes a certain amount of sense to me. It can be dropped in a separate package, marked as legacy, and left alone until we can completely remove it from Merlin in (hopefully) a few months. We could even set code owners on the folder (e.g. me) so that changes to it can't be made accidentally without someone keeping an eye out to make sure that doesn't happen.

@jperez999
Copy link
Collaborator

rerun tests

4 similar comments
@jperez999
Copy link
Collaborator

rerun tests

@jperez999
Copy link
Collaborator

rerun tests

@jperez999
Copy link
Collaborator

rerun tests

@jperez999
Copy link
Collaborator

rerun tests

@karlhigley
Copy link
Contributor Author

Still want to get the old inference code out of NVTabular, but this may not be the right destination, given how confusing it's been to have two different versions of the serving code in this library that run on different back-ends.

@karlhigley karlhigley closed this Jan 12, 2023
@github-actions
Copy link

Documentation preview

https://nvidia-merlin.github.io/systems/review/pr-233

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

chore Maintenance for the repository clean up

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants