Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
61 commits
Select commit Hold shift + click to select a range
5c2aa7c
Update anaconda.md
annietllnd Nov 18, 2024
a84e10b
Update anaconda.md
annietllnd Nov 18, 2024
4394380
Update test-lp.yml
annietllnd Nov 18, 2024
29d82b0
Update workflow permissions
annietllnd Nov 25, 2024
905967f
Update GITHUB_TOKEN
annietllnd Nov 25, 2024
8669139
Update github.token
annietllnd Nov 25, 2024
8968d31
Remove github.token
annietllnd Nov 25, 2024
9c93004
Disable --stats-report
annietllnd Nov 25, 2024
dd73ea4
Update GITHUB_TOKEN
annietllnd Nov 25, 2024
94b3fd9
Change base in workflow job
annietllnd Nov 25, 2024
28e48fd
Enable --stats-report
annietllnd Nov 26, 2024
993260f
Trigger re-run of tests
annietllnd Jan 10, 2025
62da66d
Don't specify PR branch
annietllnd Jan 13, 2025
7b73bcf
Specify main branch
annietllnd Jan 13, 2025
29c3d11
Token to default, add pages write permissions
annietllnd Jan 13, 2025
a8cd8d3
Use head_ref as 'branch'
annietllnd Jan 13, 2025
cb027a5
Use default branches
annietllnd Jan 13, 2025
d3fafea
Specify branch as workflow variable
annietllnd Jan 13, 2025
77058e5
Specify base
annietllnd Jan 13, 2025
0c6ec48
Change order of arguments
annietllnd Jan 13, 2025
9d78078
Workaround by checking out main repository
annietllnd Jan 14, 2025
86f4178
Update primary branch name
annietllnd Jan 14, 2025
c8b3700
Fix artifact path
annietllnd Jan 14, 2025
1a56f85
Upzip artifact
annietllnd Jan 14, 2025
e7bf8c5
debug filename
annietllnd Jan 14, 2025
bee92f6
Test permission of artifact
annietllnd Jan 14, 2025
902c05e
Specify relative path for artifact
annietllnd Jan 14, 2025
973fdfb
Specify relative path
annietllnd Jan 14, 2025
f3683f9
Debug paths
annietllnd Jan 14, 2025
1db9b84
Debug permissions
annietllnd Jan 14, 2025
5d2c1ee
Fix typo
annietllnd Jan 14, 2025
f328820
git status
annietllnd Jan 14, 2025
bd50a90
Add arg to rm
annietllnd Jan 14, 2025
970c0e4
Debug machine
annietllnd Jan 14, 2025
dd031c8
Change checkout strategy
annietllnd Jan 14, 2025
65af5c8
Use ref instead of path
annietllnd Jan 15, 2025
90451d7
Debug artifact
annietllnd Jan 15, 2025
7686a70
Unzip artifact
annietllnd Jan 15, 2025
c2302fd
git diff
annietllnd Jan 15, 2025
8ba0b4a
Separate steps
annietllnd Jan 15, 2025
609b21f
Use tar instead of unzip
annietllnd Jan 15, 2025
4d8d549
Debug artifact path
annietllnd Jan 15, 2025
b8227e2
Change artifact path
annietllnd Jan 15, 2025
44d0bc8
Change branch names
annietllnd Jan 15, 2025
06c5b34
Test permissions
annietllnd Jan 15, 2025
9a1cb3d
Final permission test
annietllnd Jan 17, 2025
78c07c6
Separate jobs
annietllnd Jan 17, 2025
5841fb0
Stats PR file
annietllnd Jan 17, 2025
6b0131d
Merge branch 'main' into test-framework-anaconda
annietllnd Jan 17, 2025
279ffa9
Change run-id parameter
annietllnd Jan 17, 2025
74b125b
Mock change
annietllnd Jan 17, 2025
fc71f67
Mock commit
annietllnd Jan 17, 2025
752393b
Merge branch 'main' into test-framework-anaconda
annietllnd Jan 17, 2025
6f7f13d
Mock commit
annietllnd Jan 20, 2025
270989f
Test status change of anaconda.md
annietllnd Jan 20, 2025
461060d
Mock commit
annietllnd Jan 20, 2025
fc833ce
Mock commit
annietllnd Jan 20, 2025
0d4f705
Mock commit
annietllnd Jan 20, 2025
03c1e05
Mock commit
annietllnd Jan 20, 2025
efc4390
Test is anaconda.md status is changed
annietllnd Jan 20, 2025
55cd053
Revert anaconda.md change
annietllnd Jan 20, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/stats-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,4 @@ jobs:
Update test result file with recent run
Auto-generated by create-pull-request: https://github.com/peter-evans/create-pull-request
branch: update-stats-current-test-info
base: main
base: main
18 changes: 7 additions & 11 deletions .github/workflows/test-lp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ jobs:
steps:
- name: Check out repository code
uses: actions/checkout@v4
with:
ref: ${{ steps.vars.outputs.branch-name }}
- name: Get all changed markdown files
id: changed-markdown-files
uses: tj-actions/changed-files@v44
Expand All @@ -15,7 +17,6 @@ jobs:
- name: Install dependencies
if: steps.changed-markdown-files.outputs.any_changed == 'true'
run: pip install -r tools/requirements.txt

- name: Run test suite for all changed files
id: run-suite
if: steps.changed-markdown-files.outputs.any_changed == 'true'
Expand Down Expand Up @@ -45,14 +46,9 @@ jobs:
if: env.MAINTENANCE == 'off' && success()
# Skip opening a PR if tests have not been run
run: echo "Maintenance is turned off for one or more files"
- name: Create Pull Request
uses: peter-evans/create-pull-request@v6
if: success() && steps.maintenance-state.outputs.MAINTENANCE == 'on'
- name: Upload stats artifact
uses: actions/upload-artifact@v4
if: success() && env.MAINTENANCE == 'on'
with:
commit-message: update stats_current_test_info.yml
title: Update stats_current_test_info.yml
body: |
Update test result file with recent run
Auto-generated by create-pull-request: https://github.com/peter-evans/create-pull-request
branch: update-stats
base: main
name: stats_current_test_info
path: data/stats_current_test_info.yml
3 changes: 2 additions & 1 deletion .github/workflows/test_lp.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ done
CONTENT_PATHS_UNIQUE=($(printf "%s\n" "${CONTENT_PATHS[@]}" | sort -u))
echo "Unique content paths: ${CONTENT_PATHS_UNIQUE[*]}"
# Run the tests

for file in ${CONTENT_PATHS_UNIQUE[*]}; do
tools/maintenance.py -i ${file}
tools/maintenance.py -i ${file} --stats-report
done
15 changes: 8 additions & 7 deletions content/install-guides/anaconda.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,11 @@ tool_install: true
weight: 1
---

[Anaconda Distribution](https://www.anaconda.com/products/distribution) is a popular open-source Python distribution.
[Anaconda Distribution](https://www.anaconda.com/products/distribution) is a popular open-source Python distribution.

It includes access to a repository with over 8,000 open-source data science and machine learning packages.

The `conda` command can be used to quickly install and use Python packages.
The `conda` command can be used to quickly install and use Python packages.

Follow the instructions below to install and use Anaconda Distribution on an Arm server.

Expand All @@ -46,11 +46,12 @@ aarch64

If you see a different result, you are not using an Arm computer running 64-bit Linux.

The installer requires some desktop related libraries. The dependencies can be met by installing a desktop environment.
The installer requires some desktop related libraries. The dependencies can be met by installing a desktop environment.

For Ubuntu/Debian, run the command:

```console
sudo apt update
sudo apt install xfce4 -y
```

Expand All @@ -60,7 +61,7 @@ For Amazon Linux, run the command:
sudo amazon-linux-extras install mate-desktop1.x
```

## How do I download the latest Anaconda distribution?
## How do I download the latest Anaconda distribution?

To download the latest Anaconda distribution, run:

Expand All @@ -84,7 +85,7 @@ sh ./Anaconda3-2023.09-0-Linux-aarch64.sh -b

The install takes a couple of minutes to complete.

The batch installation will not set up the shell.
The batch installation will not set up the shell.

To set up the shell, run:

Expand Down Expand Up @@ -133,7 +134,7 @@ Run the example code:
python ./tf.py
```

The expected output format is below. Your version may be slightly different.
The expected output format is below. Your version may be slightly different.

```output
2.12.0
Expand Down Expand Up @@ -180,6 +181,6 @@ tensor([[0.9287, 0.5931, 0.0239],
```


You are ready to use Anaconda Distribution.
You are ready to use Anaconda Distribution.

Explore the many machine learning articles and examples using TensorFlow and PyTorch.
2 changes: 1 addition & 1 deletion data/stats_current_test_info.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ sw_categories:
anaconda:
readable_title: Anaconda
tests_and_status:
- ubuntu:latest: passed
- ubuntu:latest: failed
ansible:
readable_title: Ansible
tests_and_status:
Expand Down