Skip to content

Commit

Permalink
Merge branch 'main' into pr/Mac16661/27360
Browse files Browse the repository at this point in the history
  • Loading branch information
Sam-Armstrong committed Jul 13, 2024
2 parents faa1f8a + 55271e9 commit 862c171
Show file tree
Hide file tree
Showing 755 changed files with 34,404 additions and 19,936 deletions.
2 changes: 1 addition & 1 deletion .devcontainer/build_gpu/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"dockerfile": "../../docker/DockerfileGPU",
"context": "../..",
"args": {
"IMAGE_NAME": "unifyai/ivy",
"IMAGE_NAME": "transpileai/ivy",
"IMAGE_TAG": "latest-gpu"
}
},
Expand Down
4 changes: 2 additions & 2 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "Ivy Development Environment (image)",

"image": "unifyai/ivy:latest",
"image": "transpileai/ivy:latest",
"customizations": {
"vscode": {
"extensions": [
Expand All @@ -17,7 +17,7 @@
"post_create": "bash .devcontainer/post_create_commands.sh",
"bashrc": "echo \"alias python=python3\" >> ~/.bashrc"
},
"initializeCommand": "docker pull unifyai/ivy:latest",
"initializeCommand": "docker pull transpileai/ivy:latest",

// Use 'forwardPorts' to make a list of ports inside the container available locally.
// "forwardPorts": [],
Expand Down
4 changes: 2 additions & 2 deletions .devcontainer/image_gpu/devcontainer.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "Ivy GPU Development Environment (image)",

"image": "unifyai/ivy:latest-gpu",
"image": "transpileai/ivy:latest-gpu",
"customizations": {
"vscode": {
"extensions": [
Expand All @@ -19,7 +19,7 @@
"post_create": "bash .devcontainer/post_create_commands.sh",
"bashrc": "echo \"alias python=python3\" >> ~/.bashrc"
},
"initializeCommand": "docker pull unifyai/ivy:latest",
"initializeCommand": "docker pull transpileai/ivy:latest",

// Use 'forwardPorts' to make a list of ports inside the container available locally.
// "forwardPorts": [],
Expand Down
28 changes: 14 additions & 14 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
# Ivy Framework
ivy/func_wrapper.py @VedPatwardhan
**/gradients.py @VedPatwardhan
ivy/utils/backend @VedPatwardhan @CatB1t
ivy/utils/backend/ast_helpers.py @CatB1t
ivy/func_wrapper.py @Sam-Armstrong
**/gradients.py @Sam-Armstrong
ivy/utils/backend @Sam-Armstrong
ivy/utils/backend/ast_helpers.py @Sam-Armstrong

# Ivy Testing
ivy_tests/test_ivy/helpers/ @CatB1t
ivy_tests/test_ivy/helpers/ @Sam-Armstrong

# Docs builder
docs/index.rst @KareemMAX
docs/make_docs.sh @KareemMAX
docs/partial_conf.py @KareemMAX
docs/prebuild.sh @KareemMAX
docs/overview/contributing/building_the_docs.rst @KareemMAX
docs/overview/deep_dive/building_the_docs_pipeline.rst @KareemMAX
docs/_templates @KareemMAX
docs/demos @KareemMAX
docs/index.rst @Sam-Armstrong
docs/make_docs.sh @Sam-Armstrong
docs/partial_conf.py @Sam-Armstrong
docs/prebuild.sh @Sam-Armstrong
docs/overview/contributing/building_the_docs.rst @Sam-Armstrong
docs/overview/deep_dive/building_the_docs_pipeline.rst @Sam-Armstrong
docs/_templates @Sam-Armstrong
docs/demos @Sam-Armstrong

# README
README.md @guillesanbri
README.md @Sam-Armstrong
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/sub-task.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name: 🍰 Sub-Task
about: Reserve a sub-task from a ToDo list issue
title: "<Function_Name>"
labels: Sub Task, hacktoberfest
labels: Sub Task
assignees: ''

---
4 changes: 2 additions & 2 deletions .github/workflows/array-api-det-coverage.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
name: array-api-determine-test-coverage
on:
workflow_dispatch:
schedule:
- cron: "30 20 * * 6"
# schedule:
# - cron: "30 20 * * 6"

permissions:
actions: read
Expand Down
85 changes: 0 additions & 85 deletions .github/workflows/array-api-intelligent-tests-pr.yml

This file was deleted.

82 changes: 0 additions & 82 deletions .github/workflows/array-api-intelligent-tests.yml

This file was deleted.

24 changes: 24 additions & 0 deletions .github/workflows/assign-pr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: assign-pr

on:
pull_request:
types: [opened]

jobs:
assign:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v3

- name: Assign PR
env:
GITHUB_TOKEN: ${{ secrets.DEV_BOT_GENERAL_PAT }}
run: |
PR_NUMBER=$(jq --raw-output .pull_request.number "$GITHUB_EVENT_PATH")
curl -s -X POST \
-H "Authorization: token $GITHUB_TOKEN" \
-H "Accept: application/vnd.github.v3+json" \
https://api.github.com/repos/${{ github.repository }}/issues/$PR_NUMBER/assignees \
-d '{"assignees":["Sam-Armstrong"]}'
6 changes: 3 additions & 3 deletions .github/workflows/binaries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️Binaries
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
repository: unifyai/binaries
repository: ivy-llc/binaries
token: ${{ secrets.DEV_BOT_GENERAL_PAT }}
path: binaries
persist-credentials: false

- name: Add Tag to Binaries
run: |
Expand Down
75 changes: 75 additions & 0 deletions .github/workflows/build-docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
name: Update docs
on:
workflow_call:
inputs:
package-dependencies:
description: 'Apt package dependencies'
required: false
default: ''
type: string
repo-name:
description: 'Repo display name in the URL'
required: false
default: ''
type: string
docs-repo:
description: 'Repo to hold the docs'
required: false
default: ivy-llc/docs
type: string

permissions:
contents: write

jobs:
publish-dev-docs:
name: Publish dev docs
uses: ./.github/workflows/publish-docs.yml
secrets: inherit
concurrency:
group: dev-docs
cancel-in-progress: true
with:
package-dependencies: ${{ inputs.package-dependencies }}
repo-name: ${{ inputs.repo-name }}
docs-repo: ${{ inputs.docs-repo }}

publish-release-docs:
name: Publish release docs
needs: publish-dev-docs
uses: ./.github/workflows/publish-docs.yml
if: always() && startsWith(github.ref, 'refs/tags')
secrets: inherit
with:
version: ${{ github.ref_name }}
package-dependencies: ${{ inputs.package-dependencies }}
repo-name: ${{ inputs.repo-name }}
docs-repo: ${{ inputs.docs-repo }}

update-versions:
name: Update versions.json
needs: publish-release-docs
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️ Docs
uses: actions/checkout@v4
with:
repository: ${{ inputs.docs-repo }}
token: ${{ secrets.DEV_BOT_PAT }}

- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: "3.10"

- name: Add version to ${{ inputs.repo-name }}.json
run: |
python versions/add_version.py ${{ inputs.repo-name }} ${{ github.ref_name }}
- name: Commit and push
run: |
git config --global user.email "hello@transpile-ai.com"
git config --global user.name "ivy-dev-bot"
git add versions/
git commit -m "Add ${{ github.ref_name }} to ${{ inputs.repo-name }}.json"
git push
Loading

0 comments on commit 862c171

Please sign in to comment.