Skip to content

Commit

Permalink
code review
Browse files Browse the repository at this point in the history
  • Loading branch information
olupton committed Dec 3, 2024
1 parent 5e1b0eb commit 79e3668
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ def main():
# TODO: add a default to (with confirmation) install in the same prefix as this script is installed to
parser = argparse.ArgumentParser("Fetch the flamegraph.pl script")
parser.add_argument(
"prefix", help="Output prefix under which to install protoc", type=str
"prefix", help="Output prefix under which to install flamegraph.pl", type=str
)
args = parser.parse_args()
install_dir = os.path.join(args.prefix, "bin")
Expand Down
1 change: 1 addition & 0 deletions .github/container/nsys_jax/nsys_jax/scripts/nsys_jax.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ def create_install_script(output_queue):
Write an install.sh to the output archive that installs nsys-jax at the same
version/commit that the current execution is using.
"""
# setuptools_scm produces a shortened sha with a `g` prefix (for git)
jax_toolbox_sha = jax_toolbox_sha_with_prefix[1:]
install_script = install_script_template.format(jax_toolbox_commit=jax_toolbox_sha)
output_queue.put(("install.sh", install_script.encode(), COMPRESS_DEFLATE))
Expand Down
3 changes: 2 additions & 1 deletion docs/nsys-jax.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@ $ pip install --src /checkout-dir -e 'git+https://github.com/NVIDIA/JAX-Toolbox.
You may want to include this in a global `pip-compile`-based dependency resolution (as is done in the containers built
from this repository), rather than running too many ad-hoc `pip install` commands.

This will install all of the components mentioned so far, but does not currently include all (implicit) dependencies:
This will install all of the components mentioned so far, but does not currently include the following implicit
dependencies:
- `protoc` must be installed at a version compatible with the `google.protobuf` runtime library; `nsys-jax` includes a
helper script that can be run after `pip install`, e.g. to install `/usr/local/bin/protoc`, run
`install-protoc /usr/local`.
Expand Down

0 comments on commit 79e3668

Please sign in to comment.