Skip to content

Commit

Permalink
test: remove gpu memory allocation
Browse files Browse the repository at this point in the history
to run the test by Github actions
  • Loading branch information
soran-ghaderi committed May 30, 2023
1 parent 504a2fc commit 4a4ada7
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions tests/layers/test_addnorm.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@

from transformerx.layers import AddNorm

physical_devices = tf.config.list_physical_devices("GPU")
tf.config.experimental.set_memory_growth(physical_devices[0], True)


class TestAddNorm:
def test_init(self):
Expand Down

0 comments on commit 4a4ada7

Please sign in to comment.