Spaces:
Running
on
L4
Running
on
L4
Commit
·
4d8b7fe
1
Parent(s):
375ee1a
update duration
Browse files
app.py
CHANGED
|
@@ -7,7 +7,7 @@ from gradio_cofoldinginput import CofoldingInput
|
|
| 7 |
|
| 8 |
import os
|
| 9 |
|
| 10 |
-
@spaces.GPU
|
| 11 |
def predict(jobname, inputs, recycling_steps, sampling_steps, diffusion_samples):
|
| 12 |
|
| 13 |
os.system("boltz predict ligand.fasta")
|
|
|
|
| 7 |
|
| 8 |
import os
|
| 9 |
|
| 10 |
+
@spaces.GPU(duration=300)
|
| 11 |
def predict(jobname, inputs, recycling_steps, sampling_steps, diffusion_samples):
|
| 12 |
|
| 13 |
os.system("boltz predict ligand.fasta")
|
boltz_results_ligand/lightning_logs/version_0/hparams.yaml
ADDED
|
@@ -0,0 +1,107 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
atom_s: 128
|
| 2 |
+
atom_z: 16
|
| 3 |
+
token_s: 384
|
| 4 |
+
token_z: 128
|
| 5 |
+
num_bins: 64
|
| 6 |
+
training_args:
|
| 7 |
+
recycling_steps: 3
|
| 8 |
+
sampling_steps: 20
|
| 9 |
+
diffusion_multiplicity: 16
|
| 10 |
+
diffusion_samples: 2
|
| 11 |
+
confidence_loss_weight: 0.0001
|
| 12 |
+
diffusion_loss_weight: 4.0
|
| 13 |
+
distogram_loss_weight: 0.03
|
| 14 |
+
adam_beta_1: 0.9
|
| 15 |
+
adam_beta_2: 0.95
|
| 16 |
+
adam_eps: 1.0e-08
|
| 17 |
+
lr_scheduler: af3
|
| 18 |
+
base_lr: 0.0
|
| 19 |
+
max_lr: 0.0018
|
| 20 |
+
lr_warmup_no_steps: 1000
|
| 21 |
+
lr_start_decay_after_n_steps: 50000
|
| 22 |
+
lr_decay_every_n_steps: 50000
|
| 23 |
+
lr_decay_factor: 0.95
|
| 24 |
+
validation_args:
|
| 25 |
+
recycling_steps: 3
|
| 26 |
+
sampling_steps: 200
|
| 27 |
+
diffusion_samples: 5
|
| 28 |
+
symmetry_correction: true
|
| 29 |
+
embedder_args:
|
| 30 |
+
atom_encoder_depth: 3
|
| 31 |
+
atom_encoder_heads: 4
|
| 32 |
+
msa_args:
|
| 33 |
+
msa_s: 64
|
| 34 |
+
msa_blocks: 4
|
| 35 |
+
msa_dropout: 0.15
|
| 36 |
+
z_dropout: 0.25
|
| 37 |
+
pairwise_head_width: 32
|
| 38 |
+
pairwise_num_heads: 4
|
| 39 |
+
postpone_outer_product: true
|
| 40 |
+
activation_checkpointing: true
|
| 41 |
+
offload_to_cpu: false
|
| 42 |
+
pairformer_args:
|
| 43 |
+
num_blocks: 48
|
| 44 |
+
num_heads: 16
|
| 45 |
+
dropout: 0.25
|
| 46 |
+
post_layer_norm: false
|
| 47 |
+
activation_checkpointing: true
|
| 48 |
+
offload_to_cpu: false
|
| 49 |
+
score_model_args:
|
| 50 |
+
sigma_data: 16
|
| 51 |
+
dim_fourier: 256
|
| 52 |
+
atom_encoder_depth: 3
|
| 53 |
+
atom_encoder_heads: 4
|
| 54 |
+
token_transformer_depth: 24
|
| 55 |
+
token_transformer_heads: 16
|
| 56 |
+
atom_decoder_depth: 3
|
| 57 |
+
atom_decoder_heads: 4
|
| 58 |
+
conditioning_transition_layers: 2
|
| 59 |
+
activation_checkpointing: true
|
| 60 |
+
offload_to_cpu: false
|
| 61 |
+
diffusion_process_args:
|
| 62 |
+
gamma_0: 0.605
|
| 63 |
+
gamma_min: 1.107
|
| 64 |
+
noise_scale: 0.901
|
| 65 |
+
rho: 8
|
| 66 |
+
step_scale: 1.638
|
| 67 |
+
sigma_min: 0.0004
|
| 68 |
+
sigma_max: 160.0
|
| 69 |
+
sigma_data: 16.0
|
| 70 |
+
P_mean: -1.2
|
| 71 |
+
P_std: 1.5
|
| 72 |
+
coordinate_augmentation: true
|
| 73 |
+
alignment_reverse_diff: true
|
| 74 |
+
synchronize_sigmas: true
|
| 75 |
+
use_inference_model_cache: true
|
| 76 |
+
diffusion_loss_args:
|
| 77 |
+
add_smooth_lddt_loss: true
|
| 78 |
+
nucleotide_loss_weight: 5.0
|
| 79 |
+
ligand_loss_weight: 10.0
|
| 80 |
+
confidence_model_args:
|
| 81 |
+
num_dist_bins: 64
|
| 82 |
+
num_plddt_bins: 50
|
| 83 |
+
num_pde_bins: 64
|
| 84 |
+
num_pae_bins: 64
|
| 85 |
+
max_dist: 22
|
| 86 |
+
atom_feature_dim: 389
|
| 87 |
+
confidence_prediction: false
|
| 88 |
+
confidence_imitate_trunk: false
|
| 89 |
+
alpha_pae: 0.0
|
| 90 |
+
structure_prediction_training: true
|
| 91 |
+
atoms_per_window_queries: 32
|
| 92 |
+
atoms_per_window_keys: 128
|
| 93 |
+
compile_pairformer: false
|
| 94 |
+
compile_structure: false
|
| 95 |
+
compile_confidence: false
|
| 96 |
+
nucleotide_rmsd_weight: 5.0
|
| 97 |
+
ligand_rmsd_weight: 10.0
|
| 98 |
+
no_msa: false
|
| 99 |
+
no_atom_encoder: false
|
| 100 |
+
ema: true
|
| 101 |
+
ema_decay: 0.999
|
| 102 |
+
min_dist: 2.0
|
| 103 |
+
max_dist: 22.0
|
| 104 |
+
predict_args:
|
| 105 |
+
recycling_steps: 3
|
| 106 |
+
sampling_steps: 200
|
| 107 |
+
diffusion_samples: 1
|