Skip to content

Commit

Permalink
Resolve conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
Routhleck committed Feb 23, 2024
1 parent 86cc096 commit 76202d5
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
2 changes: 1 addition & 1 deletion brainpy/_src/dependency_check.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
'import_brainpylib_gpu_ops',
]

_minimal_brainpylib_version = '0.1.10'
_minimal_brainpylib_version = '0.2.6'
_minimal_taichi_version = (1, 7, 0)

taichi = None
Expand Down
5 changes: 3 additions & 2 deletions brainpy/_src/dnn/tests/test_linear.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
import pytest
import brainpy as bp
from absl.testing import parameterized
from absl.testing import absltest
from absl.testing import parameterized

import brainpy as bp
import brainpy.math as bm

from brainpy._src.dependency_check import import_taichi
Expand Down
6 changes: 4 additions & 2 deletions brainpy/_src/dnn/tests/test_mode.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
import pytest
import brainpy.math as bm
from absl.testing import parameterized
from absl.testing import absltest
from absl.testing import parameterized

import brainpy as bp
import brainpy.math as bm

from brainpy._src.dependency_check import import_taichi

if import_taichi(error_if_not_found=False) is None:
pytest.skip('no taichi', allow_module_level=True)

Expand Down

0 comments on commit 76202d5

Please sign in to comment.