Zaixi commited on
Commit
3b2144d
·
verified ·
1 Parent(s): f8c2c58

Delete finetune_demo.sh

Browse files
Files changed (1) hide show
  1. finetune_demo.sh +0 -49
finetune_demo.sh DELETED
@@ -1,49 +0,0 @@
1
- # Copyright 2024 ByteDance and/or its affiliates.
2
- #
3
- # Licensed under the Apache License, Version 2.0 (the "License");
4
- # you may not use this file except in compliance with the License.
5
- # You may obtain a copy of the License at
6
- #
7
- # http://www.apache.org/licenses/LICENSE-2.0
8
- #
9
- # Unless required by applicable law or agreed to in writing, software
10
- # distributed under the License is distributed on an "AS IS" BASIS,
11
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
- # See the License for the specific language governing permissions and
13
- # limitations under the License.
14
-
15
- export LAYERNORM_TYPE=fast_layernorm
16
- export USE_DEEPSPEED_EVO_ATTTENTION=true
17
- export CUTLASS_PATH=/n/holylabs/LABS/mzitnik_lab/Users/zaixizhang/cutlass
18
- # wget -P /af3-dev/release_model/ https://af3-dev.tos-cn-beijing.volces.com/release_model/model_v0.2.0.pt
19
- module load gcc/9.5.0-fasrc01
20
- module load cuda/12.4.1-fasrc01
21
- export CC=$(which gcc)
22
- export CXX=$(which g++)
23
- export CUDA_HOME=/n/sw/helmod-rocky8/apps/Core/cuda/12.4.1-fasrc01/cuda
24
- export PATH=$CUDA_HOME/bin:$PATH
25
- export LD_LIBRARY_PATH=$CUDA_HOME/lib64:$LD_LIBRARY_PATH
26
- checkpoint_path="/n/netscratch/mzitnik_lab/Lab/zzx/af3-model/model_v0.2.0.pt"
27
-
28
-
29
- python3 ./runner/train.py \
30
- --run_name protenix_new_finetune \
31
- --seed 41 \
32
- --base_dir /n/netscratch/mzitnik_lab/Lab/zzx/output \
33
- --dtype bf16 \
34
- --project protenix \
35
- --use_wandb True \
36
- --diffusion_batch_size 48 \
37
- --eval_interval 10000 \
38
- --log_interval 5 \
39
- --checkpoint_interval 200 \
40
- --ema_decay 0.999 \
41
- --train_crop_size 384 \
42
- --max_steps 10000 \
43
- --warmup_steps 2000 \
44
- --lr 0.001 \
45
- --sample_diffusion.N_step 20 \
46
- --load_checkpoint_path ${checkpoint_path} \
47
- --load_ema_checkpoint_path ${checkpoint_path} \
48
- --data.train_sets weightedPDB_before2109_wopb_nometalc_0925 \
49
- --data.test_sets recentPDB_1536_sample384_0925