Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[TF] Fix needed for tensorflow 2.3.1 #32131

Merged
merged 1 commit into from Nov 20, 2020
Merged

[TF] Fix needed for tensorflow 2.3.1 #32131

merged 1 commit into from Nov 20, 2020

Conversation

smuzaffar
Copy link
Contributor

@smuzaffar smuzaffar commented Nov 13, 2020

This change is needed to build cmssw with Tensorflow 2.3.1

[a] cms-sw/cmsdist#6410

>> Compiling  src/PhysicsTools/TensorFlow/src/TensorFlow.cc
In file included from src/PhysicsTools/TensorFlow/interface/TensorFlow.h:12,
                 from src/PhysicsTools/TensorFlow/src/TensorFlow.cc:9:
tensorflowe3b366e33aa8ec3622/include/tensorflow/core/framework/tensor.h: In instantiation of 'typename tensorflow::TTypes::Scalar tensorflow::Tensor::scalar() [with T = std::__cxx11::basic_string; typename tensorflow::TTypes::Scalar = Eigen::TensorMap, Eigen::Sizes<>, 1, long int>, 16, Eigen::MakePointer>]':
src/PhysicsTools/TensorFlow/src/TensorFlow.cc:143:39:   required from here
tensorflowe3b366e33aa8ec3622/include/tensorflow/core/framework/tensor.h:879:7: error: static assertion failed: std::string is no longer a scalar type, use tensorflow::tstring
       !std::is_same::value,
       ^~~~

@smuzaffar
Copy link
Contributor Author

please test with cms-sw/cmsdist#6410

@cmsbuild
Copy link
Contributor

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-32131/19799

  • This PR adds an extra 12KB to repository

@cmsbuild
Copy link
Contributor

cmsbuild commented Nov 13, 2020

The tests are being triggered in jenkins.
Tested with other pull request(s) cms-sw/cmsdist#6410

@cmsbuild
Copy link
Contributor

A new Pull Request was created by @smuzaffar (Malik Shahzad Muzaffar) for master.

It involves the following packages:

PhysicsTools/TensorFlow

@perrotta, @jpata, @cmsbuild, @santocch, @slava77 can you please review it and eventually sign? Thanks.
@makortel, @riga this is something you requested to watch as well.
@silviodonato, @dpiparo, @qliphy you are the release manager for this.

cms-bot commands are listed here

@cmsbuild
Copy link
Contributor

+1
Tested at: 59dbc10
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-755816/10726/summary.html
CMSSW: CMSSW_11_2_X_2020-11-12-2300
SCRAM_ARCH: slc7_amd64_gcc820

@cmsbuild
Copy link
Contributor

Comparison job queued.

@cmsbuild
Copy link
Contributor

Comparison is ready
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-755816/10726/summary.html

Comparison Summary:

  • No significant changes to the logs found
  • Reco comparison results: 0 differences found in the comparisons
  • DQMHistoTests: Total files compared: 35
  • DQMHistoTests: Total histograms compared: 2529296
  • DQMHistoTests: Total failures: 1
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 2529273
  • DQMHistoTests: Total skipped: 22
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 34 files compared)
  • Checked 148 log files, 22 edm output root files, 35 DQM output files

@cmsbuild
Copy link
Contributor

cmsbuild commented Nov 13, 2020

The tests are being triggered in jenkins.
Tested with other pull request(s) cms-sw/cmsdist#6410
Test Parameters:

@cms-sw cms-sw deleted a comment from cmsbuild Nov 13, 2020
@cmsbuild
Copy link
Contributor

Comparison is ready
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-8c86be/10793/summary.html

Comparison Summary:

  • No significant changes to the logs found
  • Reco comparison results: 5 differences found in the comparisons
  • DQMHistoTests: Total files compared: 35
  • DQMHistoTests: Total histograms compared: 2529296
  • DQMHistoTests: Total failures: 11
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 2529263
  • DQMHistoTests: Total skipped: 22
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 34 files compared)
  • Checked 148 log files, 22 edm output root files, 35 DQM output files

@slava77
Copy link
Contributor

slava77 commented Nov 18, 2020

+1

for #32131 59dbc10

  • technical; differences in comparisons are apparently unrelated to the TF build

@santocch
Copy link

+1

@cmsbuild
Copy link
Contributor

This pull request is fully signed and it will be integrated in one of the next master IBs (tests are also fine). This pull request will now be reviewed by the release team before it's merged. @silviodonato, @dpiparo, @qliphy (and backports should be raised in the release meeting by the corresponding L2)

@cmsbuild
Copy link
Contributor

cmsbuild commented Nov 19, 2020

The tests are being triggered in jenkins.
Tested with other pull request(s) cms-sw/cmsdist#6410,cms-sw/cmsdist#6429

@cmsbuild
Copy link
Contributor

+1
Tested at: 59dbc10
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-8c86be/10858/summary.html
CMSSW: CMSSW_11_2_X_2020-11-19-1100
SCRAM_ARCH: slc7_amd64_gcc820

@cmsbuild
Copy link
Contributor

Comparison job queued.

@cmsbuild
Copy link
Contributor

Comparison is ready
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-8c86be/10858/summary.html

@slava77 comparisons for the following workflows were not done due to missing matrix map:

  • /data/cmsbld/jenkins/workspace/compare-root-files-short-matrix/data/PR-8c86be/11624.911_TTbar_13+2021_DD4hep+TTbar_13TeV_TuneCUETP8M1_GenSim+Digi+Reco+HARVEST+ALCA
  • /data/cmsbld/jenkins/workspace/compare-root-files-short-matrix/data/PR-8c86be/11642.911_ZMM_13+2021_DD4hep+ZMM_13TeV_TuneCUETP8M1_GenSim+Digi+Reco+HARVEST+ALCA

Comparison Summary:

  • No significant changes to the logs found
  • Reco comparison results: 0 differences found in the comparisons
  • DQMHistoTests: Total files compared: 37
  • DQMHistoTests: Total histograms compared: 2962300
  • DQMHistoTests: Total failures: 1
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 2962277
  • DQMHistoTests: Total skipped: 22
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 36 files compared)
  • Checked 158 log files, 34 edm output root files, 37 DQM output files

@smuzaffar
Copy link
Contributor Author

this looks good now., is there any thing else to check the performance of new TF 2.3.1?

@silviodonato
Copy link
Contributor

+1

@cmsbuild cmsbuild merged commit e9ea0ce into cms-sw:master Nov 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants