Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is there any way to use BindsNet on RTX 3090? #585

Closed
leibniz21c opened this issue Sep 20, 2022 · 1 comment
Closed

Is there any way to use BindsNet on RTX 3090? #585

leibniz21c opened this issue Sep 20, 2022 · 1 comment

Comments

@leibniz21c
Copy link

Following is my docker file

FROM python:3.8.14

# copy dependencies
COPY requirements.txt .

# Dependencies
RUN apt-get update && \
    apt-get install -y git libgl1-mesa-glx && \
    pip3 install --upgrade pip && \
    pip3 install git+https://github.com/BindsNET/bindsnet.git && \
    pip3 install torch==1.7.1+cu110 torchvision==0.8.2+cu110 -f https://download.pytorch.org/whl/torch_stable.html && \
    pip3 install -r requirements.txt 

On the RTX 3090,
we may use Python 3.8 or later and the version of PyTorch specified above.
Can we use BindsNet at this time?

Thanks you for always.

@Hananel-Hazan
Copy link
Collaborator

BindsNET use PyTorch as a back end computation, using GPU is the preferred way to use BindsNET.

However, using the newest version of BindsNET with PyTorch 1.7 may cause some issues, namely some bugs and syntax changes from PyTorch 1.7 to the current version 1.12

Maybe you should use an older version of BindsNET, version that doesn't use poetry and the new pip installation, one that use requirements.txt like BindsNET version 0.2.9

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants