Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
4 changes: 2 additions & 2 deletions .claude/CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ PyPTO-Lib is a **primitive tensor function library** built on the pypto programm
| Dependency | Purpose | Repository |
|------------|---------|------------|
| **pypto** | Compiler framework (IR, codegen, passes) | `hw-native-sys/pypto` |
| **ptoas** | PTO assembler & optimizer toolchain | `zhangstevenunity/PTOAS` |
| **simpler** | Runtime (pto-rt2) | `ChaoWao/simpler` |
| **ptoas** | PTO assembler & optimizer toolchain | `hw-native-sys/PTOAS` |
| **simpler** | Runtime (pto-rt2) | `hw-native-sys/simpler` |

## Environment Setup

Expand Down
6 changes: 3 additions & 3 deletions .claude/skills/create-issue/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ get_upstream_remote() {
}

PYPTO_REMOTE=$(get_upstream_remote "$PYPTO_ROOT" "hw-native-sys/pypto")
SIMPLER_REMOTE=$(get_upstream_remote "$SIMPLER_ROOT" "ChaoWao/simpler")
SIMPLER_REMOTE=$(get_upstream_remote "$SIMPLER_ROOT" "hw-native-sys/simpler")
```

Then pull the latest code:
Expand Down Expand Up @@ -198,7 +198,7 @@ If the error is a **pypto** or **ptoas** issue, **skip this step** — pypto is
> Search the following repos based on the diagnosed component:
> - **Always** search `hw-native-sys/pypto-lib`
> - If diagnosed as **pypto** issue, also search `hw-native-sys/pypto`
> - If diagnosed as **simpler** issue, also search `ChaoWao/simpler`
> - If diagnosed as **simpler** issue, also search `hw-native-sys/simpler`
>
> For each repo, follow the two-step process below. Then return EXACTLY one of: `DUPLICATE REPO#N`, `RELATED REPO#N1 REPO#N2 ...`, or `NO_MATCH`. Keep your response to 1-3 sentences plus the verdict.

Expand Down Expand Up @@ -326,7 +326,7 @@ Before creating the issue, **print the full issue content** to the user for revi
2. **Determine the target repository** based on the diagnosis:
- Default: the current repository (pypto-lib), determined by `gh repo view --json nameWithOwner -q .nameWithOwner`
- If the diagnosis clearly points to **pypto** → ask the user: "This issue appears to be a pypto problem. Would you like to file it to **hw-native-sys/pypto** instead of pypto-lib?"
- If the diagnosis clearly points to **simpler** → ask the user: "This issue appears to be a simpler problem. Would you like to file it to **ChaoWao/simpler** instead of pypto-lib?"
- If the diagnosis clearly points to **simpler** → ask the user: "This issue appears to be a simpler problem. Would you like to file it to **hw-native-sys/simpler** instead of pypto-lib?"
- If **ptoas** or unclear → file to pypto-lib (default).
3. Wait for the user to confirm or request changes before proceeding to Step 9.

Expand Down
6 changes: 3 additions & 3 deletions .claude/skills/setup_env/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,11 @@ If pypto is already installed and up to date, skip this step.
The pinned version is in `.github/workflows/ci.yml` (`PTOAS_VERSION`).

```bash
PTOAS_VERSION=v0.17
PTOAS_VERSION=v0.24
ARCH=$(uname -m) # x86_64 or aarch64
curl --fail --location --retry 3 --retry-all-errors \
-o /tmp/ptoas-bin-${ARCH}.tar.gz \
https://github.com/zhangstevenunity/PTOAS/releases/download/${PTOAS_VERSION}/ptoas-bin-${ARCH}.tar.gz
https://github.com/hw-native-sys/PTOAS/releases/download/${PTOAS_VERSION}/ptoas-bin-${ARCH}.tar.gz
mkdir -p "$WORKSPACE_DIR/ptoas-bin"
tar -xzf /tmp/ptoas-bin-${ARCH}.tar.gz -C "$WORKSPACE_DIR/ptoas-bin"
chmod +x "$WORKSPACE_DIR/ptoas-bin/ptoas" "$WORKSPACE_DIR/ptoas-bin/bin/ptoas"
Expand All @@ -71,7 +71,7 @@ export PTO_ISA_ROOT="$WORKSPACE_DIR/pto-isa"
## Step 6: Install simpler (stable branch)

```bash
git clone --branch stable https://github.com/ChaoWao/simpler.git "$WORKSPACE_DIR/simpler"
git clone --branch stable https://github.com/hw-native-sys/simpler.git "$WORKSPACE_DIR/simpler"
pip install "$WORKSPACE_DIR/simpler"
export SIMPLER_ROOT="$WORKSPACE_DIR/simpler"
```
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,9 @@ jobs:

- name: Install ptoas
run: |
PTOAS_VERSION=v0.17
PTOAS_VERSION=v0.24
curl --fail --location --retry 3 --retry-all-errors \
https://github.com/zhangstevenunity/PTOAS/releases/download/${PTOAS_VERSION}/ptoas-bin-x86_64.tar.gz \
https://github.com/hw-native-sys/PTOAS/releases/download/${PTOAS_VERSION}/ptoas-bin-x86_64.tar.gz \
-o /tmp/ptoas-bin-x86_64.tar.gz
mkdir -p $GITHUB_WORKSPACE/ptoas-bin
tar -xzf /tmp/ptoas-bin-x86_64.tar.gz -C $GITHUB_WORKSPACE/ptoas-bin
Expand Down Expand Up @@ -117,9 +117,9 @@ jobs:

- name: Install ptoas
run: |
PTOAS_VERSION=v0.17
PTOAS_VERSION=v0.24
curl --fail --location --retry 3 --retry-all-errors \
https://github.com/zhangstevenunity/PTOAS/releases/download/${PTOAS_VERSION}/ptoas-bin-x86_64.tar.gz \
https://github.com/hw-native-sys/PTOAS/releases/download/${PTOAS_VERSION}/ptoas-bin-x86_64.tar.gz \
-o /tmp/ptoas-bin-x86_64.tar.gz
mkdir -p $GITHUB_WORKSPACE/ptoas-bin
tar -xzf /tmp/ptoas-bin-x86_64.tar.gz -C $GITHUB_WORKSPACE/ptoas-bin
Expand Down Expand Up @@ -180,9 +180,9 @@ jobs:

- name: Install ptoas
run: |
PTOAS_VERSION=v0.17
PTOAS_VERSION=v0.24
curl --fail --location --retry 3 --retry-all-errors \
https://github.com/zhangstevenunity/PTOAS/releases/download/${PTOAS_VERSION}/ptoas-bin-aarch64.tar.gz \
https://github.com/hw-native-sys/PTOAS/releases/download/${PTOAS_VERSION}/ptoas-bin-aarch64.tar.gz \
-o /tmp/ptoas-bin-aarch64.tar.gz
mkdir -p $GITHUB_WORKSPACE/ptoas-bin
tar -xzf /tmp/ptoas-bin-aarch64.tar.gz -C $GITHUB_WORKSPACE/ptoas-bin
Expand Down
Loading