Commit
·
43b3abc
1
Parent(s):
25e57c6
Update README.md
Browse files
README.md
CHANGED
|
@@ -23,7 +23,15 @@ python3 -m pip install --upgrade pip
|
|
| 23 |
python3 -m pip install accelerate
|
| 24 |
```
|
| 25 |
|
| 26 |
-
3.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 27 |
|
| 28 |
```bash
|
| 29 |
git clone https://github.com/TimDettmers/bitsandbytes.git
|
|
@@ -33,6 +41,11 @@ python3 -m pip install .
|
|
| 33 |
cd ..
|
| 34 |
```
|
| 35 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 36 |
4. Clone the `FastChat` repository and install it:
|
| 37 |
|
| 38 |
```bash
|
|
@@ -235,4 +248,3 @@ def chat(inp):
|
|
| 235 |
```python
|
| 236 |
chat("what's the meaning of life?")
|
| 237 |
```
|
| 238 |
-
|
|
|
|
| 23 |
python3 -m pip install accelerate
|
| 24 |
```
|
| 25 |
|
| 26 |
+
3. Install `bitsandbytes`
|
| 27 |
+
|
| 28 |
+
3.1 install by pip
|
| 29 |
+
|
| 30 |
+
```bash
|
| 31 |
+
python3 -m pip install bitsandbytes
|
| 32 |
+
```
|
| 33 |
+
|
| 34 |
+
3.2 Clone the `bitsandbytes` repository and install it:
|
| 35 |
|
| 36 |
```bash
|
| 37 |
git clone https://github.com/TimDettmers/bitsandbytes.git
|
|
|
|
| 41 |
cd ..
|
| 42 |
```
|
| 43 |
|
| 44 |
+
use the following command to find `CUDA_VERSION`:
|
| 45 |
+
```bash
|
| 46 |
+
ls /usr/local/cuda*
|
| 47 |
+
```
|
| 48 |
+
|
| 49 |
4. Clone the `FastChat` repository and install it:
|
| 50 |
|
| 51 |
```bash
|
|
|
|
| 248 |
```python
|
| 249 |
chat("what's the meaning of life?")
|
| 250 |
```
|
|
|