8000 GitHub - Sea-Snell/LMTemplate
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Sea-Snell/LMTemplate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LMTemplate

installation

1. pull from github

git clone https://github.com/Sea-Snell/LMTemplate.git
cd LMTemplate
export PYTHONPATH=${PWD}/src/

2. install dependencies

Install with conda (cpu, tpu, or gpu) or docker (cpu or gpu only).

install with conda (cpu):

conda env create -f environment.yml
conda activate LMTemplate

install with conda (gpu):

conda env create -f environment.yml
conda activate LMTemplate
python -m pip install --upgrade pip
python -m pip install --upgrade "jax[cuda]" -f https://storage.googleapis.com/jax-releases/jax_cuda_releases.html
conda install pytorch=1.11 cudatoolkit=11.3 -c pytorch

install with conda (tpu):

conda env create -f environment.yml
conda activate LMTemplate
python -m pip install --upgrade pip
python -m pip install "jax[tpu]>=0.2.16" -f https://storage.googleapis.com/jax-releases/libtpu_releases.html

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0