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
Copy file name to clipboardExpand all lines: docs/lab-2/README.md
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -160,7 +160,8 @@ take a look at the next screen shot:
160
160
161
161

162
162
163
-
It does some amazing work for you code, and really finally, take a look at [this video](https://www.youtube.com/watch?v=V3Yq6w9QaxI) if you want a quick video of other neat https://continue.dev functions we didn't go over.
163
+
It does some amazing work for you code, and really finally, take a look at [this video](https://www.youtube.com/watch?v=V3Yq6w9QaxI)
164
+
if you want a quick video of other neat <https://continue.dev> functions we didn't go over.
Copy file name to clipboardExpand all lines: docs/lab-3/README.md
+18-8Lines changed: 18 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,6 +16,8 @@ it to have.
16
16
17
17
!!! warning
18
18
If you are running on Windows, you should use WSL2 for this, but it _is unsupported_ but we will do our best to get you success if you run into any problems.
19
+
**Note**: You will need to use something _other_ then `pip install 'instructlab[mps]'`, it depends on your GPU, and hardware. You'll need to do some homework
20
+
here.
19
21
20
22
## tl;dr
21
23
@@ -43,7 +45,8 @@ ilab model serve --model-path instructlab-granite-7b-lab-trained/instructlab-gra
43
45
44
46
### Install `ilab`
45
47
46
-
1) Create a new directory called `instructlab` to store the files the `ilab` CLI needs when running and `cd` into the directory by running the following command:
48
+
1) Open up `iTerm2` or `Terminal` (assuming you're on a Mac and we'll continue assuming this) and create a new directory called `instructlab` to store the files the `ilab`
49
+
CLI needs when running and `cd` into the directory by running the following command:
47
50
48
51
```shell
49
52
mkdir instructlab
@@ -249,10 +252,13 @@ After running `ilab config init` your directories will look like the following o
1)`/Users/USERNAME/Library/Caches/instructlab/models/`: Contains all downloaded large language models, including the saved output of ones you generate with ilab.
253
-
2)`~/Library/Application\ Support/instructlab/datasets/`: Contains data output from the SDG phase, built on modifications to the taxonomy repository.
254
-
3)`~/Library/Application\ Support/instructlab/taxonomy/`: Contains the skill and knowledge data.
255
-
4)`~/Users/USERNAME/Library/Caches/instructlab/checkpoints/`: Contains the output of the training process
255
+
1)`/Users/USERNAME/Library/Caches/instructlab/models/`: Contains all downloaded large language models, including the saved output of ones you generate with ilab.
256
+
257
+
2)`~/Library/Application\ Support/instructlab/datasets/`: Contains data output from the SDG phase, built on modifications to the taxonomy repository.
258
+
259
+
3)`~/Library/Application\ Support/instructlab/taxonomy/`: Contains the skill and knowledge data.
260
+
261
+
4)`~/Users/USERNAME/Library/Caches/instructlab/checkpoints/`: Contains the output of the training process
256
262
257
263
### 📥 Download the model
258
264
@@ -311,13 +317,13 @@ ilab model list
311
317
ilab model serve
312
318
```
313
319
314
-
erve a non-default model (e.g. Mixtral-8x7B-Instruct-v0.1):
320
+
Serve a non-default model (e.g. Mixtral-8x7B-Instruct-v0.1):
315
321
316
322
```shell
317
323
ilab model serve --model-path models/mixtral-8x7b-instruct-v0.1.Q4_K_M.gguf
318
324
```
319
325
320
-
nce the model is served and ready, you'll see the following output:
326
+
Once the model is served and ready, you'll see the following output:
321
327
322
328
```shell
323
329
(venv) $ ilab model serve
@@ -330,7 +336,10 @@ Press CTRL+C to shut down the server.
330
336
!!! note
331
337
If multiple `ilab` clients try to connect to the same InstructLab server at the same time, the 1st will connect to the server while the others will start their own temporary server. This will require additional resources on the host machine.
332
338
333
-
- Serve a non-default Safetensors model (e.g. granite-7b-lab). NOTE: this requires a GPU.
339
+
- Serve a non-default Safetensors model (e.g. granite-7b-lab).
340
+
341
+
!!! tip
342
+
`vllm` requires a GPU for the best success.
334
343
335
344
Ensure vllm is installed:
336
345
@@ -384,3 +393,4 @@ Before you start adding new skills and knowledge to your model, you can check it
0 commit comments