forked from ivy-llc/ivy
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from unifyai/main
updating my fork
- Loading branch information
Showing
1,244 changed files
with
182,396 additions
and
87,297 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
// For format details, see https://aka.ms/devcontainer.json. For config options, see the README at: | ||
// https://github.com/microsoft/vscode-dev-containers/tree/v0.236.0/containers/docker-existing-dockerfile | ||
{ | ||
"name": "Ivy Apple Silicon Development Environment (build)", | ||
|
||
"build": { | ||
"dockerfile": "../../docker/DockerfileAppleSilicon", | ||
"context": "../..", | ||
"args": { | ||
"pycon": ["3.10"] | ||
} | ||
}, | ||
|
||
"customizations": { | ||
"vscode": { | ||
"extensions": [ | ||
"ms-python.python" | ||
], | ||
"settings": { | ||
"python.defaultInterpreterPath": "/opt/miniconda/envs/multienv/bin/python3" | ||
} | ||
} | ||
}, | ||
|
||
"postCreateCommand": { | ||
"post_create": "bash .devcontainer/post_create_commands.sh", | ||
"bashrc": "echo \"alias python=python3\" >> ~/.bashrc" | ||
}, | ||
|
||
// Use 'forwardPorts' to make a list of ports inside the container available locally. | ||
// "forwardPorts": [], | ||
|
||
// Uncomment the next line to run commands after the container is created - for example installing curl. | ||
|
||
// Uncomment when using a ptrace-based debugger like C++, Go, and Rust | ||
// "runArgs": [ "--cap-add=SYS_PTRACE", "--security-opt", "seccomp=unconfined" ], | ||
|
||
// Uncomment to use the Docker CLI from inside the container. See https://aka.ms/vscode-remote/samples/docker-from-docker. | ||
// "mounts": [ "source=/var/run/docker.sock,target=/var/run/docker.sock,type=bind" ], | ||
|
||
// Uncomment to connect as a non-root user if you've added one. See https://aka.ms/vscode-remote/containers/non-root. | ||
// "remoteUser": "vscode", | ||
"features": { | ||
"ghcr.io/devcontainers/features/common-utils:2": { | ||
"installZsh": true, | ||
"configureZshAsDefaultShell": true, | ||
"installOhMyZsh": true, | ||
"upgradePackages": false | ||
}, | ||
"ghcr.io/devcontainers/features/docker-outside-of-docker:1": { | ||
"moby": true, | ||
"installDockerBuildx": true, | ||
"version": "20.10", | ||
"dockerDashComposeVersion": "v2" | ||
}, | ||
"ghcr.io/devcontainers/features/github-cli:1": { | ||
"installDirectlyFromGitHubRelease": true, | ||
"version": "latest" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
|
||
<!-- | ||
This template will help you to have a meaningful PR, please follow it and do not leave it blank. | ||
--> | ||
|
||
# PR Description | ||
|
||
<!-- | ||
If there is no related issue, please add a short description about your PR. | ||
--> | ||
|
||
## Related Issue | ||
|
||
<!-- | ||
Please use this format to link other issues with their numbers: Close #123 | ||
https://docs.github.com/en/issues/tracking-your-work-with-issues/linking-a-pull-request-to-an-issue#linking-a-pull-request-to-an-issue-using-a-keyword | ||
--> | ||
|
||
Closes # | ||
|
||
## Checklist | ||
|
||
- [ ] Did you add a function? | ||
- [ ] Did you add the tests? | ||
- [ ] Did you run your tests and are your tests passing? | ||
- [ ] Did pre-commit not fail on any check? | ||
- [ ] Did you follow the steps we provided? | ||
|
||
<!-- | ||
Please mark your PR as a draft if you realise after the fact that your tests are not passing or | ||
that your pre-commit check has some failures. | ||
Here are some relevant resources regarding tests and pre-commit: | ||
https://unify.ai/docs/ivy/overview/deep_dive/ivy_tests.html | ||
https://unify.ai/docs/ivy/overview/deep_dive/formatting.html#pre-commit | ||
--> | ||
|
||
### Socials | ||
|
||
<!-- | ||
If you have Twitter, please provide it here otherwise just ignore this. | ||
--> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,18 @@ | ||
name: array-api-determine-test-coverage | ||
on: | ||
workflow_dispatch: | ||
schedule: | ||
- cron: "30 20 * * 6" | ||
|
||
permissions: | ||
actions: read | ||
jobs: | ||
determine_coverage: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
branch: [ 1, 2, 3, 4 ] | ||
steps: | ||
- name: Checkout Ivy 🛎 | ||
uses: actions/checkout@v2 | ||
|
@@ -19,7 +26,7 @@ jobs: | |
run: | | ||
pip install pydriller tqdm | ||
cd ivy | ||
python run_tests_CLI/array_api_det_coverage.py | ||
python scripts/determine_tests/array_api_det_coverage.py ${{ matrix.branch }} | ||
cd .. | ||
mkdir tests | ||
cp ivy/tests.pbz2 tests/ | ||
|
@@ -32,6 +39,6 @@ jobs: | |
source-directory: tests/ | ||
destination-github-username: 'unifyai' | ||
destination-repository-name: 'Mapping' | ||
user-email: [email protected] | ||
user-email: [email protected] | ||
commit-message: Update Array API Tests Mapping | ||
target-branch: master | ||
target-branch: main${{ matrix.branch }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.