Skip to content

Commit

Permalink
override NVIDIA_TF32_OVERRIDE to avoid accuracy problem in 11.2 and 11.8
Browse files Browse the repository at this point in the history
  • Loading branch information
2742195759 committed Dec 26, 2022
1 parent a4f911d commit 96d510f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions python/paddle/fluid/tests/unittests/test_einsum_0d_tensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,16 @@
# See the License for the specific language governing permissions and
# limitations under the License.

import os
import unittest

import numpy as np
from numpy.testing import assert_allclose

import paddle

os.environ['NVIDIA_TF32_OVERRIDE'] = "0"


class Test0DCase0(unittest.TestCase):
def setUp(self):
Expand Down

0 comments on commit 96d510f

Please sign in to comment.