Unverified Commit 41f9d4b0 authored by nateanl's avatar nateanl Committed by GitHub
Browse files

[fbsync] fix style checks (#1913)

parent 468690a6
...@@ -212,7 +212,7 @@ def unittest_workflows(indentation=6): ...@@ -212,7 +212,7 @@ def unittest_workflows(indentation=6):
job = { job = {
"name": f"unittest_{os_type}_{device_type}_py{python_version}", "name": f"unittest_{os_type}_{device_type}_py{python_version}",
"python_version": python_version, "python_version": python_version,
"cuda_version": 'cpu' if device_type=="cpu" else "cu113", "cuda_version": 'cpu' if device_type == "cpu" else "cu113",
} }
if os_type != "windows": if os_type != "windows":
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
set -ex set -ex
torch_cuda_version=$(python -c "import torch; print(torch.version.cuda)") torch_cuda_version=$(python -c "import torch; print(torch.version.cuda)")
echo torch.cuda.version is $torch_cuda_version echo "torch.cuda.version is $torch_cuda_version"
echo USE_CUDA is "$USE_CUDA" echo USE_CUDA is "$USE_CUDA"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment