mirror of
https://github.com/xai-org/grok-1.git
synced 2024-11-24 12:39:54 +03:00
support conda env
This commit is contained in:
parent
7050ed204b
commit
f78574c4eb
@ -11,6 +11,14 @@ pip install -r requirements.txt
|
|||||||
python run.py
|
python run.py
|
||||||
```
|
```
|
||||||
|
|
||||||
|
to test the code. If you are using Conda, run
|
||||||
|
|
||||||
|
```shell
|
||||||
|
conda env create -f environment.yml
|
||||||
|
conda activate grok
|
||||||
|
python run.py
|
||||||
|
```
|
||||||
|
|
||||||
to test the code.
|
to test the code.
|
||||||
|
|
||||||
The script loads the checkpoint and samples from the model on a test input.
|
The script loads the checkpoint and samples from the model on a test input.
|
||||||
|
11
environment.yml
Normal file
11
environment.yml
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
name: grok
|
||||||
|
channels:
|
||||||
|
- conda-forge
|
||||||
|
- nvidia
|
||||||
|
- defaults
|
||||||
|
dependencies:
|
||||||
|
- python=3.9
|
||||||
|
- numpy==1.26.4
|
||||||
|
- dm-haiku==0.0.12
|
||||||
|
- sentencepiece==0.2.0
|
||||||
|
- jax[cuda12-pip]==0.4.25
|
Loading…
Reference in New Issue
Block a user