-
-
Notifications
You must be signed in to change notification settings - Fork 95
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Keep test suite memory usage under 3GB for CI (#360)
* Split tests to be under Travis 3GB memory limit * CI should install package * Loss function test, fix random seed for reproducibility
- Loading branch information
Showing
10 changed files
with
243 additions
and
90 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
# Copyright 2017 the Arraymancer contributors | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
|
||
# Tests were split to save on memory | ||
# (https://github.com/mratsim/Arraymancer/issues/359#issuecomment-500107895) | ||
|
||
import ../io/test_csv, | ||
../io/test_numpy, | ||
../datasets/test_mnist, | ||
../datasets/test_imdb, | ||
../nn_primitives/test_nnp_numerical_gradient, | ||
../nn_primitives/test_nnp_convolution, | ||
../nn_primitives/test_nnp_loss, | ||
../nn_primitives/test_nnp_maxpool, | ||
../nn_primitives/test_nnp_gru, | ||
../nn_primitives/test_nnp_embedding, | ||
../autograd/test_gate_basic, | ||
../autograd/test_gate_blas, | ||
../autograd/test_gate_hadamard, | ||
../autograd/test_gate_shapeshifting, | ||
../ml/test_metrics, | ||
../test_bugtracker | ||
|
||
when not defined(windows) and not sizeof(int) == 4: | ||
# STB image does not work on windows 32-bit, https://github.com/mratsim/Arraymancer/issues/358 | ||
import ../io/test_image | ||
|
||
when not defined(no_lapack): | ||
import ../linear_algebra/test_linear_algebra, | ||
../ml/test_dimensionality_reduction, | ||
../ml/test_clustering | ||
|
||
import ../stability_tests/test_stability_openmp, | ||
# /end_to_end/examples_compile | ||
../end_to_end/examples_run |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# Copyright 2017-Present Mamy André-Ratsimbazafy & the Arraymancer contributors | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
|
||
# Split tests to save on memory | ||
# (https://github.com/mratsim/Arraymancer/issues/359#issuecomment-500107895) | ||
|
||
import | ||
../tensor/test_init, | ||
../tensor/test_operators_comparison, | ||
../tensor/test_accessors, | ||
../tensor/test_accessors_slicer, | ||
../tensor/test_display |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# Copyright 2017-Present Mamy André-Ratsimbazafy & the Arraymancer contributors | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
|
||
# Split tests to save on memory | ||
# (https://github.com/mratsim/Arraymancer/issues/359#issuecomment-500107895) | ||
|
||
import | ||
../tensor/test_operators_blas |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# Copyright 2017-Present Mamy André-Ratsimbazafy & the Arraymancer contributors | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
|
||
# Split tests to save on memory | ||
# (https://github.com/mratsim/Arraymancer/issues/359#issuecomment-500107895) | ||
|
||
import | ||
../tensor/test_math_functions, | ||
../tensor/test_higherorder, | ||
../tensor/test_aggregate |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# Copyright 2017-Present Mamy André-Ratsimbazafy & the Arraymancer contributors | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
|
||
# Split tests to save on memory | ||
# (https://github.com/mratsim/Arraymancer/issues/359#issuecomment-500107895) | ||
|
||
import | ||
../tensor/test_shapeshifting, | ||
../tensor/test_broadcasting |
Oops, something went wrong.