fly.io offers simple access to GPU nodes.
To launch an instance of this algorithm on fly.io follow those steps:
-
Create an account on fly.io.
Beware: to get access to GPU nodes you may need to write them a short mail to ask for access incl. your acounts id, as they are still rolling out their offer. -
Install the fly.io CLI flyctl
-
Clone the repostiory to your local system:
git clone [email protected]:li-il-li/rl-enzyme-engineering.git
-
Create a new 'app' on fly.io:
cd flyio fly launch # Would you like to allocate dedicated ipv4 and ipv6 addresses now? y -> copy IP
-
fly secrets set "AUTHORIZED_KEYS=$(cat ~/.ssh/id_rsa.pub)"
If you want to work on the machine I recommend also setting:
fly secrets set "GIT_NAME=<name>" fly secrets set "GIT_EMAIL=<email>" fly secrets set "GIT_PASSWORD=<password>"
-
Deploy the app:
fly deploy
-
Recommendation: Use VSCode to connect to the instance via SSH or just:
ssh root@<copied_IP>
-
Configure your
wildtype_AA_seq
andligand_smile
inconf.yaml
-
Run algorithm via:
uv run src/main.py
-
Important: When you are done, shutdown the instance:
fly scale count 0
This will scale down the instance but keep the volume (costs!).
To delete the whole app:fly apps destroy rl-enzyme-engineering