You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 3, 2025. It is now read-only.
The binary relies on a modified Tensorflow, which will need to be rebuilt. Internal users can use a container with Tensorflow already modified and built, instead of building with Bazel, which will take much longer.
30
-
31
-
### Bazel
32
-
33
-
The `setup.sh` script applies the Tensorflow patch and prepares the container for the Bazel build.
The binary will be located at `/opt/tensorflow/tensorflow-source/bazel-bin/tensorflow/examples/benchmarking-cpp/tftrt_benchmark_runner`.
42
-
43
-
### Prebuilt
44
-
45
-
For internal NVIDIA users, a container with a prebuilt modified Tensorflow is available. In the container, use CMake to build the binary without needing to rebuild Tensorflow:
46
-
47
29
```
48
30
cd /workspace/tensorrt/tftrt/benchmarking-cpp
49
31
mkdir build && cd build
@@ -61,4 +43,6 @@ The binary will be located at `/workspace/tensorrt/tftrt/benchmarking-cpp/tftrt_
61
43
62
44
### Profiling
63
45
64
-
To profile, set the `--out_dir` flag. Run `tensorboard --logdir [out_dir]` to view results.
46
+
To profile, set the `--out_dir` flag. This creates a log directory and serializes the `XSpace` to a location that TensorBoard expects (i.e. `[out_dir]/plugins/profile/[run_id]/[host_id].xplane.pb`).
47
+
48
+
Run `tensorboard --logdir [out_dir]` to view results. TensorBoard will generate the available dashboards using the `XSpace` directly.
0 commit comments