本家様 https://github.com/jwohlwend/boltz
pipy https://pypi.org/project/boltz/
pipyの内容から Python <3.13, >=3.10 が動作条件っぽい

source /apps/pyenv/versions/anaconda3-2024.10-1/etc/profile.d/conda.sh
 
(Boltz-2)
conda create -n Boltz-2 pip python=3.12 -c conda-forge
conda activate Boltz-2
pip install boltz==2.1.1
conda list
 :
boltz                     2.1.1                    pypi_0    pyp
 
conda deactivate
 
(Boltz-1)
conda create -n Boltz-1 pip python=3.12 -c conda-forge
conda activate Boltz-1
pip install boltz==1.0.0
conda deactivate
 

「/apps/modulefiles/boltz-2」

#%Module
set          root /apps/pyenv/versions/anaconda3-2024.10-1/envs/Boltz-2
prepend-path PATH $root/bin

「/apps/modulefiles/boltz-1」

#%Module
set          root /apps/pyenv/versions/anaconda3-2024.10-1/envs/Boltz-1
prepend-path PATH $root/bin

「boltz --help」

Usage: boltz [OPTIONS] COMMAND [ARGS]...
 
  Boltz1.
 
Options:
  --help  Show this message and exit.
 
Commands:
  predict  Run predictions with Boltz-1.

「boltz predict --help」

Usage: boltz predict [OPTIONS] DATA
 
  Run predictions with Boltz-1.
 
Options:
  --out_dir PATH               The path where to save the predictions.
  --cache PATH                 The directory where to download the data and
                               model. Default is ~/.boltz.
  --checkpoint PATH            An optional checkpoint, will use the provided
                               Boltz-1 model by default.
  --devices INTEGER            The number of devices to use for prediction.
                               Default is 1.
  --accelerator [gpu|cpu|tpu]  The accelerator to use for prediction. Default
                               is gpu.
  --recycling_steps INTEGER    The number of recycling steps to use for
                               prediction. Default is 3.
  --sampling_steps INTEGER     The number of sampling steps to use for
                               prediction. Default is 200.
  --diffusion_samples INTEGER  The number of diffusion samples to use for
                               prediction. Default is 1.
  --step_scale FLOAT           The step size is related to the temperature at
                               which the diffusion process samples the
                               distribution.The lower the higher the diversity
                               among samples (recommended between 1 and 2).
                               Default is 1.638.
  --write_full_pae             Whether to dump the pae into a npz file.
                               Default is True.
  --write_full_pde             Whether to dump the pde into a npz file.
                               Default is False.
  --output_format [pdb|mmcif]  The output format to use for the predictions.
                               Default is mmcif.
  --num_workers INTEGER        The number of dataloader workers to use for
                               prediction. Default is 2.
  --override                   Whether to override existing found predictions.
                               Default is False.
  --seed INTEGER               Seed to use for random number generator.
                               Default is None (no seeding).
  --use_msa_server             Whether to use the MMSeqs2 server for MSA
                               generation. Default is False.
  --msa_server_url TEXT        MSA server url. Used only if --use_msa_server
                               is set.
  --msa_pairing_strategy TEXT  Pairing strategy to use. Used only if
                               --use_msa_server is set. Options are 'greedy'
                               and 'complete'
  --help                       Show this message and exit.

Bolts-gui

本家様 https://github.com/ravishar313/boltz-gui

製作中

下準備 npm のインストール. npmは18以上が必要なので

[root@rockylinux8 ~]# cat /etc/redhat-release
Rocky Linux release 8.10 (Green Obsidian)
 
[root@rockylinux8 ~]# dnf module list nodejs
Last metadata expiration check: 0:10:33 ago on Mon 23 Jun 2025 09:58:38 PM JST.
Rocky Linux 8 - AppStream
Name              Stream              Profiles                                        Summary
nodejs            10 [d][e]           common [d], development, minimal, s2i           Javascript runtime
nodejs            12                  common [d], development, minimal, s2i           Javascript runtime
nodejs            14                  common [d], development, minimal, s2i           Javascript runtime
nodejs            16                  common [d], development, minimal, s2i           Javascript runtime
nodejs            18                  common [d], development, minimal, s2i           Javascript runtime
nodejs            20                  common [d], development, minimal, s2i           Javascript runtime
nodejs            22                  common, development, minimal, s2i               Javascript runtime
 
Hint: [d]efault, [e]nabled, [x]disabled, [i]nstalled
[root@rockylinux8 ~]#
 
[root@rockylinux8 ~]# dnf module install nodejs:18     <-- エラーが出るなら「dnf module reset nodejs」を実行

あとは各自のユーザディレクトリで作ってください

[saber@rockylinux8 ~]$ echo $PATH
/home/saber/.local/bin:/home/saber/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin
 
[saber@rockylinux8 ~]$ curl -LsSf https://astral.sh/uv/install.sh | sh
downloading uv 0.7.13 x86_64-unknown-linux-gnu
no checksums to verify
installing to /home/saber/.local/bin
  uv
  uvx
everything's installed!
 
[saber@rockylinux8 ~]$ uv --version
uv 0.7.13
[saber@rockylinux8 ~]$

boltz-guiパッケージの取得

[saber@rockylinux8 ~]$ git clone https://github.com/ravishar313/boltz-gui

backend の準備

[saber@rockylinux8 ~]$ cd boltz-gui/backend/
 
[saber@rockylinux8 backend]$ uv sync

backend の起動

[saber@rockylinux8 ~]$ cd boltz-gui/backend/
 
[saber@rockylinux8 backend]$ source .venv/bin/activate
 
(boltz-gui) [saber@rockylinux8 backend]$ uv run run_server.py
 
(boltz-gui) [saber@rockylinux8 backend]$ uv run run_server.py
Starting Boltz GUI Server...
Server will be available at: http://localhost:6969
API documentation: http://localhost:6969/docs
Health check: http://localhost:6969/health
Press Ctrl+C to stop the server
INFO:     Will watch for changes in these directories: ['/home/saber/boltz-gui/backend']
INFO:     Uvicorn running on http://0.0.0.0:6969 (Press CTRL+C to quit)
INFO:     Started reloader process [2120] using WatchFiles
INFO:     Started server process [2122]
INFO:     Waiting for application startup.
INFO:     Application startup complete.
INFO:watchfiles.main:11 changes detected
 :
 
(終了するには CTRL+C で止めて)
^CINFO:     Shutting down
INFO:     Waiting for application shutdown.
INFO:     Application shutdown complete.
INFO:     Finished server process [2122]
INFO:     Stopping reloader process [2120]
 
(boltz-gui) [saber@rockylinux8 backend]$ deactivate
 
[saber@rockylinux8 backend]$

backend の起動後に 別のターミナルを開いて frontend の準備

[saber@rockylinux8 ~]$ cd boltz-gui/frontend/
 
[saber@rockylinux8 frontend]$ npm install

frontend を起動します

[saber@rockylinux8 frontend]$ npm run dev
 
(終了するには CTRL+C で止めます)
最新の60件
2025-07-13 2025-07-12 2025-07-11 2025-07-05 2025-07-02 2025-07-01 2025-06-29 2025-06-24 2025-06-23
  • Boltz
2025-06-21 2025-06-18 2025-06-15 2025-06-14 2025-06-11 2025-06-09 2025-06-08 2025-06-07 2025-06-05 2025-06-02 2025-06-01 2025-05-31 2025-05-30 2025-05-25 2025-05-22 2025-05-21 2025-05-20 2025-05-18 2025-05-17 2025-05-14 2025-05-13 2025-05-12 2025-05-11 2025-05-08 2025-05-07 2025-05-06 2025-05-05 2025-05-04 2025-05-03

edit


トップ   編集 差分 履歴 添付 複製 名前変更 リロード   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS
Last-modified: 2025-06-23 (月) 22:20:15