metadata
title: GH Space for ODD Data Generation with OpenFractal
emoji: π
colorFrom: purple
colorTo: pink
sdk: docker
pinned: false
app_port: 7860
This HF Space allows you to execute an Openfractal manager in a space.
Under the hood it simply execute the Openfractal client from https://github.com/OpenDrugDiscovery/openfractal-client.
Configurations
Non-confidential Configuration
QCF_COMPUTE_BASE_FOLDER="/tmp/"
QCF_COMPUTE_CLUSTER="manager_demo_1"
QCF_COMPUTE_LOGLEVEL="INFO"
QCF_COMPUTE_UPDATE_FREQUENCY="30"
QCF_COMPUTE_SERVER="{}"
QCF_COMPUTE_SERVER_FRACTAL_URI="https://openfractal-test-pgzbs3yryq-uc.a.run.app"
QCF_COMPUTE_SERVER_VERIFY="false"
QCF_COMPUTE_ENVIRONMENTS_USE_MANAGER_ENVIRONMENT="true"
QCF_COMPUTE_ENVIRONMENTS_CONDA="[]"
QCF_COMPUTE_ENVIRONMENTS_APPTAINER="[]"
QCF_COMPUTE_EXECUTORS='{"local": {"type": "local", "queue_tags": ["demo_hf_space"], "cores_per_worker": 2, "memory_per_worker": 16, "max_workers": 1}}'
Confidential Configuration
To be added in HF Space Secrets in the Space's settings.
QCF_COMPUTE_SERVER_USERNAME="YOUR_USERNAME"
QCF_COMPUTE_SERVER_PASSWORD="YOUR_PASSWORD"
Local Testing
With docker-compose
:
export QCF_COMPUTE_SERVER_USERNAME="YOUR_USERNAME"
export QCF_COMPUTE_SERVER_PASSWORD="YOUR_PASSWORD"
docker-compose run --rm opf_manager