-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
38dad60
commit 0cd896b
Showing
1 changed file
with
10 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,17 @@ | ||
# Upgrade pip | ||
python -m pip install --upgrade pip | ||
python -m pip install flake8 pytest pytest-cov hydra-core tqdm | ||
|
||
# Not using nightly torch | ||
# Install dependencies | ||
python -m pip install flake8 pytest pytest-cov hydra-core tqdm | ||
python -m pip install torch torchvision | ||
# python -m pip install --pre torch --extra-index-url https://download.pytorch.org/whl/nightly/cpu --force-reinstall | ||
|
||
python -m pip torchrl | ||
python -m pip install rdkit==2023.3.3 | ||
python -m pip MolScore | ||
python -m pip promptsmiles | ||
python -m pip transformers | ||
# Ensure dependencies are installed in the right order | ||
python -m pip install transformers promptsmiles torchrl rdkit==2023.3.3 MolScore | ||
|
||
# Verify installations | ||
python -c "import transformers; print(transformers.__version__)" | ||
python -c "import promptsmiles; print(promptsmiles.__version__)" | ||
|
||
# Install local package | ||
cd ../acegen-open | ||
pip install -e . |