Zaixi commited on
Commit
3359cc5
·
verified ·
1 Parent(s): 451972f

Delete inference_demo.sh

Browse files
Files changed (1) hide show
  1. inference_demo.sh +0 -44
inference_demo.sh DELETED
@@ -1,44 +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
-
18
- export CUTLASS_PATH=/n/holylabs/LABS/mzitnik_lab/Users/zaixizhang/cutlass
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
-
27
- N_sample=5
28
- N_step=200
29
- N_cycle=10
30
- seed=112
31
- use_deepspeed_evo_attention=true
32
- input_json_path="./examples/example_with_msa.json"
33
- dump_dir="./output"
34
- #load_checkpoint_path="/n/netscratch/mzitnik_lab/Lab/zzx/af3-model/model_v0.2.0.pt"
35
- load_checkpoint_path='./checkpoint.pt'
36
-
37
- python3 runner/inference.py \
38
- --seeds ${seed} \
39
- --load_checkpoint_path ${load_checkpoint_path} \
40
- --dump_dir ${dump_dir} \
41
- --input_json_path ${input_json_path} \
42
- --model.N_cycle ${N_cycle} \
43
- --sample_diffusion.N_sample ${N_sample} \
44
- --sample_diffusion.N_step ${N_step}