Guest User

python-torchsde error in check()

a guest
Jun 17th, 2025
36
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 68.34 KB | None | 0 0
  1. Successfully built torchsde-0.2.6-py3-none-any.whl
  2. ==> Beginne check()...
  3. ============================= test session starts ==============================
  4. platform linux -- Python 3.13.3, pytest-8.3.5, pluggy-1.5.0
  5. benchmark: 4.0.0 (defaults: timer=time.perf_counter disable_gc=False min_rounds=5 min_time=0.000005 max_time=1.0 calibration_precision=10 warmup=False warmup_iterations=100000)
  6. rootdir: /home/photon/.cache/yay/python-torchsde/src/python-torchsde
  7. configfile: pyproject.toml
  8. plugins: anyio-4.9.0, xdist-3.6.1, socket-0.7.0, subtests-0.12.1, time-machine-2.16.0, typeguard-4.4.2, benchmark-4.0.0, requests-mock-1.12.1
  9. collected 1698 items
  10.  
  11. tests/test_adjoint.py .................................................. [ 2%]
  12. ...................... [ 4%]
  13. tests/test_brownian_interval.py .F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F [ 6%]
  14. .F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F..FF..FF..FF..FF..FF.. [ 10%]
  15. FF..FF..FF..FF..FF..FF [ 12%]
  16. tests/test_brownian_path.py .F.F.F [ 12%]
  17. tests/test_brownian_tree.py .F.F.F [ 12%]
  18. tests/test_sdeint.py ................................................... [ 15%]
  19. ........................................................................ [ 20%]
  20. ........................................................................ [ 24%]
  21. ........................................................................ [ 28%]
  22. ........................................................................ [ 32%]
  23. ........................................................................ [ 37%]
  24. ........................................................................ [ 41%]
  25. ........................................................................ [ 45%]
  26. ........................................................................ [ 49%]
  27. ........................................................................ [ 54%]
  28. ........................................................................ [ 58%]
  29. ........................................................................ [ 62%]
  30. ........................................................................ [ 66%]
  31. ........................................................................ [ 70%]
  32. ........................................................................ [ 75%]
  33. ........................................................................ [ 79%]
  34. ........................................................................ [ 83%]
  35. ........................................................................ [ 87%]
  36. ........................................................................ [ 92%]
  37. ........................................................................ [ 96%]
  38. ............................................................. [100%]
  39.  
  40. ======================================== FAILURES =========================================
  41. __________________________ test_shape[none-False-False-device1] ___________________________
  42.  
  43. device = device(type='cuda'), levy_area_approximation = 'none', return_U = False
  44. return_A = False
  45.  
  46. @pytest.mark.parametrize("device", devices)
  47. @pytest.mark.parametrize("levy_area_approximation, return_U, return_A", _levy_returns())
  48. def test_shape(device, levy_area_approximation, return_U, return_A):
  49. if device == gpu and not torch.cuda.is_available():
  50. > pytest.skip(msg="CUDA not available.")
  51. E TypeError: skip() got an unexpected keyword argument 'msg'
  52.  
  53. tests/test_brownian_interval.py:73: TypeError
  54. _______________________ test_shape[space-time-False-False-device1] ________________________
  55.  
  56. device = device(type='cuda'), levy_area_approximation = 'space-time', return_U = False
  57. return_A = False
  58.  
  59. @pytest.mark.parametrize("device", devices)
  60. @pytest.mark.parametrize("levy_area_approximation, return_U, return_A", _levy_returns())
  61. def test_shape(device, levy_area_approximation, return_U, return_A):
  62. if device == gpu and not torch.cuda.is_available():
  63. > pytest.skip(msg="CUDA not available.")
  64. E TypeError: skip() got an unexpected keyword argument 'msg'
  65.  
  66. tests/test_brownian_interval.py:73: TypeError
  67. ________________________ test_shape[space-time-True-False-device1] ________________________
  68.  
  69. device = device(type='cuda'), levy_area_approximation = 'space-time', return_U = True
  70. return_A = False
  71.  
  72. @pytest.mark.parametrize("device", devices)
  73. @pytest.mark.parametrize("levy_area_approximation, return_U, return_A", _levy_returns())
  74. def test_shape(device, levy_area_approximation, return_U, return_A):
  75. if device == gpu and not torch.cuda.is_available():
  76. > pytest.skip(msg="CUDA not available.")
  77. E TypeError: skip() got an unexpected keyword argument 'msg'
  78.  
  79. tests/test_brownian_interval.py:73: TypeError
  80. ___________________________ test_shape[davie-True-True-device1] ___________________________
  81.  
  82. device = device(type='cuda'), levy_area_approximation = 'davie', return_U = True
  83. return_A = True
  84.  
  85. @pytest.mark.parametrize("device", devices)
  86. @pytest.mark.parametrize("levy_area_approximation, return_U, return_A", _levy_returns())
  87. def test_shape(device, levy_area_approximation, return_U, return_A):
  88. if device == gpu and not torch.cuda.is_available():
  89. > pytest.skip(msg="CUDA not available.")
  90. E TypeError: skip() got an unexpected keyword argument 'msg'
  91.  
  92. tests/test_brownian_interval.py:73: TypeError
  93. __________________________ test_shape[davie-True-False-device1] ___________________________
  94.  
  95. device = device(type='cuda'), levy_area_approximation = 'davie', return_U = True
  96. return_A = False
  97.  
  98. @pytest.mark.parametrize("device", devices)
  99. @pytest.mark.parametrize("levy_area_approximation, return_U, return_A", _levy_returns())
  100. def test_shape(device, levy_area_approximation, return_U, return_A):
  101. if device == gpu and not torch.cuda.is_available():
  102. > pytest.skip(msg="CUDA not available.")
  103. E TypeError: skip() got an unexpected keyword argument 'msg'
  104.  
  105. tests/test_brownian_interval.py:73: TypeError
  106. __________________________ test_shape[davie-False-True-device1] ___________________________
  107.  
  108. device = device(type='cuda'), levy_area_approximation = 'davie', return_U = False
  109. return_A = True
  110.  
  111. @pytest.mark.parametrize("device", devices)
  112. @pytest.mark.parametrize("levy_area_approximation, return_U, return_A", _levy_returns())
  113. def test_shape(device, levy_area_approximation, return_U, return_A):
  114. if device == gpu and not torch.cuda.is_available():
  115. > pytest.skip(msg="CUDA not available.")
  116. E TypeError: skip() got an unexpected keyword argument 'msg'
  117.  
  118. tests/test_brownian_interval.py:73: TypeError
  119. __________________________ test_shape[davie-False-False-device1] __________________________
  120.  
  121. device = device(type='cuda'), levy_area_approximation = 'davie', return_U = False
  122. return_A = False
  123.  
  124. @pytest.mark.parametrize("device", devices)
  125. @pytest.mark.parametrize("levy_area_approximation, return_U, return_A", _levy_returns())
  126. def test_shape(device, levy_area_approximation, return_U, return_A):
  127. if device == gpu and not torch.cuda.is_available():
  128. > pytest.skip(msg="CUDA not available.")
  129. E TypeError: skip() got an unexpected keyword argument 'msg'
  130.  
  131. tests/test_brownian_interval.py:73: TypeError
  132. __________________________ test_shape[foster-True-True-device1] ___________________________
  133.  
  134. device = device(type='cuda'), levy_area_approximation = 'foster', return_U = True
  135. return_A = True
  136.  
  137. @pytest.mark.parametrize("device", devices)
  138. @pytest.mark.parametrize("levy_area_approximation, return_U, return_A", _levy_returns())
  139. def test_shape(device, levy_area_approximation, return_U, return_A):
  140. if device == gpu and not torch.cuda.is_available():
  141. > pytest.skip(msg="CUDA not available.")
  142. E TypeError: skip() got an unexpected keyword argument 'msg'
  143.  
  144. tests/test_brownian_interval.py:73: TypeError
  145. __________________________ test_shape[foster-True-False-device1] __________________________
  146.  
  147. device = device(type='cuda'), levy_area_approximation = 'foster', return_U = True
  148. return_A = False
  149.  
  150. @pytest.mark.parametrize("device", devices)
  151. @pytest.mark.parametrize("levy_area_approximation, return_U, return_A", _levy_returns())
  152. def test_shape(device, levy_area_approximation, return_U, return_A):
  153. if device == gpu and not torch.cuda.is_available():
  154. > pytest.skip(msg="CUDA not available.")
  155. E TypeError: skip() got an unexpected keyword argument 'msg'
  156.  
  157. tests/test_brownian_interval.py:73: TypeError
  158. __________________________ test_shape[foster-False-True-device1] __________________________
  159.  
  160. device = device(type='cuda'), levy_area_approximation = 'foster', return_U = False
  161. return_A = True
  162.  
  163. @pytest.mark.parametrize("device", devices)
  164. @pytest.mark.parametrize("levy_area_approximation, return_U, return_A", _levy_returns())
  165. def test_shape(device, levy_area_approximation, return_U, return_A):
  166. if device == gpu and not torch.cuda.is_available():
  167. > pytest.skip(msg="CUDA not available.")
  168. E TypeError: skip() got an unexpected keyword argument 'msg'
  169.  
  170. tests/test_brownian_interval.py:73: TypeError
  171. _________________________ test_shape[foster-False-False-device1] __________________________
  172.  
  173. device = device(type='cuda'), levy_area_approximation = 'foster', return_U = False
  174. return_A = False
  175.  
  176. @pytest.mark.parametrize("device", devices)
  177. @pytest.mark.parametrize("levy_area_approximation, return_U, return_A", _levy_returns())
  178. def test_shape(device, levy_area_approximation, return_U, return_A):
  179. if device == gpu and not torch.cuda.is_available():
  180. > pytest.skip(msg="CUDA not available.")
  181. E TypeError: skip() got an unexpected keyword argument 'msg'
  182.  
  183. tests/test_brownian_interval.py:73: TypeError
  184. ____________________ test_determinism_simple[none-False-False-device1] ____________________
  185.  
  186. device = device(type='cuda'), levy_area_approximation = 'none', return_U = False
  187. return_A = False
  188.  
  189. @pytest.mark.parametrize("device", devices)
  190. @pytest.mark.parametrize("levy_area_approximation, return_U, return_A", _levy_returns())
  191. def test_determinism_simple(device, levy_area_approximation, return_U, return_A):
  192. if device == gpu and not torch.cuda.is_available():
  193. > pytest.skip(msg="CUDA not available.")
  194. E TypeError: skip() got an unexpected keyword argument 'msg'
  195.  
  196. tests/test_brownian_interval.py:114: TypeError
  197. _________________ test_determinism_simple[space-time-False-False-device1] _________________
  198.  
  199. device = device(type='cuda'), levy_area_approximation = 'space-time', return_U = False
  200. return_A = False
  201.  
  202. @pytest.mark.parametrize("device", devices)
  203. @pytest.mark.parametrize("levy_area_approximation, return_U, return_A", _levy_returns())
  204. def test_determinism_simple(device, levy_area_approximation, return_U, return_A):
  205. if device == gpu and not torch.cuda.is_available():
  206. > pytest.skip(msg="CUDA not available.")
  207. E TypeError: skip() got an unexpected keyword argument 'msg'
  208.  
  209. tests/test_brownian_interval.py:114: TypeError
  210. _________________ test_determinism_simple[space-time-True-False-device1] __________________
  211.  
  212. device = device(type='cuda'), levy_area_approximation = 'space-time', return_U = True
  213. return_A = False
  214.  
  215. @pytest.mark.parametrize("device", devices)
  216. @pytest.mark.parametrize("levy_area_approximation, return_U, return_A", _levy_returns())
  217. def test_determinism_simple(device, levy_area_approximation, return_U, return_A):
  218. if device == gpu and not torch.cuda.is_available():
  219. > pytest.skip(msg="CUDA not available.")
  220. E TypeError: skip() got an unexpected keyword argument 'msg'
  221.  
  222. tests/test_brownian_interval.py:114: TypeError
  223. ____________________ test_determinism_simple[davie-True-True-device1] _____________________
  224.  
  225. device = device(type='cuda'), levy_area_approximation = 'davie', return_U = True
  226. return_A = True
  227.  
  228. @pytest.mark.parametrize("device", devices)
  229. @pytest.mark.parametrize("levy_area_approximation, return_U, return_A", _levy_returns())
  230. def test_determinism_simple(device, levy_area_approximation, return_U, return_A):
  231. if device == gpu and not torch.cuda.is_available():
  232. > pytest.skip(msg="CUDA not available.")
  233. E TypeError: skip() got an unexpected keyword argument 'msg'
  234.  
  235. tests/test_brownian_interval.py:114: TypeError
  236. ____________________ test_determinism_simple[davie-True-False-device1] ____________________
  237.  
  238. device = device(type='cuda'), levy_area_approximation = 'davie', return_U = True
  239. return_A = False
  240.  
  241. @pytest.mark.parametrize("device", devices)
  242. @pytest.mark.parametrize("levy_area_approximation, return_U, return_A", _levy_returns())
  243. def test_determinism_simple(device, levy_area_approximation, return_U, return_A):
  244. if device == gpu and not torch.cuda.is_available():
  245. > pytest.skip(msg="CUDA not available.")
  246. E TypeError: skip() got an unexpected keyword argument 'msg'
  247.  
  248. tests/test_brownian_interval.py:114: TypeError
  249. ____________________ test_determinism_simple[davie-False-True-device1] ____________________
  250.  
  251. device = device(type='cuda'), levy_area_approximation = 'davie', return_U = False
  252. return_A = True
  253.  
  254. @pytest.mark.parametrize("device", devices)
  255. @pytest.mark.parametrize("levy_area_approximation, return_U, return_A", _levy_returns())
  256. def test_determinism_simple(device, levy_area_approximation, return_U, return_A):
  257. if device == gpu and not torch.cuda.is_available():
  258. > pytest.skip(msg="CUDA not available.")
  259. E TypeError: skip() got an unexpected keyword argument 'msg'
  260.  
  261. tests/test_brownian_interval.py:114: TypeError
  262. ___________________ test_determinism_simple[davie-False-False-device1] ____________________
  263.  
  264. device = device(type='cuda'), levy_area_approximation = 'davie', return_U = False
  265. return_A = False
  266.  
  267. @pytest.mark.parametrize("device", devices)
  268. @pytest.mark.parametrize("levy_area_approximation, return_U, return_A", _levy_returns())
  269. def test_determinism_simple(device, levy_area_approximation, return_U, return_A):
  270. if device == gpu and not torch.cuda.is_available():
  271. > pytest.skip(msg="CUDA not available.")
  272. E TypeError: skip() got an unexpected keyword argument 'msg'
  273.  
  274. tests/test_brownian_interval.py:114: TypeError
  275. ____________________ test_determinism_simple[foster-True-True-device1] ____________________
  276.  
  277. device = device(type='cuda'), levy_area_approximation = 'foster', return_U = True
  278. return_A = True
  279.  
  280. @pytest.mark.parametrize("device", devices)
  281. @pytest.mark.parametrize("levy_area_approximation, return_U, return_A", _levy_returns())
  282. def test_determinism_simple(device, levy_area_approximation, return_U, return_A):
  283. if device == gpu and not torch.cuda.is_available():
  284. > pytest.skip(msg="CUDA not available.")
  285. E TypeError: skip() got an unexpected keyword argument 'msg'
  286.  
  287. tests/test_brownian_interval.py:114: TypeError
  288. ___________________ test_determinism_simple[foster-True-False-device1] ____________________
  289.  
  290. device = device(type='cuda'), levy_area_approximation = 'foster', return_U = True
  291. return_A = False
  292.  
  293. @pytest.mark.parametrize("device", devices)
  294. @pytest.mark.parametrize("levy_area_approximation, return_U, return_A", _levy_returns())
  295. def test_determinism_simple(device, levy_area_approximation, return_U, return_A):
  296. if device == gpu and not torch.cuda.is_available():
  297. > pytest.skip(msg="CUDA not available.")
  298. E TypeError: skip() got an unexpected keyword argument 'msg'
  299.  
  300. tests/test_brownian_interval.py:114: TypeError
  301. ___________________ test_determinism_simple[foster-False-True-device1] ____________________
  302.  
  303. device = device(type='cuda'), levy_area_approximation = 'foster', return_U = False
  304. return_A = True
  305.  
  306. @pytest.mark.parametrize("device", devices)
  307. @pytest.mark.parametrize("levy_area_approximation, return_U, return_A", _levy_returns())
  308. def test_determinism_simple(device, levy_area_approximation, return_U, return_A):
  309. if device == gpu and not torch.cuda.is_available():
  310. > pytest.skip(msg="CUDA not available.")
  311. E TypeError: skip() got an unexpected keyword argument 'msg'
  312.  
  313. tests/test_brownian_interval.py:114: TypeError
  314. ___________________ test_determinism_simple[foster-False-False-device1] ___________________
  315.  
  316. device = device(type='cuda'), levy_area_approximation = 'foster', return_U = False
  317. return_A = False
  318.  
  319. @pytest.mark.parametrize("device", devices)
  320. @pytest.mark.parametrize("levy_area_approximation, return_U, return_A", _levy_returns())
  321. def test_determinism_simple(device, levy_area_approximation, return_U, return_A):
  322. if device == gpu and not torch.cuda.is_available():
  323. > pytest.skip(msg="CUDA not available.")
  324. E TypeError: skip() got an unexpected keyword argument 'msg'
  325.  
  326. tests/test_brownian_interval.py:114: TypeError
  327. ____________________ test_determinism_large[none-False-False-device1] _____________________
  328.  
  329. device = device(type='cuda'), levy_area_approximation = 'none', return_U = False
  330. return_A = False
  331.  
  332. @pytest.mark.parametrize("device", devices)
  333. @pytest.mark.parametrize("levy_area_approximation, return_U, return_A", _levy_returns())
  334. def test_determinism_large(device, levy_area_approximation, return_U, return_A):
  335. """
  336. Tests that a single Brownian motion deterministically produces the same results when queried at the same points.
  337.  
  338. We first of all query it at lots of points (larger than its internal cache), and then re-query at the same set of
  339. points, and compare.
  340. """
  341. if device == gpu and not torch.cuda.is_available():
  342. > pytest.skip(msg="CUDA not available.")
  343. E TypeError: skip() got an unexpected keyword argument 'msg'
  344.  
  345. tests/test_brownian_interval.py:139: TypeError
  346. _________________ test_determinism_large[space-time-False-False-device1] __________________
  347.  
  348. device = device(type='cuda'), levy_area_approximation = 'space-time', return_U = False
  349. return_A = False
  350.  
  351. @pytest.mark.parametrize("device", devices)
  352. @pytest.mark.parametrize("levy_area_approximation, return_U, return_A", _levy_returns())
  353. def test_determinism_large(device, levy_area_approximation, return_U, return_A):
  354. """
  355. Tests that a single Brownian motion deterministically produces the same results when queried at the same points.
  356.  
  357. We first of all query it at lots of points (larger than its internal cache), and then re-query at the same set of
  358. points, and compare.
  359. """
  360. if device == gpu and not torch.cuda.is_available():
  361. > pytest.skip(msg="CUDA not available.")
  362. E TypeError: skip() got an unexpected keyword argument 'msg'
  363.  
  364. tests/test_brownian_interval.py:139: TypeError
  365. __________________ test_determinism_large[space-time-True-False-device1] __________________
  366.  
  367. device = device(type='cuda'), levy_area_approximation = 'space-time', return_U = True
  368. return_A = False
  369.  
  370. @pytest.mark.parametrize("device", devices)
  371. @pytest.mark.parametrize("levy_area_approximation, return_U, return_A", _levy_returns())
  372. def test_determinism_large(device, levy_area_approximation, return_U, return_A):
  373. """
  374. Tests that a single Brownian motion deterministically produces the same results when queried at the same points.
  375.  
  376. We first of all query it at lots of points (larger than its internal cache), and then re-query at the same set of
  377. points, and compare.
  378. """
  379. if device == gpu and not torch.cuda.is_available():
  380. > pytest.skip(msg="CUDA not available.")
  381. E TypeError: skip() got an unexpected keyword argument 'msg'
  382.  
  383. tests/test_brownian_interval.py:139: TypeError
  384. _____________________ test_determinism_large[davie-True-True-device1] _____________________
  385.  
  386. device = device(type='cuda'), levy_area_approximation = 'davie', return_U = True
  387. return_A = True
  388.  
  389. @pytest.mark.parametrize("device", devices)
  390. @pytest.mark.parametrize("levy_area_approximation, return_U, return_A", _levy_returns())
  391. def test_determinism_large(device, levy_area_approximation, return_U, return_A):
  392. """
  393. Tests that a single Brownian motion deterministically produces the same results when queried at the same points.
  394.  
  395. We first of all query it at lots of points (larger than its internal cache), and then re-query at the same set of
  396. points, and compare.
  397. """
  398. if device == gpu and not torch.cuda.is_available():
  399. > pytest.skip(msg="CUDA not available.")
  400. E TypeError: skip() got an unexpected keyword argument 'msg'
  401.  
  402. tests/test_brownian_interval.py:139: TypeError
  403. ____________________ test_determinism_large[davie-True-False-device1] _____________________
  404.  
  405. device = device(type='cuda'), levy_area_approximation = 'davie', return_U = True
  406. return_A = False
  407.  
  408. @pytest.mark.parametrize("device", devices)
  409. @pytest.mark.parametrize("levy_area_approximation, return_U, return_A", _levy_returns())
  410. def test_determinism_large(device, levy_area_approximation, return_U, return_A):
  411. """
  412. Tests that a single Brownian motion deterministically produces the same results when queried at the same points.
  413.  
  414. We first of all query it at lots of points (larger than its internal cache), and then re-query at the same set of
  415. points, and compare.
  416. """
  417. if device == gpu and not torch.cuda.is_available():
  418. > pytest.skip(msg="CUDA not available.")
  419. E TypeError: skip() got an unexpected keyword argument 'msg'
  420.  
  421. tests/test_brownian_interval.py:139: TypeError
  422. ____________________ test_determinism_large[davie-False-True-device1] _____________________
  423.  
  424. device = device(type='cuda'), levy_area_approximation = 'davie', return_U = False
  425. return_A = True
  426.  
  427. @pytest.mark.parametrize("device", devices)
  428. @pytest.mark.parametrize("levy_area_approximation, return_U, return_A", _levy_returns())
  429. def test_determinism_large(device, levy_area_approximation, return_U, return_A):
  430. """
  431. Tests that a single Brownian motion deterministically produces the same results when queried at the same points.
  432.  
  433. We first of all query it at lots of points (larger than its internal cache), and then re-query at the same set of
  434. points, and compare.
  435. """
  436. if device == gpu and not torch.cuda.is_available():
  437. > pytest.skip(msg="CUDA not available.")
  438. E TypeError: skip() got an unexpected keyword argument 'msg'
  439.  
  440. tests/test_brownian_interval.py:139: TypeError
  441. ____________________ test_determinism_large[davie-False-False-device1] ____________________
  442.  
  443. device = device(type='cuda'), levy_area_approximation = 'davie', return_U = False
  444. return_A = False
  445.  
  446. @pytest.mark.parametrize("device", devices)
  447. @pytest.mark.parametrize("levy_area_approximation, return_U, return_A", _levy_returns())
  448. def test_determinism_large(device, levy_area_approximation, return_U, return_A):
  449. """
  450. Tests that a single Brownian motion deterministically produces the same results when queried at the same points.
  451.  
  452. We first of all query it at lots of points (larger than its internal cache), and then re-query at the same set of
  453. points, and compare.
  454. """
  455. if device == gpu and not torch.cuda.is_available():
  456. > pytest.skip(msg="CUDA not available.")
  457. E TypeError: skip() got an unexpected keyword argument 'msg'
  458.  
  459. tests/test_brownian_interval.py:139: TypeError
  460. ____________________ test_determinism_large[foster-True-True-device1] _____________________
  461.  
  462. device = device(type='cuda'), levy_area_approximation = 'foster', return_U = True
  463. return_A = True
  464.  
  465. @pytest.mark.parametrize("device", devices)
  466. @pytest.mark.parametrize("levy_area_approximation, return_U, return_A", _levy_returns())
  467. def test_determinism_large(device, levy_area_approximation, return_U, return_A):
  468. """
  469. Tests that a single Brownian motion deterministically produces the same results when queried at the same points.
  470.  
  471. We first of all query it at lots of points (larger than its internal cache), and then re-query at the same set of
  472. points, and compare.
  473. """
  474. if device == gpu and not torch.cuda.is_available():
  475. > pytest.skip(msg="CUDA not available.")
  476. E TypeError: skip() got an unexpected keyword argument 'msg'
  477.  
  478. tests/test_brownian_interval.py:139: TypeError
  479. ____________________ test_determinism_large[foster-True-False-device1] ____________________
  480.  
  481. device = device(type='cuda'), levy_area_approximation = 'foster', return_U = True
  482. return_A = False
  483.  
  484. @pytest.mark.parametrize("device", devices)
  485. @pytest.mark.parametrize("levy_area_approximation, return_U, return_A", _levy_returns())
  486. def test_determinism_large(device, levy_area_approximation, return_U, return_A):
  487. """
  488. Tests that a single Brownian motion deterministically produces the same results when queried at the same points.
  489.  
  490. We first of all query it at lots of points (larger than its internal cache), and then re-query at the same set of
  491. points, and compare.
  492. """
  493. if device == gpu and not torch.cuda.is_available():
  494. > pytest.skip(msg="CUDA not available.")
  495. E TypeError: skip() got an unexpected keyword argument 'msg'
  496.  
  497. tests/test_brownian_interval.py:139: TypeError
  498. ____________________ test_determinism_large[foster-False-True-device1] ____________________
  499.  
  500. device = device(type='cuda'), levy_area_approximation = 'foster', return_U = False
  501. return_A = True
  502.  
  503. @pytest.mark.parametrize("device", devices)
  504. @pytest.mark.parametrize("levy_area_approximation, return_U, return_A", _levy_returns())
  505. def test_determinism_large(device, levy_area_approximation, return_U, return_A):
  506. """
  507. Tests that a single Brownian motion deterministically produces the same results when queried at the same points.
  508.  
  509. We first of all query it at lots of points (larger than its internal cache), and then re-query at the same set of
  510. points, and compare.
  511. """
  512. if device == gpu and not torch.cuda.is_available():
  513. > pytest.skip(msg="CUDA not available.")
  514. E TypeError: skip() got an unexpected keyword argument 'msg'
  515.  
  516. tests/test_brownian_interval.py:139: TypeError
  517. ___________________ test_determinism_large[foster-False-False-device1] ____________________
  518.  
  519. device = device(type='cuda'), levy_area_approximation = 'foster', return_U = False
  520. return_A = False
  521.  
  522. @pytest.mark.parametrize("device", devices)
  523. @pytest.mark.parametrize("levy_area_approximation, return_U, return_A", _levy_returns())
  524. def test_determinism_large(device, levy_area_approximation, return_U, return_A):
  525. """
  526. Tests that a single Brownian motion deterministically produces the same results when queried at the same points.
  527.  
  528. We first of all query it at lots of points (larger than its internal cache), and then re-query at the same set of
  529. points, and compare.
  530. """
  531. if device == gpu and not torch.cuda.is_available():
  532. > pytest.skip(msg="CUDA not available.")
  533. E TypeError: skip() got an unexpected keyword argument 'msg'
  534.  
  535. tests/test_brownian_interval.py:139: TypeError
  536. ___________________________ test_normality_simple[none-device1] ___________________________
  537.  
  538. device = device(type='cuda'), levy_area_approximation = 'none'
  539.  
  540. @pytest.mark.parametrize("device", devices)
  541. @pytest.mark.parametrize("levy_area_approximation", ['none', 'space-time', 'davie', 'foster'])
  542. def test_normality_simple(device, levy_area_approximation):
  543. if device == gpu and not torch.cuda.is_available():
  544. > pytest.skip(msg="CUDA not available.")
  545. E TypeError: skip() got an unexpected keyword argument 'msg'
  546.  
  547. tests/test_brownian_interval.py:168: TypeError
  548. ________________________ test_normality_simple[space-time-device1] ________________________
  549.  
  550. device = device(type='cuda'), levy_area_approximation = 'space-time'
  551.  
  552. @pytest.mark.parametrize("device", devices)
  553. @pytest.mark.parametrize("levy_area_approximation", ['none', 'space-time', 'davie', 'foster'])
  554. def test_normality_simple(device, levy_area_approximation):
  555. if device == gpu and not torch.cuda.is_available():
  556. > pytest.skip(msg="CUDA not available.")
  557. E TypeError: skip() got an unexpected keyword argument 'msg'
  558.  
  559. tests/test_brownian_interval.py:168: TypeError
  560. __________________________ test_normality_simple[davie-device1] ___________________________
  561.  
  562. device = device(type='cuda'), levy_area_approximation = 'davie'
  563.  
  564. @pytest.mark.parametrize("device", devices)
  565. @pytest.mark.parametrize("levy_area_approximation", ['none', 'space-time', 'davie', 'foster'])
  566. def test_normality_simple(device, levy_area_approximation):
  567. if device == gpu and not torch.cuda.is_available():
  568. > pytest.skip(msg="CUDA not available.")
  569. E TypeError: skip() got an unexpected keyword argument 'msg'
  570.  
  571. tests/test_brownian_interval.py:168: TypeError
  572. __________________________ test_normality_simple[foster-device1] __________________________
  573.  
  574. device = device(type='cuda'), levy_area_approximation = 'foster'
  575.  
  576. @pytest.mark.parametrize("device", devices)
  577. @pytest.mark.parametrize("levy_area_approximation", ['none', 'space-time', 'davie', 'foster'])
  578. def test_normality_simple(device, levy_area_approximation):
  579. if device == gpu and not torch.cuda.is_available():
  580. > pytest.skip(msg="CUDA not available.")
  581. E TypeError: skip() got an unexpected keyword argument 'msg'
  582.  
  583. tests/test_brownian_interval.py:168: TypeError
  584. ________________________ test_normality_conditional[none-device1] _________________________
  585.  
  586. device = device(type='cuda'), levy_area_approximation = 'none'
  587.  
  588. @pytest.mark.parametrize("device", devices)
  589. @pytest.mark.parametrize("levy_area_approximation", ['none', 'space-time', 'davie', 'foster'])
  590. def test_normality_conditional(device, levy_area_approximation):
  591. if device == gpu and not torch.cuda.is_available():
  592. > pytest.skip(msg="CUDA not available.")
  593. E TypeError: skip() got an unexpected keyword argument 'msg'
  594.  
  595. tests/test_brownian_interval.py:202: TypeError
  596. _____________________ test_normality_conditional[space-time-device1] ______________________
  597.  
  598. device = device(type='cuda'), levy_area_approximation = 'space-time'
  599.  
  600. @pytest.mark.parametrize("device", devices)
  601. @pytest.mark.parametrize("levy_area_approximation", ['none', 'space-time', 'davie', 'foster'])
  602. def test_normality_conditional(device, levy_area_approximation):
  603. if device == gpu and not torch.cuda.is_available():
  604. > pytest.skip(msg="CUDA not available.")
  605. E TypeError: skip() got an unexpected keyword argument 'msg'
  606.  
  607. tests/test_brownian_interval.py:202: TypeError
  608. ________________________ test_normality_conditional[davie-device1] ________________________
  609.  
  610. device = device(type='cuda'), levy_area_approximation = 'davie'
  611.  
  612. @pytest.mark.parametrize("device", devices)
  613. @pytest.mark.parametrize("levy_area_approximation", ['none', 'space-time', 'davie', 'foster'])
  614. def test_normality_conditional(device, levy_area_approximation):
  615. if device == gpu and not torch.cuda.is_available():
  616. > pytest.skip(msg="CUDA not available.")
  617. E TypeError: skip() got an unexpected keyword argument 'msg'
  618.  
  619. tests/test_brownian_interval.py:202: TypeError
  620. _______________________ test_normality_conditional[foster-device1] ________________________
  621.  
  622. device = device(type='cuda'), levy_area_approximation = 'foster'
  623.  
  624. @pytest.mark.parametrize("device", devices)
  625. @pytest.mark.parametrize("levy_area_approximation", ['none', 'space-time', 'davie', 'foster'])
  626. def test_normality_conditional(device, levy_area_approximation):
  627. if device == gpu and not torch.cuda.is_available():
  628. > pytest.skip(msg="CUDA not available.")
  629. E TypeError: skip() got an unexpected keyword argument 'msg'
  630.  
  631. tests/test_brownian_interval.py:202: TypeError
  632. _____________________________ test_consistency[none-device1] ______________________________
  633.  
  634. device = device(type='cuda'), levy_area_approximation = 'none'
  635.  
  636. @pytest.mark.parametrize("device", devices)
  637. @pytest.mark.parametrize("levy_area_approximation", ['none', 'space-time', 'davie', 'foster'])
  638. def test_consistency(device, levy_area_approximation):
  639. if device == gpu and not torch.cuda.is_available():
  640. > pytest.skip(msg="CUDA not available.")
  641. E TypeError: skip() got an unexpected keyword argument 'msg'
  642.  
  643. tests/test_brownian_interval.py:265: TypeError
  644. __________________________ test_consistency[space-time-device1] ___________________________
  645.  
  646. device = device(type='cuda'), levy_area_approximation = 'space-time'
  647.  
  648. @pytest.mark.parametrize("device", devices)
  649. @pytest.mark.parametrize("levy_area_approximation", ['none', 'space-time', 'davie', 'foster'])
  650. def test_consistency(device, levy_area_approximation):
  651. if device == gpu and not torch.cuda.is_available():
  652. > pytest.skip(msg="CUDA not available.")
  653. E TypeError: skip() got an unexpected keyword argument 'msg'
  654.  
  655. tests/test_brownian_interval.py:265: TypeError
  656. _____________________________ test_consistency[davie-device1] _____________________________
  657.  
  658. device = device(type='cuda'), levy_area_approximation = 'davie'
  659.  
  660. @pytest.mark.parametrize("device", devices)
  661. @pytest.mark.parametrize("levy_area_approximation", ['none', 'space-time', 'davie', 'foster'])
  662. def test_consistency(device, levy_area_approximation):
  663. if device == gpu and not torch.cuda.is_available():
  664. > pytest.skip(msg="CUDA not available.")
  665. E TypeError: skip() got an unexpected keyword argument 'msg'
  666.  
  667. tests/test_brownian_interval.py:265: TypeError
  668. ____________________________ test_consistency[foster-device1] _____________________________
  669.  
  670. device = device(type='cuda'), levy_area_approximation = 'foster'
  671.  
  672. @pytest.mark.parametrize("device", devices)
  673. @pytest.mark.parametrize("levy_area_approximation", ['none', 'space-time', 'davie', 'foster'])
  674. def test_consistency(device, levy_area_approximation):
  675. if device == gpu and not torch.cuda.is_available():
  676. > pytest.skip(msg="CUDA not available.")
  677. E TypeError: skip() got an unexpected keyword argument 'msg'
  678.  
  679. tests/test_brownian_interval.py:265: TypeError
  680. ________________ test_entropy_determinism[none-False-False-device1-False] _________________
  681.  
  682. random_order = False, device = device(type='cuda'), levy_area_approximation = 'none'
  683. return_U = False, return_A = False
  684.  
  685. @pytest.mark.parametrize("random_order", [False, True])
  686. @pytest.mark.parametrize("device", devices)
  687. @pytest.mark.parametrize("levy_area_approximation, return_U, return_A", _levy_returns())
  688. def test_entropy_determinism(random_order, device, levy_area_approximation, return_U, return_A):
  689. if device == gpu and not torch.cuda.is_available():
  690. > pytest.skip(msg="CUDA not available.")
  691. E TypeError: skip() got an unexpected keyword argument 'msg'
  692.  
  693. tests/test_brownian_interval.py:296: TypeError
  694. _________________ test_entropy_determinism[none-False-False-device1-True] _________________
  695.  
  696. random_order = True, device = device(type='cuda'), levy_area_approximation = 'none'
  697. return_U = False, return_A = False
  698.  
  699. @pytest.mark.parametrize("random_order", [False, True])
  700. @pytest.mark.parametrize("device", devices)
  701. @pytest.mark.parametrize("levy_area_approximation, return_U, return_A", _levy_returns())
  702. def test_entropy_determinism(random_order, device, levy_area_approximation, return_U, return_A):
  703. if device == gpu and not torch.cuda.is_available():
  704. > pytest.skip(msg="CUDA not available.")
  705. E TypeError: skip() got an unexpected keyword argument 'msg'
  706.  
  707. tests/test_brownian_interval.py:296: TypeError
  708. _____________ test_entropy_determinism[space-time-False-False-device1-False] ______________
  709.  
  710. random_order = False, device = device(type='cuda'), levy_area_approximation = 'space-time'
  711. return_U = False, return_A = False
  712.  
  713. @pytest.mark.parametrize("random_order", [False, True])
  714. @pytest.mark.parametrize("device", devices)
  715. @pytest.mark.parametrize("levy_area_approximation, return_U, return_A", _levy_returns())
  716. def test_entropy_determinism(random_order, device, levy_area_approximation, return_U, return_A):
  717. if device == gpu and not torch.cuda.is_available():
  718. > pytest.skip(msg="CUDA not available.")
  719. E TypeError: skip() got an unexpected keyword argument 'msg'
  720.  
  721. tests/test_brownian_interval.py:296: TypeError
  722. ______________ test_entropy_determinism[space-time-False-False-device1-True] ______________
  723.  
  724. random_order = True, device = device(type='cuda'), levy_area_approximation = 'space-time'
  725. return_U = False, return_A = False
  726.  
  727. @pytest.mark.parametrize("random_order", [False, True])
  728. @pytest.mark.parametrize("device", devices)
  729. @pytest.mark.parametrize("levy_area_approximation, return_U, return_A", _levy_returns())
  730. def test_entropy_determinism(random_order, device, levy_area_approximation, return_U, return_A):
  731. if device == gpu and not torch.cuda.is_available():
  732. > pytest.skip(msg="CUDA not available.")
  733. E TypeError: skip() got an unexpected keyword argument 'msg'
  734.  
  735. tests/test_brownian_interval.py:296: TypeError
  736. ______________ test_entropy_determinism[space-time-True-False-device1-False] ______________
  737.  
  738. random_order = False, device = device(type='cuda'), levy_area_approximation = 'space-time'
  739. return_U = True, return_A = False
  740.  
  741. @pytest.mark.parametrize("random_order", [False, True])
  742. @pytest.mark.parametrize("device", devices)
  743. @pytest.mark.parametrize("levy_area_approximation, return_U, return_A", _levy_returns())
  744. def test_entropy_determinism(random_order, device, levy_area_approximation, return_U, return_A):
  745. if device == gpu and not torch.cuda.is_available():
  746. > pytest.skip(msg="CUDA not available.")
  747. E TypeError: skip() got an unexpected keyword argument 'msg'
  748.  
  749. tests/test_brownian_interval.py:296: TypeError
  750. ______________ test_entropy_determinism[space-time-True-False-device1-True] _______________
  751.  
  752. random_order = True, device = device(type='cuda'), levy_area_approximation = 'space-time'
  753. return_U = True, return_A = False
  754.  
  755. @pytest.mark.parametrize("random_order", [False, True])
  756. @pytest.mark.parametrize("device", devices)
  757. @pytest.mark.parametrize("levy_area_approximation, return_U, return_A", _levy_returns())
  758. def test_entropy_determinism(random_order, device, levy_area_approximation, return_U, return_A):
  759. if device == gpu and not torch.cuda.is_available():
  760. > pytest.skip(msg="CUDA not available.")
  761. E TypeError: skip() got an unexpected keyword argument 'msg'
  762.  
  763. tests/test_brownian_interval.py:296: TypeError
  764. _________________ test_entropy_determinism[davie-True-True-device1-False] _________________
  765.  
  766. random_order = False, device = device(type='cuda'), levy_area_approximation = 'davie'
  767. return_U = True, return_A = True
  768.  
  769. @pytest.mark.parametrize("random_order", [False, True])
  770. @pytest.mark.parametrize("device", devices)
  771. @pytest.mark.parametrize("levy_area_approximation, return_U, return_A", _levy_returns())
  772. def test_entropy_determinism(random_order, device, levy_area_approximation, return_U, return_A):
  773. if device == gpu and not torch.cuda.is_available():
  774. > pytest.skip(msg="CUDA not available.")
  775. E TypeError: skip() got an unexpected keyword argument 'msg'
  776.  
  777. tests/test_brownian_interval.py:296: TypeError
  778. _________________ test_entropy_determinism[davie-True-True-device1-True] __________________
  779.  
  780. random_order = True, device = device(type='cuda'), levy_area_approximation = 'davie'
  781. return_U = True, return_A = True
  782.  
  783. @pytest.mark.parametrize("random_order", [False, True])
  784. @pytest.mark.parametrize("device", devices)
  785. @pytest.mark.parametrize("levy_area_approximation, return_U, return_A", _levy_returns())
  786. def test_entropy_determinism(random_order, device, levy_area_approximation, return_U, return_A):
  787. if device == gpu and not torch.cuda.is_available():
  788. > pytest.skip(msg="CUDA not available.")
  789. E TypeError: skip() got an unexpected keyword argument 'msg'
  790.  
  791. tests/test_brownian_interval.py:296: TypeError
  792. ________________ test_entropy_determinism[davie-True-False-device1-False] _________________
  793.  
  794. random_order = False, device = device(type='cuda'), levy_area_approximation = 'davie'
  795. return_U = True, return_A = False
  796.  
  797. @pytest.mark.parametrize("random_order", [False, True])
  798. @pytest.mark.parametrize("device", devices)
  799. @pytest.mark.parametrize("levy_area_approximation, return_U, return_A", _levy_returns())
  800. def test_entropy_determinism(random_order, device, levy_area_approximation, return_U, return_A):
  801. if device == gpu and not torch.cuda.is_available():
  802. > pytest.skip(msg="CUDA not available.")
  803. E TypeError: skip() got an unexpected keyword argument 'msg'
  804.  
  805. tests/test_brownian_interval.py:296: TypeError
  806. _________________ test_entropy_determinism[davie-True-False-device1-True] _________________
  807.  
  808. random_order = True, device = device(type='cuda'), levy_area_approximation = 'davie'
  809. return_U = True, return_A = False
  810.  
  811. @pytest.mark.parametrize("random_order", [False, True])
  812. @pytest.mark.parametrize("device", devices)
  813. @pytest.mark.parametrize("levy_area_approximation, return_U, return_A", _levy_returns())
  814. def test_entropy_determinism(random_order, device, levy_area_approximation, return_U, return_A):
  815. if device == gpu and not torch.cuda.is_available():
  816. > pytest.skip(msg="CUDA not available.")
  817. E TypeError: skip() got an unexpected keyword argument 'msg'
  818.  
  819. tests/test_brownian_interval.py:296: TypeError
  820. ________________ test_entropy_determinism[davie-False-True-device1-False] _________________
  821.  
  822. random_order = False, device = device(type='cuda'), levy_area_approximation = 'davie'
  823. return_U = False, return_A = True
  824.  
  825. @pytest.mark.parametrize("random_order", [False, True])
  826. @pytest.mark.parametrize("device", devices)
  827. @pytest.mark.parametrize("levy_area_approximation, return_U, return_A", _levy_returns())
  828. def test_entropy_determinism(random_order, device, levy_area_approximation, return_U, return_A):
  829. if device == gpu and not torch.cuda.is_available():
  830. > pytest.skip(msg="CUDA not available.")
  831. E TypeError: skip() got an unexpected keyword argument 'msg'
  832.  
  833. tests/test_brownian_interval.py:296: TypeError
  834. _________________ test_entropy_determinism[davie-False-True-device1-True] _________________
  835.  
  836. random_order = True, device = device(type='cuda'), levy_area_approximation = 'davie'
  837. return_U = False, return_A = True
  838.  
  839. @pytest.mark.parametrize("random_order", [False, True])
  840. @pytest.mark.parametrize("device", devices)
  841. @pytest.mark.parametrize("levy_area_approximation, return_U, return_A", _levy_returns())
  842. def test_entropy_determinism(random_order, device, levy_area_approximation, return_U, return_A):
  843. if device == gpu and not torch.cuda.is_available():
  844. > pytest.skip(msg="CUDA not available.")
  845. E TypeError: skip() got an unexpected keyword argument 'msg'
  846.  
  847. tests/test_brownian_interval.py:296: TypeError
  848. ________________ test_entropy_determinism[davie-False-False-device1-False] ________________
  849.  
  850. random_order = False, device = device(type='cuda'), levy_area_approximation = 'davie'
  851. return_U = False, return_A = False
  852.  
  853. @pytest.mark.parametrize("random_order", [False, True])
  854. @pytest.mark.parametrize("device", devices)
  855. @pytest.mark.parametrize("levy_area_approximation, return_U, return_A", _levy_returns())
  856. def test_entropy_determinism(random_order, device, levy_area_approximation, return_U, return_A):
  857. if device == gpu and not torch.cuda.is_available():
  858. > pytest.skip(msg="CUDA not available.")
  859. E TypeError: skip() got an unexpected keyword argument 'msg'
  860.  
  861. tests/test_brownian_interval.py:296: TypeError
  862. ________________ test_entropy_determinism[davie-False-False-device1-True] _________________
  863.  
  864. random_order = True, device = device(type='cuda'), levy_area_approximation = 'davie'
  865. return_U = False, return_A = False
  866.  
  867. @pytest.mark.parametrize("random_order", [False, True])
  868. @pytest.mark.parametrize("device", devices)
  869. @pytest.mark.parametrize("levy_area_approximation, return_U, return_A", _levy_returns())
  870. def test_entropy_determinism(random_order, device, levy_area_approximation, return_U, return_A):
  871. if device == gpu and not torch.cuda.is_available():
  872. > pytest.skip(msg="CUDA not available.")
  873. E TypeError: skip() got an unexpected keyword argument 'msg'
  874.  
  875. tests/test_brownian_interval.py:296: TypeError
  876. ________________ test_entropy_determinism[foster-True-True-device1-False] _________________
  877.  
  878. random_order = False, device = device(type='cuda'), levy_area_approximation = 'foster'
  879. return_U = True, return_A = True
  880.  
  881. @pytest.mark.parametrize("random_order", [False, True])
  882. @pytest.mark.parametrize("device", devices)
  883. @pytest.mark.parametrize("levy_area_approximation, return_U, return_A", _levy_returns())
  884. def test_entropy_determinism(random_order, device, levy_area_approximation, return_U, return_A):
  885. if device == gpu and not torch.cuda.is_available():
  886. > pytest.skip(msg="CUDA not available.")
  887. E TypeError: skip() got an unexpected keyword argument 'msg'
  888.  
  889. tests/test_brownian_interval.py:296: TypeError
  890. _________________ test_entropy_determinism[foster-True-True-device1-True] _________________
  891.  
  892. random_order = True, device = device(type='cuda'), levy_area_approximation = 'foster'
  893. return_U = True, return_A = True
  894.  
  895. @pytest.mark.parametrize("random_order", [False, True])
  896. @pytest.mark.parametrize("device", devices)
  897. @pytest.mark.parametrize("levy_area_approximation, return_U, return_A", _levy_returns())
  898. def test_entropy_determinism(random_order, device, levy_area_approximation, return_U, return_A):
  899. if device == gpu and not torch.cuda.is_available():
  900. > pytest.skip(msg="CUDA not available.")
  901. E TypeError: skip() got an unexpected keyword argument 'msg'
  902.  
  903. tests/test_brownian_interval.py:296: TypeError
  904. ________________ test_entropy_determinism[foster-True-False-device1-False] ________________
  905.  
  906. random_order = False, device = device(type='cuda'), levy_area_approximation = 'foster'
  907. return_U = True, return_A = False
  908.  
  909. @pytest.mark.parametrize("random_order", [False, True])
  910. @pytest.mark.parametrize("device", devices)
  911. @pytest.mark.parametrize("levy_area_approximation, return_U, return_A", _levy_returns())
  912. def test_entropy_determinism(random_order, device, levy_area_approximation, return_U, return_A):
  913. if device == gpu and not torch.cuda.is_available():
  914. > pytest.skip(msg="CUDA not available.")
  915. E TypeError: skip() got an unexpected keyword argument 'msg'
  916.  
  917. tests/test_brownian_interval.py:296: TypeError
  918. ________________ test_entropy_determinism[foster-True-False-device1-True] _________________
  919.  
  920. random_order = True, device = device(type='cuda'), levy_area_approximation = 'foster'
  921. return_U = True, return_A = False
  922.  
  923. @pytest.mark.parametrize("random_order", [False, True])
  924. @pytest.mark.parametrize("device", devices)
  925. @pytest.mark.parametrize("levy_area_approximation, return_U, return_A", _levy_returns())
  926. def test_entropy_determinism(random_order, device, levy_area_approximation, return_U, return_A):
  927. if device == gpu and not torch.cuda.is_available():
  928. > pytest.skip(msg="CUDA not available.")
  929. E TypeError: skip() got an unexpected keyword argument 'msg'
  930.  
  931. tests/test_brownian_interval.py:296: TypeError
  932. ________________ test_entropy_determinism[foster-False-True-device1-False] ________________
  933.  
  934. random_order = False, device = device(type='cuda'), levy_area_approximation = 'foster'
  935. return_U = False, return_A = True
  936.  
  937. @pytest.mark.parametrize("random_order", [False, True])
  938. @pytest.mark.parametrize("device", devices)
  939. @pytest.mark.parametrize("levy_area_approximation, return_U, return_A", _levy_returns())
  940. def test_entropy_determinism(random_order, device, levy_area_approximation, return_U, return_A):
  941. if device == gpu and not torch.cuda.is_available():
  942. > pytest.skip(msg="CUDA not available.")
  943. E TypeError: skip() got an unexpected keyword argument 'msg'
  944.  
  945. tests/test_brownian_interval.py:296: TypeError
  946. ________________ test_entropy_determinism[foster-False-True-device1-True] _________________
  947.  
  948. random_order = True, device = device(type='cuda'), levy_area_approximation = 'foster'
  949. return_U = False, return_A = True
  950.  
  951. @pytest.mark.parametrize("random_order", [False, True])
  952. @pytest.mark.parametrize("device", devices)
  953. @pytest.mark.parametrize("levy_area_approximation, return_U, return_A", _levy_returns())
  954. def test_entropy_determinism(random_order, device, levy_area_approximation, return_U, return_A):
  955. if device == gpu and not torch.cuda.is_available():
  956. > pytest.skip(msg="CUDA not available.")
  957. E TypeError: skip() got an unexpected keyword argument 'msg'
  958.  
  959. tests/test_brownian_interval.py:296: TypeError
  960. _______________ test_entropy_determinism[foster-False-False-device1-False] ________________
  961.  
  962. random_order = False, device = device(type='cuda'), levy_area_approximation = 'foster'
  963. return_U = False, return_A = False
  964.  
  965. @pytest.mark.parametrize("random_order", [False, True])
  966. @pytest.mark.parametrize("device", devices)
  967. @pytest.mark.parametrize("levy_area_approximation, return_U, return_A", _levy_returns())
  968. def test_entropy_determinism(random_order, device, levy_area_approximation, return_U, return_A):
  969. if device == gpu and not torch.cuda.is_available():
  970. > pytest.skip(msg="CUDA not available.")
  971. E TypeError: skip() got an unexpected keyword argument 'msg'
  972.  
  973. tests/test_brownian_interval.py:296: TypeError
  974. ________________ test_entropy_determinism[foster-False-False-device1-True] ________________
  975.  
  976. random_order = True, device = device(type='cuda'), levy_area_approximation = 'foster'
  977. return_U = False, return_A = False
  978.  
  979. @pytest.mark.parametrize("random_order", [False, True])
  980. @pytest.mark.parametrize("device", devices)
  981. @pytest.mark.parametrize("levy_area_approximation, return_U, return_A", _levy_returns())
  982. def test_entropy_determinism(random_order, device, levy_area_approximation, return_U, return_A):
  983. if device == gpu and not torch.cuda.is_available():
  984. > pytest.skip(msg="CUDA not available.")
  985. E TypeError: skip() got an unexpected keyword argument 'msg'
  986.  
  987. tests/test_brownian_interval.py:296: TypeError
  988. ___________________________________ test_basic[device1] ___________________________________
  989.  
  990. device = device(type='cuda')
  991.  
  992. @pytest.mark.parametrize("device", devices)
  993. def test_basic(device):
  994. if device == gpu and not torch.cuda.is_available():
  995. > pytest.skip(msg="CUDA not available.")
  996. E TypeError: skip() got an unexpected keyword argument 'msg'
  997.  
  998. tests/test_brownian_path.py:54: TypeError
  999. ________________________________ test_determinism[device1] ________________________________
  1000.  
  1001. device = device(type='cuda')
  1002.  
  1003. @pytest.mark.parametrize("device", devices)
  1004. def test_determinism(device):
  1005. if device == gpu and not torch.cuda.is_available():
  1006. > pytest.skip(msg="CUDA not available.")
  1007. E TypeError: skip() got an unexpected keyword argument 'msg'
  1008.  
  1009. tests/test_brownian_path.py:64: TypeError
  1010. _________________________________ test_normality[device1] _________________________________
  1011.  
  1012. device = device(type='cuda')
  1013.  
  1014. @pytest.mark.parametrize("device", devices)
  1015. def test_normality(device):
  1016. if device == gpu and not torch.cuda.is_available():
  1017. > pytest.skip(msg="CUDA not available.")
  1018. E TypeError: skip() got an unexpected keyword argument 'msg'
  1019.  
  1020. tests/test_brownian_path.py:75: TypeError
  1021. ___________________________________ test_basic[device1] ___________________________________
  1022.  
  1023. device = device(type='cuda')
  1024.  
  1025. @pytest.mark.parametrize("device", devices)
  1026. def test_basic(device):
  1027. if device == gpu and not torch.cuda.is_available():
  1028. > pytest.skip(msg="CUDA not available.")
  1029. E TypeError: skip() got an unexpected keyword argument 'msg'
  1030.  
  1031. tests/test_brownian_tree.py:61: TypeError
  1032. ________________________________ test_determinism[device1] ________________________________
  1033.  
  1034. device = device(type='cuda')
  1035.  
  1036. @pytest.mark.parametrize("device", devices)
  1037. def test_determinism(device):
  1038. if device == gpu and not torch.cuda.is_available():
  1039. > pytest.skip(msg="CUDA not available.")
  1040. E TypeError: skip() got an unexpected keyword argument 'msg'
  1041.  
  1042. tests/test_brownian_tree.py:71: TypeError
  1043. _________________________________ test_normality[device1] _________________________________
  1044.  
  1045. device = device(type='cuda')
  1046.  
  1047. @pytest.mark.parametrize("device", devices)
  1048. def test_normality(device):
  1049. if device == gpu and not torch.cuda.is_available():
  1050. > pytest.skip(msg="CUDA not available.")
  1051. E TypeError: skip() got an unexpected keyword argument 'msg'
  1052.  
  1053. tests/test_brownian_tree.py:82: TypeError
  1054. ==================================== warnings summary =====================================
  1055. tests/test_adjoint.py: 14 warnings
  1056. /home/photon/.cache/yay/python-torchsde/src/python-torchsde/tests/utils.py:121: FutureWarning: `torch.testing.assert_allclose()` is deprecated since 1.12 and will be removed in a future release. Please use `torch.testing.assert_close()` instead. You can find detailed upgrade instructions in https://github.com/pytorch/pytorch/issues/61844.
  1057. torch.testing.assert_allclose(numerical_grad, framework_grad, rtol=rtol, atol=atol)
  1058.  
  1059. tests/test_adjoint.py: 36 warnings
  1060. /home/photon/.cache/yay/python-torchsde/src/python-torchsde/tests/test_adjoint.py:153: FutureWarning: `torch.testing.assert_allclose()` is deprecated since 1.12 and will be removed in a future release. Please use `torch.testing.assert_close()` instead. You can find detailed upgrade instructions in https://github.com/pytorch/pytorch/issues/61844.
  1061. torch.testing.assert_allclose(ys_true, ys_test)
  1062.  
  1063. tests/test_adjoint.py: 36 warnings
  1064. /home/photon/.cache/yay/python-torchsde/src/python-torchsde/tests/test_adjoint.py:154: FutureWarning: `torch.testing.assert_allclose()` is deprecated since 1.12 and will be removed in a future release. Please use `torch.testing.assert_close()` instead. You can find detailed upgrade instructions in https://github.com/pytorch/pytorch/issues/61844.
  1065. torch.testing.assert_allclose(true_grad, test_grad, rtol=rtol, atol=atol)
  1066.  
  1067. tests/test_brownian_interval.py: 11 warnings
  1068. tests/test_brownian_path.py: 3 warnings
  1069. tests/test_brownian_tree.py: 3 warnings
  1070. /home/photon/.cache/yay/python-torchsde/src/python-torchsde/build/lib/torchsde/_brownian/brownian_interval.py:591: UserWarning: BrownianInterval is optimised for interval-based queries, not point evaluation.
  1071. warnings.warn(f"{self.__class__.__name__} is optimised for interval-based queries, not point evaluation.")
  1072.  
  1073. tests/test_brownian_interval.py::test_consistency[none-device0]
  1074. tests/test_brownian_interval.py::test_consistency[space-time-device0]
  1075. tests/test_brownian_interval.py::test_consistency[davie-device0]
  1076. tests/test_brownian_interval.py::test_consistency[foster-device0]
  1077. /home/photon/.cache/yay/python-torchsde/src/python-torchsde/tests/test_brownian_interval.py:284: FutureWarning: `torch.testing.assert_allclose()` is deprecated since 1.12 and will be removed in a future release. Please use `torch.testing.assert_close()` instead. You can find detailed upgrade instructions in https://github.com/pytorch/pytorch/issues/61844.
  1078. torch.testing.assert_allclose(W1 + W2, W, rtol=1e-6, atol=1e-6)
  1079.  
  1080. tests/test_brownian_interval.py::test_consistency[space-time-device0]
  1081. tests/test_brownian_interval.py::test_consistency[davie-device0]
  1082. tests/test_brownian_interval.py::test_consistency[foster-device0]
  1083. /home/photon/.cache/yay/python-torchsde/src/python-torchsde/tests/test_brownian_interval.py:286: FutureWarning: `torch.testing.assert_allclose()` is deprecated since 1.12 and will be removed in a future release. Please use `torch.testing.assert_close()` instead. You can find detailed upgrade instructions in https://github.com/pytorch/pytorch/issues/61844.
  1084. torch.testing.assert_allclose(U1 + U2 + (tb - t_) * W1, U, rtol=1e-6, atol=1e-6)
  1085.  
  1086. tests/test_sdeint.py::test_reversibility[NeuralDiagonal]
  1087. tests/test_sdeint.py::test_reversibility[NeuralScalar]
  1088. tests/test_sdeint.py::test_reversibility[NeuralAdditive]
  1089. tests/test_sdeint.py::test_reversibility[NeuralGeneral]
  1090. /home/photon/.cache/yay/python-torchsde/src/python-torchsde/tests/test_sdeint.py:252: FutureWarning: `torch.testing.assert_allclose()` is deprecated since 1.12 and will be removed in a future release. Please use `torch.testing.assert_close()` instead. You can find detailed upgrade instructions in https://github.com/pytorch/pytorch/issues/61844.
  1091. torch.testing.assert_allclose(ys, backward_ys, rtol=1e-6, atol=1e-6)
  1092.  
  1093. -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
  1094. ================================= short test summary info =================================
  1095. FAILED tests/test_brownian_interval.py::test_shape[none-False-False-device1] - TypeError: skip() got an unexpected keyword argument 'msg'
  1096. FAILED tests/test_brownian_interval.py::test_shape[space-time-False-False-device1] - TypeError: skip() got an unexpected keyword argument 'msg'
  1097. FAILED tests/test_brownian_interval.py::test_shape[space-time-True-False-device1] - TypeError: skip() got an unexpected keyword argument 'msg'
  1098. FAILED tests/test_brownian_interval.py::test_shape[davie-True-True-device1] - TypeError: skip() got an unexpected keyword argument 'msg'
  1099. FAILED tests/test_brownian_interval.py::test_shape[davie-True-False-device1] - TypeError: skip() got an unexpected keyword argument 'msg'
  1100. FAILED tests/test_brownian_interval.py::test_shape[davie-False-True-device1] - TypeError: skip() got an unexpected keyword argument 'msg'
  1101. FAILED tests/test_brownian_interval.py::test_shape[davie-False-False-device1] - TypeError: skip() got an unexpected keyword argument 'msg'
  1102. FAILED tests/test_brownian_interval.py::test_shape[foster-True-True-device1] - TypeError: skip() got an unexpected keyword argument 'msg'
  1103. FAILED tests/test_brownian_interval.py::test_shape[foster-True-False-device1] - TypeError: skip() got an unexpected keyword argument 'msg'
  1104. FAILED tests/test_brownian_interval.py::test_shape[foster-False-True-device1] - TypeError: skip() got an unexpected keyword argument 'msg'
  1105. FAILED tests/test_brownian_interval.py::test_shape[foster-False-False-device1] - TypeError: skip() got an unexpected keyword argument 'msg'
  1106. FAILED tests/test_brownian_interval.py::test_determinism_simple[none-False-False-device1] - TypeError: skip() got an unexpected keyword argument 'msg'
  1107. FAILED tests/test_brownian_interval.py::test_determinism_simple[space-time-False-False-device1] - TypeError: skip() got an unexpected keyword argument 'msg'
  1108. FAILED tests/test_brownian_interval.py::test_determinism_simple[space-time-True-False-device1] - TypeError: skip() got an unexpected keyword argument 'msg'
  1109. FAILED tests/test_brownian_interval.py::test_determinism_simple[davie-True-True-device1] - TypeError: skip() got an unexpected keyword argument 'msg'
  1110. FAILED tests/test_brownian_interval.py::test_determinism_simple[davie-True-False-device1] - TypeError: skip() got an unexpected keyword argument 'msg'
  1111. FAILED tests/test_brownian_interval.py::test_determinism_simple[davie-False-True-device1] - TypeError: skip() got an unexpected keyword argument 'msg'
  1112. FAILED tests/test_brownian_interval.py::test_determinism_simple[davie-False-False-device1] - TypeError: skip() got an unexpected keyword argument 'msg'
  1113. FAILED tests/test_brownian_interval.py::test_determinism_simple[foster-True-True-device1] - TypeError: skip() got an unexpected keyword argument 'msg'
  1114. FAILED tests/test_brownian_interval.py::test_determinism_simple[foster-True-False-device1] - TypeError: skip() got an unexpected keyword argument 'msg'
  1115. FAILED tests/test_brownian_interval.py::test_determinism_simple[foster-False-True-device1] - TypeError: skip() got an unexpected keyword argument 'msg'
  1116. FAILED tests/test_brownian_interval.py::test_determinism_simple[foster-False-False-device1] - TypeError: skip() got an unexpected keyword argument 'msg'
  1117. FAILED tests/test_brownian_interval.py::test_determinism_large[none-False-False-device1] - TypeError: skip() got an unexpected keyword argument 'msg'
  1118. FAILED tests/test_brownian_interval.py::test_determinism_large[space-time-False-False-device1] - TypeError: skip() got an unexpected keyword argument 'msg'
  1119. FAILED tests/test_brownian_interval.py::test_determinism_large[space-time-True-False-device1] - TypeError: skip() got an unexpected keyword argument 'msg'
  1120. FAILED tests/test_brownian_interval.py::test_determinism_large[davie-True-True-device1] - TypeError: skip() got an unexpected keyword argument 'msg'
  1121. FAILED tests/test_brownian_interval.py::test_determinism_large[davie-True-False-device1] - TypeError: skip() got an unexpected keyword argument 'msg'
  1122. FAILED tests/test_brownian_interval.py::test_determinism_large[davie-False-True-device1] - TypeError: skip() got an unexpected keyword argument 'msg'
  1123. FAILED tests/test_brownian_interval.py::test_determinism_large[davie-False-False-device1] - TypeError: skip() got an unexpected keyword argument 'msg'
  1124. FAILED tests/test_brownian_interval.py::test_determinism_large[foster-True-True-device1] - TypeError: skip() got an unexpected keyword argument 'msg'
  1125. FAILED tests/test_brownian_interval.py::test_determinism_large[foster-True-False-device1] - TypeError: skip() got an unexpected keyword argument 'msg'
  1126. FAILED tests/test_brownian_interval.py::test_determinism_large[foster-False-True-device1] - TypeError: skip() got an unexpected keyword argument 'msg'
  1127. FAILED tests/test_brownian_interval.py::test_determinism_large[foster-False-False-device1] - TypeError: skip() got an unexpected keyword argument 'msg'
  1128. FAILED tests/test_brownian_interval.py::test_normality_simple[none-device1] - TypeError: skip() got an unexpected keyword argument 'msg'
  1129. FAILED tests/test_brownian_interval.py::test_normality_simple[space-time-device1] - TypeError: skip() got an unexpected keyword argument 'msg'
  1130. FAILED tests/test_brownian_interval.py::test_normality_simple[davie-device1] - TypeError: skip() got an unexpected keyword argument 'msg'
  1131. FAILED tests/test_brownian_interval.py::test_normality_simple[foster-device1] - TypeError: skip() got an unexpected keyword argument 'msg'
  1132. FAILED tests/test_brownian_interval.py::test_normality_conditional[none-device1] - TypeError: skip() got an unexpected keyword argument 'msg'
  1133. FAILED tests/test_brownian_interval.py::test_normality_conditional[space-time-device1] - TypeError: skip() got an unexpected keyword argument 'msg'
  1134. FAILED tests/test_brownian_interval.py::test_normality_conditional[davie-device1] - TypeError: skip() got an unexpected keyword argument 'msg'
  1135. FAILED tests/test_brownian_interval.py::test_normality_conditional[foster-device1] - TypeError: skip() got an unexpected keyword argument 'msg'
  1136. FAILED tests/test_brownian_interval.py::test_consistency[none-device1] - TypeError: skip() got an unexpected keyword argument 'msg'
  1137. FAILED tests/test_brownian_interval.py::test_consistency[space-time-device1] - TypeError: skip() got an unexpected keyword argument 'msg'
  1138. FAILED tests/test_brownian_interval.py::test_consistency[davie-device1] - TypeError: skip() got an unexpected keyword argument 'msg'
  1139. FAILED tests/test_brownian_interval.py::test_consistency[foster-device1] - TypeError: skip() got an unexpected keyword argument 'msg'
  1140. FAILED tests/test_brownian_interval.py::test_entropy_determinism[none-False-False-device1-False] - TypeError: skip() got an unexpected keyword argument 'msg'
  1141. FAILED tests/test_brownian_interval.py::test_entropy_determinism[none-False-False-device1-True] - TypeError: skip() got an unexpected keyword argument 'msg'
  1142. FAILED tests/test_brownian_interval.py::test_entropy_determinism[space-time-False-False-device1-False] - TypeError: skip() got an unexpected keyword argument 'msg'
  1143. FAILED tests/test_brownian_interval.py::test_entropy_determinism[space-time-False-False-device1-True] - TypeError: skip() got an unexpected keyword argument 'msg'
  1144. FAILED tests/test_brownian_interval.py::test_entropy_determinism[space-time-True-False-device1-False] - TypeError: skip() got an unexpected keyword argument 'msg'
  1145. FAILED tests/test_brownian_interval.py::test_entropy_determinism[space-time-True-False-device1-True] - TypeError: skip() got an unexpected keyword argument 'msg'
  1146. FAILED tests/test_brownian_interval.py::test_entropy_determinism[davie-True-True-device1-False] - TypeError: skip() got an unexpected keyword argument 'msg'
  1147. FAILED tests/test_brownian_interval.py::test_entropy_determinism[davie-True-True-device1-True] - TypeError: skip() got an unexpected keyword argument 'msg'
  1148. FAILED tests/test_brownian_interval.py::test_entropy_determinism[davie-True-False-device1-False] - TypeError: skip() got an unexpected keyword argument 'msg'
  1149. FAILED tests/test_brownian_interval.py::test_entropy_determinism[davie-True-False-device1-True] - TypeError: skip() got an unexpected keyword argument 'msg'
  1150. FAILED tests/test_brownian_interval.py::test_entropy_determinism[davie-False-True-device1-False] - TypeError: skip() got an unexpected keyword argument 'msg'
  1151. FAILED tests/test_brownian_interval.py::test_entropy_determinism[davie-False-True-device1-True] - TypeError: skip() got an unexpected keyword argument 'msg'
  1152. FAILED tests/test_brownian_interval.py::test_entropy_determinism[davie-False-False-device1-False] - TypeError: skip() got an unexpected keyword argument 'msg'
  1153. FAILED tests/test_brownian_interval.py::test_entropy_determinism[davie-False-False-device1-True] - TypeError: skip() got an unexpected keyword argument 'msg'
  1154. FAILED tests/test_brownian_interval.py::test_entropy_determinism[foster-True-True-device1-False] - TypeError: skip() got an unexpected keyword argument 'msg'
  1155. FAILED tests/test_brownian_interval.py::test_entropy_determinism[foster-True-True-device1-True] - TypeError: skip() got an unexpected keyword argument 'msg'
  1156. FAILED tests/test_brownian_interval.py::test_entropy_determinism[foster-True-False-device1-False] - TypeError: skip() got an unexpected keyword argument 'msg'
  1157. FAILED tests/test_brownian_interval.py::test_entropy_determinism[foster-True-False-device1-True] - TypeError: skip() got an unexpected keyword argument 'msg'
  1158. FAILED tests/test_brownian_interval.py::test_entropy_determinism[foster-False-True-device1-False] - TypeError: skip() got an unexpected keyword argument 'msg'
  1159. FAILED tests/test_brownian_interval.py::test_entropy_determinism[foster-False-True-device1-True] - TypeError: skip() got an unexpected keyword argument 'msg'
  1160. FAILED tests/test_brownian_interval.py::test_entropy_determinism[foster-False-False-device1-False] - TypeError: skip() got an unexpected keyword argument 'msg'
  1161. FAILED tests/test_brownian_interval.py::test_entropy_determinism[foster-False-False-device1-True] - TypeError: skip() got an unexpected keyword argument 'msg'
  1162. FAILED tests/test_brownian_path.py::test_basic[device1] - TypeError: skip() got an unexpected keyword argument 'msg'
  1163. FAILED tests/test_brownian_path.py::test_determinism[device1] - TypeError: skip() got an unexpected keyword argument 'msg'
  1164. FAILED tests/test_brownian_path.py::test_normality[device1] - TypeError: skip() got an unexpected keyword argument 'msg'
  1165. FAILED tests/test_brownian_tree.py::test_basic[device1] - TypeError: skip() got an unexpected keyword argument 'msg'
  1166. FAILED tests/test_brownian_tree.py::test_determinism[device1] - TypeError: skip() got an unexpected keyword argument 'msg'
  1167. FAILED tests/test_brownian_tree.py::test_normality[device1] - TypeError: skip() got an unexpected keyword argument 'msg'
  1168. =============== 73 failed, 1625 passed, 114 warnings in 1195.05s (0:19:55) ================
  1169.  
Advertisement
Add Comment
Please, Sign In to add comment