Skip to content

Commit

Permalink
Don't try to patch pywrap_calibrator.so, as it was removed.
Browse files Browse the repository at this point in the history
Follow-up to
c8ee776

PiperOrigin-RevId: 627732799
  • Loading branch information
tensorflower-gardener committed Apr 24, 2024
1 parent f484927 commit da8b293
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions tensorflow/tools/pip_package/build_pip_package.py
Expand Up @@ -230,10 +230,6 @@ def patch_so(srcs_dir: str) -> None:
"tensorflow/compiler/mlir/quantization/tensorflow/python/"
"pywrap_quantize_model.so"
): "$ORIGIN/../../../../../python",
(
"tensorflow/compiler/mlir/quantization/tensorflow/calibrator/"
"pywrap_calibration.so"
): "$ORIGIN/../../../../../python",
}
for file, path in to_patch.items():
rpath = subprocess.check_output(
Expand Down

0 comments on commit da8b293

Please sign in to comment.