CEBRA icon indicating copy to clipboard operation
CEBRA copied to clipboard

Numpy version

Open CrMaBaPu opened this issue 5 months ago • 4 comments

Is there an existing issue for this?

  • [x] I have searched the existing issues

Bug description

numpy < 2.0 (per its requirements) but the code uses numpy >= 2.0 features

Operating System

operating system: Windows

CEBRA version

cebra version

Device type

gpu

Steps To Reproduce

  1. do pip install
  2. run import cebra
  3. see error

Relevant log output


Anything else?

No response

Code of Conduct

CrMaBaPu avatar Jun 19 '25 07:06 CrMaBaPu

Please fill the issue completely; which version of cebra are you testing, and how did you install it, if locally importing.

MMathisLab avatar Jun 19 '25 07:06 MMathisLab

Dear @CrMaBaPu in particular the python version, the output of pip freeze and the full error mesasge would be required.

stes avatar Jun 19 '25 10:06 stes

Dear @CrMaBaPu, any further details you could provide here?

stes avatar Jun 22 '25 15:06 stes

"but the code uses numpy >= 2.0 features"

in particular, it would be good to highlight this; as currently we run tests on Windows using numpy 1.X which all pass (see here https://github.com/AdaptiveMotorControlLab/CEBRA/actions/runs/15589654316/job/43905108653), in particular we use [ref]:

Collecting numpy<2.0 (from cebra==0.6.0a2)
  Downloading numpy-1.26.4-cp310-cp310-win_amd64.whl.metadata (61 kB)

Caveat: the test only runs on CPU; anything GPU specific you are observing?

stes avatar Jun 22 '25 15:06 stes

Dear @CrMaBaPu , I am closing this issue due to inactivity. If you continue to encounter this issue, please feel free to re-open is an updated description.

stes avatar Aug 02 '25 15:08 stes