Skip to content

Commit

Permalink
Uses admonition for nanoGPT example
Browse files Browse the repository at this point in the history
  • Loading branch information
pranavm-nvidia committed Jan 11, 2025
1 parent 8b1adb4 commit 9002287
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
5 changes: 3 additions & 2 deletions tripy/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,9 @@ Thanks for your interest in contributing to Tripy!

Install the pre-commit hook before making commits.

- **Suggestion:** Install the hook and use `git` *outside* the container
so you don't have to repeat this step each time you launch the container.
> [!TIP]
> Install the hook and use `git` *outside* the container
> so you don't have to repeat this step each time you launch the container.
From the [`tripy` root directory](.), run:
```bash
Expand Down
8 changes: 4 additions & 4 deletions tripy/examples/nanogpt/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Implementing Nano-GPT With Tripy
# Implementing NanoGPT

## Introduction

Expand Down Expand Up @@ -61,10 +61,10 @@ Use `--quant-mode` in `example.py` to enable quantization. Supported modes:
Tripy: TEST: EXPECTED_STDOUT End
-->
- Weight-only `int4` quantization:
**Warning**: For this model, `int4` quantization may result in poor accuracy.
We include it only to demonstrate the workflow.
> [!WARNING]
> For this model, `int4` quantization may result in poor accuracy. We include it only to demonstrate the workflow.
- Weight-only `int4` quantization:
```bash
python3 example.py --input-text "What is the answer to life, the universe, and everything?" --seed=0 --quant-mode int4-weight-only
Expand Down

0 comments on commit 9002287

Please sign in to comment.