协作头脑风暴
brainstorming
在实现前澄清需求、探索设计选择,并形成清晰的开发方向。
core-model【开发与工程】Guide construction and execution of the verified Alphafold2 sequence/MSA trunk and direct Evoformer API, including distogram and angle-logit prediction, masks, templates, extra MSA inputs, embeddings, and supported trunk configuration.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this skill when the request is to build or run alphafold2_pytorch.Alphafold2, configure its Evoformer trunk, supply sequence/MSA/template features or masks, or diagnose core shape and output-routing errors.
alphafold2-pytorch==0.4.32 with its native scientific dependencies, then verify import alphafold2_pytorch.Alphafold2(dim=16, depth=1, heads=1, dim_head=16) and call model.eval() with torch.no_grad() for inference.seq as integer shape (B, N), an optional integer msa shape (B, M, N), and boolean mask/msa_mask with matching shapes. The inspected source asserts that MSA width equals primary-sequence width; do not follow the README examples that use different widths.ReturnValues.distance for distogram logits. Set predict_angles=True to additionally read theta_logits, phi_logits, and omega_logits; the source returns an object, not the tuple shown in the README.Evoformer route in the API reference; it returns updated representations and does not produce distogram or angle logits itself.The exact contracts, source/installed provenance, template and embedding dimensions, supported knobs, and drift warnings are in the linked references. Do not claim README-only flags such as reversible, use_conv, sparse/linear/Kronecker/compressed attention, or custom_block_types are constructor features at this version: they are absent from the inspected public signature.