Tensorflow GPU C API

64 views
Skip to first unread message

PURVA CHAUDHARI

unread,
May 25, 2022, 4:05:26 AM5/25/22
to Discuss
Hi everyone.
I am trying to add tensorflow c api to a cms environment
I have a file <cmssw-area>/config/toolbox/$SCRAM_ARCH/tools/selected/tensorflow.xml where I can set the tensorflow variables. I downloaded the c_api  gpu tar. However it does not have the binaries. What path do I add to TFCOMPILE in tensoflow.xml file which looks like:

<tool name="tensorflow" version="1.6.0-pafccj5">
  <client>
    <environment name="TENSORFLOW_BASE" default="/afs/cern.ch/user/p/pchaudha/private/CMSSW_10_6_20/src/tensorflow"/>
    <environment name="LIBDIR" default="$TENSORFLOW_BASE/lib"/>
    <environment name="INCLUDE" default="$TENSORFLOW_BASE/include"/>
    <environment name="TFCOMPILE" default="/cvmfs/cms.cern.ch/slc7_amd64_gcc820/external/tensorflow/1.6.0-pafccj4/bin/tfcompile"/>
  </client>
  <runtime name="PATH" value="/cvmfs/cms.cern.ch/slc7_amd64_gcc820/external/tensorflow/1.6.0-pafccj4/bin" type="path"/>
</tool>
Also I get some error like undefined symbol: _ZNK10tensorflow10DeviceBase4nameB5cxx11Ev, any insights on that ?
Reply all
Reply to author
Forward
0 new messages