Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Quick Start" issue #3

Closed
GenghuiQu opened this issue Nov 16, 2021 · 1 comment
Closed

"Quick Start" issue #3

GenghuiQu opened this issue Nov 16, 2021 · 1 comment

Comments

@GenghuiQu
Copy link

GenghuiQu commented Nov 16, 2021

Avoid other changes when changing frameworks except ivy.set_framework(). In the example, Quick Start, if I want to run it in tensorflow, except changing 'torch' to 'tensorflow' for ivy.set_framework(), I have to change the shape of x_in from [3] to [1, 3].

@djl11
Copy link
Contributor

djl11 commented Nov 25, 2021

Hi @792370706, thanks a lot for raising this issue! A unit test has been added to check this demo runs without error. It seems to work fine on master branch. Perhaps the error is with the latest PyPI release? Alternatively, perhaps you're using an old version of tensorflow? Maybe try upgrading tensorflow. Otherwise if it's a problem with Ivy, then the latest PyPI release will be out soon. Please raise another issue if you continue to have problems.

@djl11 djl11 closed this as completed Nov 25, 2021
MuokaPWambua added a commit to MuokaPWambua/ivy that referenced this issue Oct 25, 2022
# This is the 1st commit message:

add dct frontend api

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 <mohamad4danesh@gmail.com>

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 <“casp3rmail@gmail.com”>

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 <simonegordon12@icloud.com>

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.

# This is the commit message #2:

Update test_tensor.py
# This is the commit message ivy-llc#3:

Update test_tensor.py
# This is the commit message ivy-llc#4:

Update Tensor.py
# This is the commit message ivy-llc#5:

Update test_tensor.py
# This is the commit message ivy-llc#6:

Update test_tensor.py
MuhammedAshraf2020 pushed a commit to MuhammedAshraf2020/ivy that referenced this issue May 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants