Home
last modified time | relevance | path

Searched refs:RuntimeError (Results 1 – 25 of 646) sorted by relevance

12345678910>>...26

/third_party/mindspore/mindspore/_extends/parse/
Dtrope.py53 raise RuntimeError('This operation is not meant to be called directly.')
58 raise RuntimeError('This operation is not meant to be called directly.')
63 raise RuntimeError('This operation is not meant to be called directly.')
68 raise RuntimeError('This operation is not meant to be called directly.')
73 raise RuntimeError('This operation is not meant to be called directly.')
78 raise RuntimeError('This operation is not meant to be called directly.')
83 raise RuntimeError('This operation is not meant to be called directly.')
88 raise RuntimeError('This operation is not meant to be called directly.')
93 raise RuntimeError('This operation is not meant to be called directly.')
98 raise RuntimeError('This operation is not meant to be called directly.')
[all …]
/third_party/mindspore/mindspore/ops/_op_impl/_custom_op/
D_basic.py46 raise RuntimeError("input shape M and N can't both be 1")
50 raise RuntimeError("reduce axis not same")
53 raise RuntimeError(
58 raise RuntimeError("input shape K1 should be multiple of %d"
61 raise RuntimeError(
65 raise RuntimeError("input shape K1 should be multiple of %d"
76 raise RuntimeError("broadcast case shape bias for gemv must be equal m*n")
78 raise RuntimeError("broadcast bias shape must be equal to shape n")
81 raise RuntimeError("non broadcast bias shape must be same as output shape")
83 raise RuntimeError("Unsupported input shape now for batch bias case")
[all …]
/third_party/mindspore/tests/ut/python/dataset/
Dtest_cache_map.py59 raise RuntimeError("Testcase requires SESSION_ID environment variable")
93 raise RuntimeError("Testcase requires SESSION_ID environment variable")
118 raise RuntimeError("Testcase requires SESSION_ID environment variable")
157 raise RuntimeError("Testcase requires SESSION_ID environment variable")
192 raise RuntimeError("Testcase requires SESSION_ID environment variable")
227 raise RuntimeError("Testcase requires SESSION_ID environment variable")
238 with pytest.raises(RuntimeError) as e:
242 with pytest.raises(RuntimeError) as e:
272 raise RuntimeError("Testcase requires SESSION_ID environment variable")
284 with pytest.raises(RuntimeError) as e:
[all …]
Dtest_cache_nomap.py62 raise RuntimeError("Testcase requires SESSION_ID environment variable")
96 raise RuntimeError("Testcase requires SESSION_ID environment variable")
140 raise RuntimeError("Testcase requires SESSION_ID environment variable")
188 raise RuntimeError("Testcase requires SESSION_ID environment variable")
236 raise RuntimeError("Testcase requires SESSION_ID environment variable")
275 raise RuntimeError("Testcase requires SESSION_ID environment variable")
319 raise RuntimeError("Testcase requires SESSION_ID environment variable")
351 raise RuntimeError("Testcase requires SESSION_ID environment variable")
377 raise RuntimeError("Testcase requires SESSION_ID environment variable")
383 with pytest.raises(RuntimeError) as e:
[all …]
Dtest_datasets_coco.py302 except RuntimeError as e:
310 except RuntimeError as e:
318 except RuntimeError as e:
339 except RuntimeError as e:
349 except RuntimeError as e:
358 except RuntimeError as e:
367 except RuntimeError as e:
376 except RuntimeError as e:
386 except RuntimeError as e:
395 except RuntimeError as e:
[all …]
Dtest_datasets_voc.py218 except RuntimeError:
226 except RuntimeError:
234 except RuntimeError:
242 except RuntimeError as e:
254 except RuntimeError as e:
264 except RuntimeError as e:
273 except RuntimeError as e:
282 except RuntimeError as e:
291 except RuntimeError as e:
300 except RuntimeError as e:
[all …]
Dtest_datasets_cifarop.py186 with pytest.raises(RuntimeError, match=error_msg_1):
190 with pytest.raises(RuntimeError, match=error_msg_2):
194 with pytest.raises(RuntimeError, match=error_msg_3):
198 with pytest.raises(RuntimeError, match=error_msg_4):
214 with pytest.raises(RuntimeError, match=error_msg_7):
336 with pytest.raises(RuntimeError, match=error_msg_1):
340 with pytest.raises(RuntimeError, match=error_msg_2):
344 with pytest.raises(RuntimeError, match=error_msg_3):
348 with pytest.raises(RuntimeError, match=error_msg_4):
364 with pytest.raises(RuntimeError, match=error_msg_7):
[all …]
Dtest_to_number_op.py48 with pytest.raises(RuntimeError) as info:
100 with pytest.raises(RuntimeError) as info:
128 with pytest.raises(RuntimeError) as info:
137 with pytest.raises(RuntimeError) as info:
146 with pytest.raises(RuntimeError) as info:
157 with pytest.raises(RuntimeError) as info:
166 with pytest.raises(RuntimeError) as info:
175 with pytest.raises(RuntimeError) as info:
208 with pytest.raises(RuntimeError) as info:
/third_party/mindspore/tests/ut/python/parallel/
Dtest_conv2d.py73 with pytest.raises(RuntimeError):
109 with pytest.raises(RuntimeError):
119 with pytest.raises(RuntimeError):
158 with pytest.raises(RuntimeError):
167 with pytest.raises(RuntimeError):
176 with pytest.raises(RuntimeError):
185 with pytest.raises(RuntimeError):
194 with pytest.raises(RuntimeError):
203 with pytest.raises(RuntimeError):
212 with pytest.raises(RuntimeError):
[all …]
Dtest_manual_embedding_lookup.py117 with pytest.raises(RuntimeError):
133 with pytest.raises(RuntimeError):
143 with pytest.raises(RuntimeError):
153 with pytest.raises(RuntimeError):
163 with pytest.raises(RuntimeError):
173 with pytest.raises(RuntimeError):
183 with pytest.raises(RuntimeError):
193 with pytest.raises(RuntimeError):
203 with pytest.raises(RuntimeError):
Dtest_manual_gatherv2.py110 with pytest.raises(RuntimeError):
120 with pytest.raises(RuntimeError):
130 with pytest.raises(RuntimeError):
140 with pytest.raises(RuntimeError):
150 with pytest.raises(RuntimeError):
160 with pytest.raises(RuntimeError):
170 with pytest.raises(RuntimeError):
180 with pytest.raises(RuntimeError):
190 with pytest.raises(RuntimeError):
/third_party/mindspore/mindspore/communication/
D_hccl_management.py78 raise RuntimeError('Get hccl lib error.')
122 raise RuntimeError('Create group error, the error code is ' + str(ret))
141 raise RuntimeError('Destroy group error.')
163 raise RuntimeError('Get rank size error.')
184 raise RuntimeError('Get rank id error.')
205 raise RuntimeError('Get local rank size error.')
224 raise RuntimeError('Get local rank id error.')
246 raise RuntimeError('Get world rank from group rank error.')
268 raise RuntimeError('Get group rank from world rank error.')
D_comm_helper.py34 except RuntimeError:
156 raise RuntimeError("Distributed Communication has not been inited")
167 raise RuntimeError("Distributed Communication doesn't have HCCL built in")
169 raise RuntimeError("Distributed Communication doesn't have MPI built in")
171 raise RuntimeError("Distributed Communication doesn't have NCCL built in")
239 raise RuntimeError("Nccl doesn't support get_local_rank_id now.")
300 raise RuntimeError("Nccl doesn't support get_local_rank_size now.")
331 raise RuntimeError("Nccl doesn't support get_world_rank_from_group_rank now.")
362 raise RuntimeError("Nccl doesn't support get_group_rank_from_world_rank now.")
401 raise RuntimeError("Nccl doesn't support create_group now.")
[all …]
/third_party/mesa3d/src/mapi/glapi/gen/
Dtypeexpr.py123 … raise RuntimeError("create_initial_types must be called before creating type_expression objects.")
157 raise RuntimeError("Invalid type expression (dangling pointer)")
160 … raise RuntimeError("Invalid type expression (signed / unsigned applied to pointer)")
167 …raise RuntimeError('Invalid type expression (garbage after pointer qualifier -> "%s")' % (self.ori…
175 raise RuntimeError("Invalid type expression (both signed and unsigned specified)")
179 raise RuntimeError("Invalid type expression (dangling const)")
182 raise RuntimeError("Invalid type expression (dangling signed)")
185 raise RuntimeError("Invalid type expression (dangling unsigned)")
196 raise RuntimeError('Unknown base type "%s".' % (type_name))
/third_party/mindspore/mindspore/profiler/common/validator/
Dvalidate_path.py42 raise RuntimeError("The path is invalid!")
48 raise RuntimeError("The parent path is not allowed!")
53 raise RuntimeError("The path is invalid!")
58 raise RuntimeError("The path is invalid!")
/third_party/mindspore/tests/st/ops/custom_ops_tbe/
Dconv_layer.py58 raise RuntimeError("bias dtype should be bool.")
79 raise RuntimeError("All Offset mode quantize not support.")
81 raise RuntimeError("Invalid quantize algorithm.")
101 raise RuntimeError("Not support in/out data type for quantize.")
104 raise RuntimeError("Invalid Quantize Config.")
108 raise RuntimeError("Invalid Quantize Config.")
113 raise RuntimeError("Invalid Quantize Config.")
115 raise RuntimeError("Invalid Quantize Config.")
117 raise RuntimeError("Invalid Quantize Config.")
121 raise RuntimeError("Dimension must be %d when padh is a list." % PAD_SHAPE_DIM)
[all …]
/third_party/python/Lib/test/
Dtest_iterlen.py74 self.assertRaises(RuntimeError, next, it)
192 raise RuntimeError('hello')
200 raise RuntimeError('hello')
214 self.assertRaises(RuntimeError, list, BadLen())
215 self.assertRaises(RuntimeError, list, BadLengthHint())
216 self.assertRaises(RuntimeError, [].extend, BadLen())
217 self.assertRaises(RuntimeError, [].extend, BadLengthHint())
219 self.assertRaises(RuntimeError, b.extend, BadLen())
220 self.assertRaises(RuntimeError, b.extend, BadLengthHint())
Dtest_isinstance.py46 raise RuntimeError
59 self.assertRaises(RuntimeError, isinstance, I(), C())
68 raise RuntimeError
71 self.assertRaises(RuntimeError, isinstance, I(), C())
90 raise RuntimeError
94 self.assertRaises(RuntimeError, isinstance, c, bool)
98 self.assertRaises(RuntimeError, isinstance, c, D)
108 raise RuntimeError
113 self.assertRaises(RuntimeError, issubclass, C(), S())
134 raise RuntimeError
[all …]
Dtest_with.py61 raise RuntimeError("Context is not reentrant")
166 raise RuntimeError("Enter threw")
175 self.assertRaises(RuntimeError, shouldThrow)
183 raise RuntimeError(42)
187 self.assertRaises(RuntimeError, shouldThrow)
192 self.TEST_EXCEPTION = RuntimeError("test exception")
363 self.assertRaises(RuntimeError, shouldThrow)
388 self.assertRaises(RuntimeError, shouldThrow)
406 self.assertRaises(RuntimeError, shouldThrow)
424 self.assertRaises(RuntimeError, shouldThrow)
[all …]
/third_party/mindspore/mindspore/parallel/
D_dp_allreduce_fusion.py27 raise RuntimeError('Get hccl lib error')
69 except RuntimeError:
101 raise RuntimeError('Allreduce split error')
129 except RuntimeError:
157 raise RuntimeError('Allreduce split error')
/third_party/mindspore/tests/ut/python/mindrecord/
Dtest_mindrecord_exception.py108 with pytest.raises(RuntimeError) as err:
117 with pytest.raises(RuntimeError) as err:
129 with pytest.raises(RuntimeError) as err:
140 with pytest.raises(RuntimeError) as err:
151 with pytest.raises(RuntimeError) as err:
162 with pytest.raises(RuntimeError) as err:
173 with pytest.raises(RuntimeError) as err:
183 with pytest.raises(RuntimeError) as err:
194 with pytest.raises(RuntimeError) as err:
205 with pytest.raises(RuntimeError) as err:
[all …]
/third_party/mindspore/mindspore/_extends/parallel_compile/akg_compiler/
Dget_file_path.py24 raise RuntimeError("Cannot find mindspore module!")
29 raise RuntimeError("Find module mindspore origin file failed!")
32 raise RuntimeError("Cannot find akg from mindspore module!")
/third_party/vk-gl-cts/scripts/
Dcheck_swiftshader_runtime.py39 raise RuntimeError("Python version needs to be 3 or greater.")
146 raise RuntimeError("go not found. (apt-get install -y golang-go)")
148 raise RuntimeError("CMake not found. (version 3.13 or later needed)")
150 raise RuntimeError("Ninja not found. (apt-get install -y ninja-build)")
152 raise RuntimeError("Git not found. (apt-get install -y git)")
154 raise RuntimeError("vk-gl-cts source directory must be provided. Use --help for more info.")
200 … raise RuntimeError("Skipped four lines, no starting line found. Has the file order changed?")
263 …raise RuntimeError(f"Expected PASS, FAIL, NOT_SUPPORTED, UNSUPPORTED, CRASH, COMPATIBILITY_WARNING…
327 raise RuntimeError(f"Tests in different locations: {t0['Test']}\n")
479 …raise RuntimeError("No comparable files provided. Please provide them with flag --files. Use --hel…
/third_party/python/Lib/
Dfileinput.py88 raise RuntimeError("input() already active")
112 raise RuntimeError("no active input()")
121 raise RuntimeError("no active input()")
131 raise RuntimeError("no active input()")
141 raise RuntimeError("no active input()")
150 raise RuntimeError("no active input()")
159 raise RuntimeError("no active input()")
168 raise RuntimeError("no active input()")
274 raise RuntimeError("accessing lines out of order")
/third_party/python/Lib/test/test_asyncio/
Dtest_futures.py144 with self.assertRaisesRegex(RuntimeError, 'There is no current event loop'):
180 with self.assertRaises((RuntimeError, AttributeError)):
184 with self.assertRaises((RuntimeError, AttributeError)):
188 with self.assertRaises((RuntimeError, AttributeError)):
192 with self.assertRaises((RuntimeError, AttributeError)):
196 with self.assertRaises((RuntimeError, AttributeError)):
202 except (RuntimeError, AttributeError):
208 except RuntimeError:
214 except RuntimeError:
267 exc = RuntimeError()
[all …]

12345678910>>...26