-
Notifications
You must be signed in to change notification settings - Fork 2
Setup Repository
Advaith S Rao edited this page Nov 25, 2023
·
1 revision
curl -sSL https://install.python-poetry.org | python3 -
poetry install
Note: If you face an issue of poetry hanging during installation (Specially on Ubuntu systems), do the below
echo 'export PATH="~/.local/bin:$PATH"' >> ~/.bashrc echo 'export PYTHON_KEYRING_BACKEND=keyring.backends.null.Keyring' >> ~/.bashrc source ~/.bashrc poetry install
poetry shell
Follow the steps here to do so
If you are running the fraud detector on a GPU job, kindly run the below line to update torch for GPU. We will be using CUDA=11.8 version of the package, so kindly upgrade your CUDA version to 11.8. You can check your CUDA version using nvcc --version
.
poetry run pip3 uninstall scipy torch torchvision torchtext \
&& poetry run pip3 install --force-reinstall --no-cache-dir scipy==1.11.3 \
&& poetry run pip3 install --no-cache-dir --force-reinstall torch==2.1.0+cu118 torchvision==0.16.0+cu118 torchtext -f https://download.pytorch.org/whl/torch_stable.html