mlflow 1.30 -> 2.1

This commit is contained in:
2023-03-01 14:56:27 +08:00
parent 0327ebf1f4
commit a0ac14d0f7
2 changed files with 82 additions and 18 deletions

8
test_pytorch_m1.py Normal file
View File

@ -0,0 +1,8 @@
import torch
import math
print('this ensures that the current MacOS version is at least 12.3+')
print(torch.backends.mps.is_available())
print('\nthis ensures that the current current PyTorch installation was built with MPS activated.')
print(torch.backends.mps.is_built())