Focus local lab deployment on Linux and WSL
This commit is contained in:
@@ -145,7 +145,7 @@
|
||||
|
||||
- name: Determine Miniforge platform suffix
|
||||
set_fact:
|
||||
courseware_transformerlab_miniforge_platform: "{{ 'Linux-x86_64' if ansible_system == 'Linux' and ansible_architecture == 'x86_64' else 'Linux-aarch64' if ansible_system == 'Linux' and ansible_architecture in ['aarch64', 'arm64'] else 'MacOSX-arm64' if ansible_system == 'Darwin' and ansible_architecture == 'arm64' else 'MacOSX-x86_64' if ansible_system == 'Darwin' and ansible_architecture == 'x86_64' else 'unsupported' }}"
|
||||
courseware_transformerlab_miniforge_platform: "{{ 'Linux-x86_64' if ansible_system == 'Linux' and ansible_architecture == 'x86_64' else 'Linux-aarch64' if ansible_system == 'Linux' and ansible_architecture in ['aarch64', 'arm64'] else 'unsupported' }}"
|
||||
|
||||
- name: Fail for unsupported Miniforge platform
|
||||
fail:
|
||||
@@ -210,7 +210,7 @@
|
||||
elif [ "$accelerator" = "rocm" ]; then
|
||||
wheel_args+=(--index https://download.pytorch.org/whl/rocm6.4 --index-strategy unsafe-best-match)
|
||||
extra="rocm"
|
||||
elif [ "{{ ansible_system }}" != "Darwin" ]; then
|
||||
else
|
||||
wheel_args+=(--index https://download.pytorch.org/whl/cpu --index-strategy unsafe-best-match)
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user