You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 22, 2024. It is now read-only.
There's currently no conda-forge recipe for FARM, it expects to install several pre-reqs using pip. I was able to substitute in conda packages for many of those reqs using the Anaconda, WML CE, and Supplementary channels (didn't have the presence of mind to include conda-forge).
In case it helps anyone else, I was able to get FARM to build against WML CE 1.6.2 PyTorch with:
#!/bin/bash -i
set -e
# Update conda config to include WML CE production and Supplmentary channels
conda config --prepend channels https://public.dhe.ibm.com/ibmdl/export/pub/software/server/ibm-ai/conda/
conda config --append channels powerai
# Install and activate WML CE 1.6.2 PyTorch environment
export IBM_POWERAI_LICENSE_ACCEPT=yes
conda create -y -n FARM python=3.6 pytorch powerai-release=1.6.2
conda activate FARM
# Install as many FARM requisites as possible from conda
conda install -y alembic boto3 "configparser>=0.3.5" entrypoints flask \
flask-cors "gitdb2>=2.0.0" "gitpython>=2.1.0" gunicorn jsonschema \
"keras>=2.2.4" mako pandas "pyrsistent>=0.14.0" "python-editor>=0.3" regex \
requests scikit-learn scipy sentencepiece setuptools simplejson \
"smmap2>=2.0.0" sqlalchemy sqlparse tqdm "websocket-client>=0.32.0" wheel
# Install other FARM requisites using pip
pip install transformers==2.1.1
pip install flask-restplus
pip install dotmap==1.3.0
pip install seqeval
pip install mlflow==1.0.0
# Clone and install latest FARM
git clone https://github.com/deepset-ai/FARM.git
cd FARM
pip install -e .
exit 0
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Please add FARM: https://github.com/deepset-ai/FARM
There's currently no conda-forge recipe for FARM, it expects to install several pre-reqs using pip. I was able to substitute in conda packages for many of those reqs using the Anaconda, WML CE, and Supplementary channels (didn't have the presence of mind to include conda-forge).
In case it helps anyone else, I was able to get FARM to build against WML CE 1.6.2 PyTorch with:
The text was updated successfully, but these errors were encountered: