CI change (#645)

* CI update

* Skip large binary test for now

* Upgrade pip

* Add proper env variable skipping

* Update the CI

* Fix workflow name

* Set the low memory flag for the tests

* Change build process

* Add pip upgrade

* Use a venv

* Add a missing env activate

* Add setuptools

* Add twine upload back

* Re-enable automatic release builds
This commit is contained in:
Angelos Katharopoulos
2024-02-07 06:04:34 -08:00
committed by GitHub
parent 146bd69470
commit ea406d5e33
3 changed files with 62 additions and 151 deletions

View File

@@ -1,6 +1,7 @@
# Copyright © 2023-2024 Apple Inc.
import math
import os
import unittest
from itertools import permutations
@@ -1566,6 +1567,10 @@ class TestOps(mlx_tests.MLXTestCase):
d_np = np.take(b_mx, np.arange(kth), axis=axis)
self.assertTrue(np.all(d_np <= c_mx))
@unittest.skipIf(
os.getenv("LOW_MEMORY", None) is not None,
"This test requires a lot of memory",
)
def test_large_binary(self):
a = mx.ones([1000, 2147484], mx.int8)
b = mx.ones([2147484], mx.int8)