Skip to content

Commit

Permalink
add dct frontend api
Browse files Browse the repository at this point in the history
add dct frontend api

Update Tensor.py

Update test_tensor.py

Update test_tensor.py

Update Tensor.py

Update test_tensor.py

Update test_tensor.py

numpy frontend instance max (ivy-llc#6005)

Multiple additions to execute_with_gradients (ivy-llc#6006)

database for cron jobs

numpy frontend instance cumprod cumsum (ivy-llc#6010)

* numpy frontend instance max

* numpy frontend instance cumprod, cumsum

numpy frontend instance sort, copy (ivy-llc#6024)

numpy frontend instance nonzero, ravel (ivy-llc#6027)

* numpy frontend instance sort, copy

* numpy frontend instance nonzero, ravel

numpy instance repeat and frontend test fix (ivy-llc#6030)

* numpy frontend instance sort, copy

* numpy frontend instance nonzero, ravel

* numpy instance repeat and frontend test fix

fogot to remove test_extensions.py (ivy-llc#6031)

numpy instance method searchsorted (ivy-llc#6035)

* numpy frontend instance sort, copy

* numpy frontend instance nonzero, ravel

* numpy instance repeat and frontend test fix

* numpy instance method searchsorted

Fixed failing meta tests after update to container and gradient functions (ivy-llc#6037)

norm

jax

jax

jax

JAX

j

jax

jax

mod

Update test_extensions.py

Added stop_gradient to detach all arrays before calculating gradients (ivy-llc#6039)

numpy instance method squeeze (ivy-llc#6040)

Fixed failing test for value_and_grad (ivy-llc#6041)

Removed is_variable attribute from ivy arrays (ivy-llc#6043)

Fixed failing test for device print_all_ivy_arrays_on_dev (ivy-llc#6044)

jax_flipud (ivy-llc#5908)

Co-authored-by: nassimberrada <Nassim>

ivy pad backend consistency (ivy-llc#5710)

add torch cosine similarity (ivy-llc#6045)

add dct frontend api

add dct frontend api

add dct frontend api

reformat

reformat

reformat

reformat

added acos torch frontend instance method

Revert "added acos torch frontend instance method"

This reverts commit 1006206.

added arctan torch frontend instance method

fixed typo

Minor update to stop_gradient usage (ivy-llc#6058)

random module seed argument and deterministic behaviour (ivy-llc#6059)

* random module seed argument and deterministic behavior

* changes

* changes

* changes

* changes

* changes

vstack extension implementation (ivy-llc#6064)

* vstack extension implementation

* lint

* lints

updating vstack for container

docstring examples for vstack

docstring style fixes

flake git linter error

hstack extension (ivy-llc#6069)

* hstack initial setup

* examples for all docstrings

* lint fixes

Added Bitwise_or to the jax numpy frontends (ivy-llc#5926)

Co-authored-by: Mohamad H. Danesh <[email protected]>

Update open_tasks.rst

fixed step list numbering

update to docs for unsupported dtypes and devices

torch flipud (ivy-llc#5995)

Co-authored-by: nassimberrada <Nassim>

removed roadmap page from the docs, which is unused.

removed roadmap section from the README.

Fixed failing test for statistical einsum (ivy-llc#6073)

torch_moveaxis (ivy-llc#5990)

Co-authored-by: nassimberrada <Nassim>

Added abs_ instance methods and absolute and absolute_ method aliases and tested (ivy-llc#5963)

Co-authored-by: Intenzo21 <“[email protected]”>

Fix `supported_devices_and_dtypes` (ivy-llc#6081)

remove hardcoded values with proper backend values.

power function for jax numpy frontend

Removed __len__ from container as it fails device (ivy-llc#6083)

typo fix

import fix for array API in extension backend (ivy-llc#6078)

remove unnecessary exception from the torch decorator

Redis Publically Read-Only (ivy-llc#6018)

* multiplexed database

* ReadOnly Mode enabled

* adding in the requested changes

Fixed failing test for test_function_dtype_versioning (ivy-llc#6092)

Fixed failing test for stable_pow (ivy-llc#6093)

fixed empty values returned in `test_frontend_method`

numpy instance method add, sub, mul, matmul (ivy-llc#6099)

* numpy instance method squeeze

* numpy instance method add, sub, mul, matmul

Raised AttributeError instead of IvyException in __getattr__ container (ivy-llc#6101)

adding AttributeError to IvyError class

numpy instance method and, or, xor, copy (ivy-llc#6109)

* numpy instance method and, or, xor, copy

* lint formatting

generalization of aliases testing in frontends(ivy-llc#5892)

added trunc maths function to numpy frontend (ivy-llc#6004)

KBDW extension (ivy-llc#6102)

Co-authored-by: nassimberrada <Nassim>

Fixed dtype and device tests in general by adding gpu and tpu to invalid devices for now (ivy-llc#6116)

trapezoid extension (ivy-llc#6100)

* trapezoid extension

* docstrings fixes

Co-authored-by: nassimberrada <Nassim>

small fix scatter_nd tensorflow (ivy-llc#6115)

amin for torch frontend (ivy-llc#5898)

Co-authored-by: @simonetgordon <[email protected]>

fixed scalar issue in `test_frontend_method`

filter out empty elements from container __repr__ (ivy-llc#5997)

* filter out empty elements from container __repr__

* resolve flake error

* flake fix

update to the docs for extension open task

added case for scalars (ivy-llc#6126)

added .idea folder to .gitignore

added .idea folder to .gitignore

added first draft of Related Work section to the docs.

modified gitignore

added simple GCC sub-section to Multi-Vendor Compiler Frameworks section of the Related Work.

Update test_extensions.py

Added stop_gradient to detach all arrays before calculating gradients (ivy-llc#6039)

revert

small fix to README.rst.

revert and fixed conflict

fix: import

Graph Compiler different framework example (ivy-llc#6075)

add additional information to data promotion chapter (ivy-llc#5960)

* add additional infomration to data promotion chapter

* add clarifications

* fix grammar

* add article

conv2d test fix, conv3dtranspose create_variables

frontend tensorflow Tensor.__getitem__ Update

Reverted if check for container base to where it was before the container PR (ivy-llc#6131)

lint

Fixed failing test for general default (ivy-llc#6133)

Minor fix to related work referencing (ivy-llc#6134)

Fixed numpy-style-docstring failures (ivy-llc#6135)

Minor changes to the helpers to enable gradient testing (ivy-llc#6137)

fix TypeError: argument of type 'LazyStrategy' is not iterable (ivy-llc#6129)

small fixes to docs

fix out argument issue in test_frontend_function

revert unnecessary change

Revert "add dct frontend api"

This reverts commit 2d249d0.

Revert "add dct frontend api"

This reverts commit 2d249d0.

commit

Revert "add dct frontend api"

This reverts commit 2d249d0.
  • Loading branch information
MuokaPWambua committed Oct 25, 2022
1 parent 2d249d0 commit 8038edd
Show file tree
Hide file tree
Showing 222 changed files with 8,246 additions and 1,134 deletions.
29 changes: 29 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
// 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 Development Environment",

// Sets the run context to one level up instead of the .devcontainer folder.
"context": "..",

// Update the 'dockerFile' property if you aren't using the standard 'Dockerfile' filename.
"dockerFile": "../docker/Dockerfile",

// An array of extensions that should be installed into the container.
"extensions": ["ms-python.python"],

// 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.
"postCreateCommand": "bash .devcontainer/post_create_commands.sh"

// 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"
}
43 changes: 0 additions & 43 deletions .github/workflows/test-ivy-core-cron.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,35 +16,6 @@ jobs:
persist-credentials: false
submodules: "recursive"

- name: Download artifact
uses: dawidd6/action-download-artifact@v2
with:
github_token: ${{secrets.GITHUB_TOKEN}}
workflow: test-ivy-core-cron.yml
workflow_conclusion: ""
search_artifacts: true
name: hypothesis_zip
path: |
ivy/.hypothesis/
continue-on-error: true

- name: Unzip Hypothesis Examples
id: unzip
run: |
cd ivy/.hypothesis
unzip examples.zip
rm examples.zip
continue-on-error: true

- name: Create Hypothesis Directory
if: steps.unzip.outcome != 'success'
run: |
cd ivy
mkdir -p .hypothesis
cd .hypothesis
mkdir -p examples
continue-on-error: true

- name: Run Functional-Core Tests
id: tests
shell: pwsh
Expand All @@ -55,20 +26,6 @@ jobs:
./run_tests_CLI/test_ivy_core.sh $(cat backend.txt) $(cat submodule.txt) ${{ secrets.REDIS_CONNECTION_URL }} ${{ secrets.REDIS_PASSWORD}}
continue-on-error: true

- name: Zip Hypothesis Examples
run: |
cd ivy/.hypothesis
zip -r examples.zip examples
continue-on-error: true

- name: Upload hypothesis
uses: actions/upload-artifact@v3
with:
name: hypothesis_zip
path: |
ivy/.hypothesis/examples.zip
continue-on-error: true

- name: Install Mongo Python Client
uses: BSFishy/pip-action@v1
with:
Expand Down
43 changes: 0 additions & 43 deletions .github/workflows/test-ivy-nn-cron.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,35 +15,6 @@ jobs:
persist-credentials: false
submodules: "recursive"

- name: Download artifact
uses: dawidd6/action-download-artifact@v2
with:
github_token: ${{secrets.GITHUB_TOKEN}}
workflow: test-ivy-nn-core.yml
workflow_conclusion: ""
search_artifacts: true
name: hypothesis_zip
path: |
ivy/.hypothesis/
continue-on-error: true

- name: Unzip Hypothesis Examples
id: unzip
run: |
cd ivy/.hypothesis
unzip examples.zip
rm examples.zip
continue-on-error: true

- name: Create Hypothesis Directory
if: steps.unzip.outcome != 'success'
run: |
cd ivy
mkdir -p .hypothesis
cd .hypothesis
mkdir -p examples
continue-on-error: true

- name: Run Functional-NN Tests
id: tests
shell: pwsh
Expand All @@ -54,20 +25,6 @@ jobs:
./run_tests_CLI/test_ivy_nn.sh $(cat backend.txt) $(cat submodule.txt) ${{ secrets.REDIS_CONNECTION_URL }} ${{ secrets.REDIS_PASSWORD}}
continue-on-error: true

- name: Zip Hypothesis Examples
run: |
cd ivy/.hypothesis
zip -r examples.zip examples
continue-on-error: true

- name: Upload hypothesis
uses: actions/upload-artifact@v3
with:
name: hypothesis_zip
path: |
ivy/.hypothesis/examples.zip
continue-on-error: true

- name: Install Mongo Python Client
uses: BSFishy/pip-action@v1
with:
Expand Down
43 changes: 0 additions & 43 deletions .github/workflows/test-ivy-stateful-cron.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,35 +17,6 @@ jobs:
persist-credentials: false
submodules: "recursive"

- name: Download artifact
uses: dawidd6/action-download-artifact@v2
with:
github_token: ${{secrets.GITHUB_TOKEN}}
workflow: test-ivy-stateful-cron.yml
workflow_conclusion: ""
search_artifacts: true
name: hypothesis_zip
path: |
ivy/.hypothesis/
continue-on-error: true

- name: Unzip Hypothesis Examples
id: unzip
run: |
cd ivy/.hypothesis
unzip examples.zip
rm examples.zip
continue-on-error: true

- name: Create Hypothesis Directory
if: steps.unzip.outcome != 'success'
run: |
cd ivy
mkdir -p .hypothesis
cd .hypothesis
mkdir -p examples
continue-on-error: true

- name: Run Stateful Tests
id: tests
shell: pwsh
Expand All @@ -56,20 +27,6 @@ jobs:
./run_tests_CLI/test_ivy_stateful.sh $(cat backend.txt) $(cat submodule.txt) ${{ secrets.REDIS_CONNECTION_URL }} ${{ secrets.REDIS_PASSWORD}}
continue-on-error: true

- name: Zip Hypothesis Examples
run: |
cd ivy/.hypothesis
zip -r examples.zip examples
continue-on-error: true

- name: Upload hypothesis
uses: actions/upload-artifact@v3
with:
name: hypothesis_zip
path: |
ivy/.hypothesis/examples.zip
continue-on-error: true

- name: Install Mongo Python Client
uses: BSFishy/pip-action@v1
with:
Expand Down
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,3 @@ with_time_logs/
internal_automation_tools/
.vscode/*
.idea/*
ivy_dev/
Binary file added .idea/Jax.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions .idea/codeStyles/codeStyleConfig.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

126 changes: 126 additions & 0 deletions .idea/icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 8038edd

Please sign in to comment.