LiyuanLucasLiu
commited on
Commit
•
9b205aa
1
Parent(s):
f8b8aeb
fixed demo
Browse files
README.md
CHANGED
@@ -52,7 +52,7 @@ The simpliest way to inference with GRIN-MoE is to run the demo as below, which
|
|
52 |
|
53 |
```bash
|
54 |
# This script is available at `https://github.com/microsoft/GRIN-MoE/blob/main/demo/demo.sh` and requires docker to run.
|
55 |
-
curl
|
56 |
```
|
57 |
|
58 |
### Interactive Demo
|
@@ -60,7 +60,7 @@ curl -s https://raw.githubusercontent.com/microsoft/GRIN-MoE/main/demo/demo.sh |
|
|
60 |
Run the following command to play with the model with more questions and customized inputs, which would launch a jupyter notebook at `localhost:8887`.
|
61 |
```bash
|
62 |
# This script requires docker to run.
|
63 |
-
docker run --gpus all -p 8887:8887 --rm
|
64 |
```
|
65 |
|
66 |
## Benchmarks
|
|
|
52 |
|
53 |
```bash
|
54 |
# This script is available at `https://github.com/microsoft/GRIN-MoE/blob/main/demo/demo.sh` and requires docker to run.
|
55 |
+
curl https://raw.githubusercontent.com/microsoft/GRIN-MoE/main/demo/demo.sh | bash -s
|
56 |
```
|
57 |
|
58 |
### Interactive Demo
|
|
|
60 |
Run the following command to play with the model with more questions and customized inputs, which would launch a jupyter notebook at `localhost:8887`.
|
61 |
```bash
|
62 |
# This script requires docker to run.
|
63 |
+
docker run --gpus all -p 8887:8887 --rm nvcr.io/nvidia/pytorch:24.08-py3 /bin/bash -c 'git clone https://github.com/microsoft/GRIN-MoE.git && jupyter notebook --port 8887 --notebook-dir GRIN-MoE/demo'
|
64 |
```
|
65 |
|
66 |
## Benchmarks
|