Traceback (most recent call last):


 "/private/tmp/venv/lib/python3.8/site-packages/vispy/gloo/gl/_gl2.py", line 442, in glEnable

nativefunc = glEnable._native
AttributeError: 'function' object has no attribute '_native'

Traceback (most recent call last):


 "test_sync_batchnorm.py", line 77, in testSyncBatchNormNormalEval

self._checkBatchNormResult(bn, sync_bn, torch.rand(16, 10), False)


 "test_sync_batchnorm.py", line 61, in _checkBatchNormResult

self.assertTensorClose(input1.data, input2.data)


 "/home/liuyongcheng/3dcls/scannet/embed/scancls_embed13/syncbn/unittest.py", line 28, in assertTensorClose

self.assertTrue(torch.allclose(x, y), message)
AttributeError: module 'torch' has no attribute 'allclose'
