Transfer the image to huggingface hub

This commit is contained in:
Tianbao Xie
2024-04-07 20:16:29 +08:00
committed by GitHub
parent 24fbca785d
commit 76b821426e

View File

@@ -42,15 +42,17 @@ If the installation along with the environment variable set is successful, you w
3. Obtain the virtual machine image. If you are using Linux or Windows with an x86_64 CPU, install the environment package and download the examples and the virtual machine image by executing the following commands:
Remove the `nogui` parameter if you wish to view the activities within the virtual machine.
```bash
gdown https://drive.google.com/drive/folders/1HX5gcf7UeyR-2UmiA15Q9U-Wr6E6Gio8 -O Ubuntu --folder
wget https://huggingface.co/datasets/xlangai/ubuntu_x86/resolve/main/Ubuntu.zip
unzip Ubuntu.zip
vmrun -T ws start "Ubuntu/Ubuntu.vmx" nogui
vmrun -T ws snapshot "Ubuntu/Ubuntu.vmx" "init_state"
```
For macOS with Apple chips, you should install the specially prepared virtual machine image by executing the following commands:
```bash
gdown https://drive.google.com/drive/folders/1wT0vwpuEFTIPik9Tjn4DWoZ2oHCD7tM0 -O Ubuntu --folder
vmrun -T fusion start "Ubuntu/Ubuntu.vmx"
wget https://huggingface.co/datasets/xlangai/ubuntu_arm/resolve/main/Ubuntu.zip
unzip Ubuntu.zip
vmrun -T fusion start "Ubuntu/Ubuntu.vmx" nogui
vmrun -T fusion snapshot "Ubuntu/Ubuntu.vmx" "init_state"
```