mirror of
https://github.com/hpcaitech/ColossalAI.git
synced 2025-09-07 03:52:01 +00:00
[lora] add lora APIs for booster, support lora for TorchDDP (#4981)
* add apis and peft requirement * add liscense and implement apis * add checkpointio apis * add torchddp fwd_bwd test * add support_lora methods * add checkpointio test and debug * delete unneeded codes * remove peft from LICENSE * add concrete methods for enable_lora * simplify enable_lora api * fix requirements
This commit is contained in:
committed by
Hongxin Liu
parent
c1594e4bad
commit
14b0d4c7e5
@@ -5,7 +5,7 @@ git+https://github.com/hpcaitech/pytest-testmon
|
||||
torchvision
|
||||
timm
|
||||
titans
|
||||
torchaudio
|
||||
torchaudio>=0.13.1
|
||||
torchx-nightly==2022.6.29 # torchrec 0.2.0 requires torchx-nightly. This package is updated every day. We fix the version to a specific date to avoid breaking changes.
|
||||
torchrec==0.2.0
|
||||
contexttimer
|
||||
@@ -18,4 +18,5 @@ flash_attn
|
||||
datasets
|
||||
pydantic
|
||||
ray
|
||||
peft
|
||||
#auto-gptq now not support torch1.12
|
||||
|
Reference in New Issue
Block a user