Skip to content

Commit

Permalink
Fix more markdown violations
Browse files Browse the repository at this point in the history
  • Loading branch information
samjwu committed Jan 16, 2024
1 parent 25fd14d commit 5ee29af
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 7 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ AMD MIGraphX is AMD's graph inference engine, which accelerates machine learning
To use MIGraphX, you can install the binaries or build from source code. Refer to the following sections
for Ubuntu installation instructions (we'll provide instructions for other Linux distributions in the future).

> [!NOTE]
> [!NOTE]
> You must [install ROCm](https://rocm.docs.amd.com/en/latest/deploy/linux/quick_start.html) before
> installing MIGraphX.
Expand Down
6 changes: 4 additions & 2 deletions examples/README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
# AMD MIGraphX Examples

## Description
This directory contains examples of common use cases for MIGraphX.

## Examples:
This directory contains examples of common use cases for MIGraphX.

## Examples

- [MIGraphX usage and utilities](./migraphx)
- [Vision inference examples](./vision)
- [Natural language inference examples](./nlp)
Expand Down
2 changes: 2 additions & 0 deletions examples/diffusion/python_stable_diffusion_21/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,15 @@ Get models with optimum
```bash
optimum-cli export onnx --model stabilityai/stable-diffusion-2-1 models/sd21-onnx
```

*Note: `models/sd21-onnx` will be used in the scripts.*

Run the text-to-image script with the following example prompt and seed:

```bash
python txt2img.py --prompt "a photograph of an astronaut riding a horse" --seed 13 --output astro_horse.jpg
```

*Note: The first run will compile the models and cache them to make subsequent runs faster.*

The result should look like this:
Expand Down
2 changes: 1 addition & 1 deletion examples/migraphx/migraphx_driver/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ unsqueeze
</details>
<br/><br/>

##### Example: params
### Example: params

```
/opt/rocm/bin/migraphx-driver params simple_graph.pb
Expand Down
2 changes: 1 addition & 1 deletion examples/transformers/python_llama2/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ Get models with optimum
```bash
optimum-cli export onnx --model meta-llama/Llama-2-7b-chat-hf models/llama-2-7b-chat-hf --task text-generation --framework pt --library transformers --no-post-process
```

*Note: `models/llama-2-7b-chat-hf` will be used in the scripts.*

Run the text-generation script with the following example prompt:
Expand All @@ -50,7 +51,6 @@ python txtgen.py --prompt "Where is Szeged?" --log-process

*Note: The first run will compile the models and cache them to make subsequent runs faster.*


## Gradio application

Note: requires `Console application` to work
Expand Down
1 change: 0 additions & 1 deletion examples/transformers/python_whisper/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@ python asr.py --audio audio/sample1.flac --log-process

Or without any audio input to run the [Hugging Face dummy dataset](https://huggingface.co/datasets/hf-internal-testing/librispeech_asr_dummy) samples.


## Gradio application

Note: requires `Console application` to work
Expand Down
2 changes: 1 addition & 1 deletion examples/vision/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
- [Python Super Resolution](./python_super_resolution)
- [Python NFNet](./python_nfnet)
- [Python U-Net](./python_unet)
- [Python 3D-UNet](./python_3dunet)
- [Python 3D-UNet](./python_3dunet)

0 comments on commit 5ee29af

Please sign in to comment.