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

Add activation functions in jax.nn module #12502

Closed
wants to merge 10,000 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
10000 commits
Select commit Hold shift + click to select a range
88d7d00
Fixed argument orders of tf special methods, casting with scalars sho…
fspyridakos Mar 6, 2023
65315d5
fix small formatting error in array/experimental/elementwise
Daniel4078 Mar 6, 2023
a800887
fix small formatting error in functional/backends/jax/experimental/ac…
Daniel4078 Mar 6, 2023
8d2235e
fix small formatting error in functional/backends/jax/experimental/la…
Daniel4078 Mar 6, 2023
2e5c0b1
fix small formatting error in functional/backends/numpy/experimental/…
Daniel4078 Mar 6, 2023
c94f57f
fix small formatting error in functional/backends/numpy/experimental/…
Daniel4078 Mar 6, 2023
845fcbb
fix small formatting error in functional/backends/tensorflow/experime…
Daniel4078 Mar 6, 2023
69b4d4f
fix small formatting error in functional/backends/tensorflow/experime…
Daniel4078 Mar 6, 2023
c98b3c2
`jax.numpy` delivers `ediff1d` on mathematical functions (#11801)
BrookeMa Mar 6, 2023
40863d9
Merge remote-tracking branch 'origin/master'
RashulChutani Mar 7, 2023
e8f5927
Resolve Issues in Cron Tests Due to Force Push
RashulChutani Mar 7, 2023
2aa2f6e
Update MongoDB Schema for Ivy_tests_copy Database Collection [skip ci]
RashulChutani Mar 7, 2023
c02522f
Merge remote-tracking branch 'upstream/master'
Aarsh2001 Mar 7, 2023
31de3a2
Resolve Bug in run_tests.py (Incorporate Versioning in Mongo DB Schem…
RashulChutani Mar 7, 2023
896c0d4
Merge remote-tracking branch 'upstream/master'
Aarsh2001 Mar 7, 2023
ece79db
Resolve Bug in run_tests.py due "." not being compatible with MongoDB…
RashulChutani Mar 7, 2023
2389aa1
Resolve Bug in run_tests.py (Incorporate Versioning in Mongo DB Schem…
RashulChutani Mar 7, 2023
a0725e6
Added context manager usage to fix error with creating modules with a…
vedpatwardhan Mar 7, 2023
6414066
Resolve Bug in run_tests.py (Incorporate Versioning in Mongo DB Schem…
RashulChutani Mar 7, 2023
edcd29f
Merge remote-tracking branch 'origin/master'
RashulChutani Mar 7, 2023
e675dcd
Roll raw_ops tensorflow frontend (#11844)
Husienvora Mar 7, 2023
6b6a623
Resolve Bug in run_tests.py (Incorporate Versioning in Mongo DB Schem…
RashulChutani Mar 7, 2023
87d5227
Merge remote-tracking branch 'origin/master'
RashulChutani Mar 7, 2023
d2a7806
Resolve Bug with Manual Testing Worker [skip ci]
RashulChutani Mar 7, 2023
12c03a5
Add support to Dynamically Output the Total Number of Tests with Vers…
RashulChutani Mar 7, 2023
97eb1ac
Updated tolerance to fix failing test for elementwise atan2 (#11853)
vedpatwardhan Mar 7, 2023
3babefc
Added jax.Array as a valid native array with a jax backend (#11857)
vedpatwardhan Mar 7, 2023
6e4fe0d
Added missing on_device argument to test_gradients (#11864)
vedpatwardhan Mar 7, 2023
831fe69
Updated tolerance to fix failing meta test for test_maml_step_shared_…
vedpatwardhan Mar 7, 2023
817b2f0
Revert "Updated tolerance to fix failing meta test for test_maml_step…
vedpatwardhan Mar 7, 2023
840f94d
Updated tolerance to fix failing meta test for test_maml_step_shared_…
vedpatwardhan Mar 7, 2023
7e7f23b
fixed itruediv tests (#11675)
rarisenpai Mar 7, 2023
8a59d1d
Fixed the error with jax.Array if a lower version than 0.4.1 is insta…
vedpatwardhan Mar 7, 2023
a98f01a
Update compiler
vaatsalya123 Mar 7, 2023
7aaa0bf
superset of take_along_axis: added support for mode argument accordin…
AnnaTz Mar 7, 2023
8380518
superset of take_along_axis: added support for mode argument accordin…
AnnaTz Mar 7, 2023
38dab8f
Update compiler
vaatsalya123 Mar 7, 2023
5f155a2
Fix torch __imatmul__ (#11889)
xoiga123 Mar 7, 2023
9caf170
Update compiler
vaatsalya123 Mar 7, 2023
a066eb3
Updated jax/__init__.py to make sure that jax.Array mode is only enab…
vedpatwardhan Mar 7, 2023
4b96822
Dockerfile depth (#11793)
ZiadAmerr Mar 7, 2023
69db4e1
add `to_ivy_arrays_and_back` to hardswish and hardsigmoid (#11914)
guillesanbri Mar 7, 2023
7e1cb8c
Fixed some tf instance method tests and also added tf.floormod
fspyridakos Mar 7, 2023
9f9077b
docs: updated einops_reduce (#11174)
rishabgit Mar 7, 2023
2b7b2c8
Remove flask from requirements.
vaatsalya123 Mar 7, 2023
423d8be
Add devContainers with pre-commit
Dsantra92 Mar 7, 2023
df9d1f9
Remove the target option
Dsantra92 Mar 7, 2023
5424b9b
Merge pull request #11933 from Dsantra92/devcon-prebuilt
Dsantra92 Mar 7, 2023
aea67b0
#11699 : added ADDV2 RawOps Operations for TensorFlow frontend (#11906)
AryanSharma9917 Mar 7, 2023
5fdaa72
Fixed issue with stateful module using get_backend by replacing with …
vedpatwardhan Mar 8, 2023
c4c1682
Reformat `DefaultDevice.__exit__()` to include type hints for `exc_ty…
joshiayush Mar 8, 2023
d37b00c
Added `--no-cache-dir` flag to `pip` installation of `torch` and `tor…
vedpatwardhan Mar 8, 2023
cff727e
Added `--no-cache-dir` to the GPU Dockerfile for space optimizing the…
vedpatwardhan Mar 8, 2023
e118ad0
adding `tf_area` mode in interpolate since tensorflow and torch have …
sherry30 Mar 8, 2023
f5d34d0
added take_along_axis (#11834)
rajshukla1102 Mar 8, 2023
334472f
adding `mode_list` argument in `_interp_args` so custom list of modes…
sherry30 Mar 8, 2023
a924b7c
remove duplicate code for checking frontend_array and fix typos
Ishticode Mar 8, 2023
353973f
Update compiler
vaatsalya123 Mar 8, 2023
1378867
add dummy alias for transpilation of new `jax.Array` class (#11958)
guillesanbri Mar 8, 2023
f978911
Fixed the relative path in context of devcontainer files to fix codes…
vedpatwardhan Mar 8, 2023
24339b7
Update compiler
vaatsalya123 Mar 8, 2023
c57b582
add scale_factor and bicubic mode to ivy.interpolate (#11890)
AnnaTz Mar 8, 2023
6744f95
update mode typehint in array and container interpolate
AnnaTz Mar 8, 2023
22f1eb5
added torch.Tensor.__pow__
AnnaTz Mar 8, 2023
fbc00b4
replace `warnings` package with `logging` in tensorflow backend.
CatB1t Mar 8, 2023
afbd1d7
Added dockerfile with extra libraries and modified devcontainer to in…
fspyridakos Mar 8, 2023
fa86382
Module level unsupported (#11967)
RickSanchezStoic Mar 8, 2023
e382fd8
adding `lanczos3` and `lanczos5` mode in `interpolate`
sherry30 Mar 8, 2023
b7f33b2
added mitchellcubic and gaussian moded to ivy.interpolate
AnnaTz Mar 8, 2023
4cf3d5b
Add `apply_flags` method for test flags (#11954)
CatB1t Mar 8, 2023
6659f80
added tf.image.resize
AnnaTz Mar 8, 2023
0ea8052
Update `test_method` init flags to not include container flags.
CatB1t Mar 8, 2023
b8ce499
refactor `create_args_kwargs` ignored returns.
CatB1t Mar 8, 2023
1e4c273
test interpolate for True/False antialias
AnnaTz Mar 8, 2023
99de718
triplet_margin_loss (#11544)
Dhruv2012 Mar 8, 2023
bfb44de
Merge pull request #11940 from joshiayush/DefaultDevice_exit
MuhammadSaeedBatikh Mar 8, 2023
d5a7eac
Add logspace for jax frontend and its test (#11935)
xingyu-long Mar 8, 2023
93964b5
fix promote_types_of_inputs: if one of the inputs is a scalar, make s…
xoiga123 Mar 9, 2023
6dd641a
add instance frontends.torch.tensor_split and test (#11956)
xoiga123 Mar 9, 2023
b715ecf
Throwing warning if frameworks get imported on importing ivy (#11784)
soma2000-lang Mar 9, 2023
6bf58a3
Reducing space of the CPU docker image (#11807)
ZiadAmerr Mar 9, 2023
b6364e7
Implemented front jax numpy subtract (#11918)
leacornelio Mar 9, 2023
78fa0e9
pushing again (#11592)
RheagalFire Mar 9, 2023
6e11ce4
Updated docstring (#11709)
chetna-mittal Mar 9, 2023
f05252e
Updated Applied dockerfile to build unifyai/ivy:latest as base
fspyridakos Mar 9, 2023
ef9bdf4
Update docs.yml
vedpatwardhan Mar 9, 2023
ea5450c
Update compiler
vaatsalya123 Mar 9, 2023
9d531cc
Update docs.yml
vedpatwardhan Mar 9, 2023
b41a80b
Create docs-cleanup.yml
vedpatwardhan Mar 9, 2023
ebdfd2e
Update docs-cleanup.yml
vedpatwardhan Mar 9, 2023
93385be
Update docs-cleanup.yml
vedpatwardhan Mar 9, 2023
6bc7f69
Update docs-cleanup.yml
vedpatwardhan Mar 9, 2023
9e4ca04
Update docs-cleanup.yml
vedpatwardhan Mar 9, 2023
e070adb
Update docs-cleanup.yml
vedpatwardhan Mar 9, 2023
56aa317
Update docs-cleanup.yml
vedpatwardhan Mar 9, 2023
9edf10b
Update docs-cleanup.yml
vedpatwardhan Mar 9, 2023
6223259
Update docs-cleanup.yml
vedpatwardhan Mar 9, 2023
469eaac
Update docs-cleanup.yml
vedpatwardhan Mar 9, 2023
0e3227a
Update docs-cleanup.yml
vedpatwardhan Mar 9, 2023
df053e9
Update docs-cleanup.yml
vedpatwardhan Mar 9, 2023
fce42d6
Update docs-cleanup.yml
vedpatwardhan Mar 9, 2023
0ee9572
Update docs-cleanup.yml
vedpatwardhan Mar 9, 2023
fce8c6d
Update docs-cleanup.yml
vedpatwardhan Mar 9, 2023
d3f5dfb
Update docs-cleanup.yml
vedpatwardhan Mar 9, 2023
fe370fb
remove cython from requirements, used in the compiler but is not nece…
mattbarrett98 Mar 9, 2023
8706e23
fix `AddV2` tf frontend function
sherry30 Mar 9, 2023
a676fd6
added missing package
AnnaTz Mar 9, 2023
c7aec54
bicubic mode for tf and jax in interpolate (#12122)
zaeemansari70 Mar 10, 2023
1775266
Resolve a bug with Intelligent Tests Workflow due to introduction of …
RashulChutani Mar 10, 2023
cd8a8b8
exception handling of pynvml in CPU only environments
sagewhocodes Mar 10, 2023
0cc0da5
Initialise pynvml only when it is importable
sagewhocodes Mar 10, 2023
9c2e188
merged try statements
sagewhocodes Mar 10, 2023
f255576
Update compiler
vaatsalya123 Mar 10, 2023
e4c601e
jax_array global defaults to True so no need to change
mattbarrett98 Mar 10, 2023
f55d9dd
added diff to torch fronted and tested. (#11897)
mustafaAlgun Mar 10, 2023
2f020b0
Adding MXNet frontend (#11329)
danielmunioz Mar 10, 2023
5b410ec
jax frontend: added logical_xor
farhanoktvn Mar 10, 2023
ae46868
Added promotion and extra wrappers to mxnet frontend
fspyridakos Mar 10, 2023
a3c19b6
added append, atleast_2d, atleast_3d to the numpy frontend(#11838)
ndurumo254 Mar 10, 2023
20fbe46
Update compiler
vaatsalya123 Mar 10, 2023
e3bbe80
Update compiler
vaatsalya123 Mar 10, 2023
d4f267a
adding `nearest-exact` mode in `interpolate` and improving `nearest` …
sherry30 Mar 10, 2023
f0a1077
add broadcast_arrays & broadcast_shapes functions jax.numpy frontend…
x0axz Mar 10, 2023
59c3a6f
Merge pull request #12135 from farhanoktvn/master
MuhammadSaeedBatikh Mar 10, 2023
a9371ce
Removed dtype from comparison tests in numpy frontend (#12199)
fnhirwa Mar 11, 2023
adb5c3b
added nanstd to the jax frontend(#12197)
ndurumo254 Mar 11, 2023
fc193b5
Fixing logic functions in the numpy frontend (#12201)
fnhirwa Mar 11, 2023
5874c0e
added warning when pynvml import fails
sagewhocodes Mar 11, 2023
6518231
fixed broadcast_shapes and broadcast_arrays tests in jax frontend (#1…
fnhirwa Mar 11, 2023
3a16df0
implement function and add test (#12097)
rigasweb Mar 11, 2023
344a576
Fixed some typos in the "Related Work" section of the docs (#11927)
Akash190104 Mar 11, 2023
cf157a1
Update compiler
vaatsalya123 Mar 11, 2023
05e7ad6
Add CI video to docs (#12218)
iamjameskeane Mar 11, 2023
79b662e
small fix, added on_device to test_hsplit (#11926)
rajshukla1102 Mar 11, 2023
ab66c84
added jax.numpy.roll frontend function (#12210)
x0axz Mar 11, 2023
ac02e8a
isreal (#12104)
shireenchand Mar 11, 2023
e0af707
added atleast1d (#11830)
rajshukla1102 Mar 12, 2023
2318d20
Implement multilabel_soft_margin_loss (#12206)
yopknopixx Mar 12, 2023
aaf690a
#11197 : Added block in jax.numpy frontend (#12320)
AryanSharma9917 Mar 12, 2023
77148aa
Modifying array construction to support `isinstance` checks (#12123)
danielmunioz Mar 12, 2023
1a199ea
tril_indices for numpy frontend (#11828)
ipriyam26 Mar 12, 2023
cfbdc0f
tensorflow frontend ApproximateEqual (#12008)
shreyjain26 Mar 12, 2023
ec1e0ab
removed 1D array checks to makes iterable of `ivy.Array` objects (#12…
fnhirwa Mar 12, 2023
f986607
Cleanup linters in ivy functional and container
Ishticode Mar 12, 2023
c968420
Lint cleanup in ivy_tests
Ishticode Mar 12, 2023
43e5a7d
Remove duplicate test_tensorflow_relu6 as it was previously written t…
Ishticode Mar 12, 2023
f8b5949
Numpy Style Docstring cleanup to pass the test for pydocstyle
Ishticode Mar 12, 2023
b17979d
Added torch.trapezoid frontend and tested (#11899)
Illia-tsar Mar 12, 2023
81a7521
Added an assertion to check if the x64 flag is enabled, also checks i…
fspyridakos Mar 13, 2023
b50037a
Resolve Bug with Manual Testing Worker [skip ci]
RashulChutani Mar 13, 2023
15ffbb0
Merge remote-tracking branch 'origin/master'
RashulChutani Mar 13, 2023
04a16ac
Fixed typehint for container static_searchsorted, static_interpolate …
vedpatwardhan Mar 13, 2023
629f298
added add_n function (#11852)
SethiAbhinav Mar 13, 2023
6d710a6
added top_k (#12202)
rajshukla1102 Mar 13, 2023
a79734f
Unpinned versions from optional_m1_1.txt
vedpatwardhan Mar 13, 2023
66d36b8
removed numpy dependency for top_k and fix tests for jax frontend(#12…
fnhirwa Mar 13, 2023
28cf742
Unpinned versions from optional_m1_2.txt and added functorch as it's …
vedpatwardhan Mar 13, 2023
53dc434
Unpinned torch and torch-scatter from make_docs_without_docker.sh
vedpatwardhan Mar 13, 2023
0ce51dc
Refactoring data classes to `data_classes` submodule (#11876)
KareemMAX Mar 13, 2023
277504a
gaussian_nll_loss (#11994)
iamharsha1999 Mar 13, 2023
0250dbe
Fixed small arange bug introduced by my previous commit.
fspyridakos Mar 13, 2023
e9c6994
Add jax creation identity (#11980)
TugayGul Mar 13, 2023
4a1f746
jax.numpy: Added around function to jax frontend. (#12363)
raeesm1200 Mar 13, 2023
dee3e8f
Elaborating the mixed function policy in deep dive
Ishticode Mar 13, 2023
56382be
pre-commit check (#12377)
Sarvesh-Kesharwani Mar 13, 2023
5fd3475
Angle (#12009)
shreyjain26 Mar 13, 2023
eedc67f
Temporarily remove the use of Large Runners [skip ci]
RashulChutani Mar 13, 2023
f15b7f4
Merge remote-tracking branch 'origin/master'
RashulChutani Mar 13, 2023
286d50f
Add handle_mixed_function decorator with updates to ivy.linear and iv…
hello-fri-end Mar 13, 2023
038fa09
Merge pull request #12124 from sagewhocodes/pynyml_fix
sagewhocodes Mar 13, 2023
7b741fb
Fix optional typehint (continued) (#11923)
xoiga123 Mar 13, 2023
63cc3d5
Revert "Refactoring data classes to `data_classes` submodule (#11876)…
vedpatwardhan Mar 13, 2023
a8870b7
Update compiler
vaatsalya123 Mar 13, 2023
b7d312d
Fixed small bug in dynamic backend where attributes weren't being upd…
fspyridakos Mar 13, 2023
1b8dfda
Update compiler
vaatsalya123 Mar 13, 2023
1c0d51d
iscomplex() & test_iscomplex() implemented (#12380)
Sarvesh-Kesharwani Mar 13, 2023
3ca1afd
Delete automation_tools/pr_automation directory
sreegandh804 Mar 13, 2023
065b61d
Delete automation_tools/issues_automation directory
sreegandh804 Mar 13, 2023
ee154f4
add CODEOWNER file for GitHub.
CatB1t Mar 13, 2023
c3969af
Fixed issue with `get_item` where numpy scalars were returned
fspyridakos Mar 13, 2023
1037b86
#12107 : Added resize in jax.numpy frontend (#12318)
AryanSharma9917 Mar 13, 2023
03ebe4d
Update compiler
vaatsalya123 Mar 13, 2023
daeb188
added jax.numpy.rot90 function (#12325)
x0axz Mar 14, 2023
0ec03e9
added nanvar to jax frontend (#12205)
ndurumo254 Mar 14, 2023
dd96591
Fix `ivy.functional.ivy` import (#12103)
xoiga123 Mar 14, 2023
3d226dc
updated warning message for pynvml import case
sagewhocodes Mar 14, 2023
9d10dea
added jax.numpy.dstack function (#12322)
x0axz Mar 14, 2023
d4a68a1
added jax.numpy.angle function (#12368)
x0axz Mar 14, 2023
7864619
Fix failing test of atan (#11880)
soma2000-lang Mar 14, 2023
63d6337
Fix failing test in torch frontend (#12108)
soma2000-lang Mar 14, 2023
884aeaf
Merge remote-tracking branch 'upstream/master'
Aarsh2001 Mar 14, 2023
7e6f90d
changing docker command for gpu testing
Aarsh2001 Mar 14, 2023
b0e7369
changing docker command for gpu testing
Aarsh2001 Mar 14, 2023
e890458
changing docker command for gpu testing
Aarsh2001 Mar 14, 2023
313008e
changing docker command for gpu testing updated
Aarsh2001 Mar 14, 2023
bd51dc6
changing docker command for gpu testing updated
Aarsh2001 Mar 14, 2023
23ed07f
changing docker command for gpu testing updated
Aarsh2001 Mar 14, 2023
0118b1a
changing docker command for gpu testing updated
Aarsh2001 Mar 14, 2023
d9fc572
changing docker command for gpu testing revert
Aarsh2001 Mar 14, 2023
8eececf
changing docker command for gpu testing updated
Aarsh2001 Mar 14, 2023
807bea6
changing docker command for gpu testing updated
Aarsh2001 Mar 14, 2023
24428dc
add workdir to GPU dockerfile for building in the right path
Aarsh2001 Mar 14, 2023
b1992d2
corrected torch.tensor type reference that was causing error in isins…
AnnaTz Mar 14, 2023
cffb205
Merge remote-tracking branch 'origin/master'
AnnaTz Mar 14, 2023
08a2a05
added default values for ivy.pad arguments and updated function to al…
AnnaTz Mar 14, 2023
c7f73fa
Remove invalid paramter from test, update `fn_tree` to be valid.
CatB1t Mar 14, 2023
bb33a0e
Added Bitwise_or_ in Pytorch instance method (#12335)
AmeenUrRehman Mar 14, 2023
ce9e33f
fixed ivy.pad: when input is integer, the float values returned by me…
AnnaTz Mar 14, 2023
be231c3
fixed minor bug in ivy.pad jax backend: input dtype needs to be saved…
AnnaTz Mar 14, 2023
d6f1b9c
fixed a small formatting error
Daniel4078 Mar 14, 2023
5b2746d
try to fix a small formatting error of a lengthy "handle_mixed_functi…
Daniel4078 Mar 14, 2023
4dc9e5c
fixed small formatting errors
Daniel4078 Mar 14, 2023
eb1e45e
fix a small formatting error of a lengthy docstring
Daniel4078 Mar 14, 2023
bd8fcc4
added some missing blank lines to fix formatting errors
Daniel4078 Mar 14, 2023
871890f
fixed some small formatting errors.
Daniel4078 Mar 14, 2023
75376b6
fixed a small formatting error
Daniel4078 Mar 14, 2023
1683cad
update frontend torch.numpy to return the numpy frontend (#12447)
juliagsy Mar 14, 2023
f176fe9
try to fix some continuation line over/under-indented for visual inde…
Daniel4078 Mar 14, 2023
cae23f2
Added flatnonzero to jax frontend (#12434)
ndurumo254 Mar 14, 2023
2d25b7b
Updating glossary.rst (#12121)
nandiniigarg Mar 14, 2023
f48c7c8
fixed many small formatting errors in multiversion_backend_test.py
Daniel4078 Mar 14, 2023
33ef82a
Add linspace for jax frontend and its test (#12022)
xingyu-long Mar 14, 2023
c63c04c
remove duplicate definition of `AddN` in tf frontend raw_ops
sherry30 Mar 15, 2023
7af7755
Added lu_matrix_inversrse to tf.linalg frontend #12373 (#12431)
IhorBoichuk Mar 15, 2023
70b71be
Add avg pool1d torch frontend (#12459)
Clara-liu Mar 15, 2023
ab99423
added atan2_ tensor instance method to PyTorch Frontend(#11806)
usama-baloch Mar 15, 2023
0c57dbd
added bitwise_and_ instance method to PyTorch Frontend (#12328)
usama-baloch Mar 15, 2023
4bbafe9
adding `@handle_mixed_function` decorator to `interpolate` in jax bax…
sherry30 Mar 15, 2023
cfa8b91
added sort_complex to jax frontend (#12469)
ndurumo254 Mar 15, 2023
cfbb636
adding `recompute_scale_factor` to `interpolate` since it affects the…
sherry30 Mar 15, 2023
8484ed6
fixed around and other few tests in jax.numpy.math frontend (#12476)
fnhirwa Mar 15, 2023
83c087e
Fixed issue with handle_array_like_without_promotion which raised err…
vedpatwardhan Mar 15, 2023
9f39c6e
resolved duplication of torch as_strided
AnnaTz Mar 15, 2023
ea1d2f0
added missing raise error
AnnaTz Mar 15, 2023
d0f0557
Fixed wrong function wrapper import in jax frontend
fspyridakos Mar 15, 2023
6b9c702
Added missing wrapper to jax linalg matmul
fspyridakos Mar 15, 2023
02fe555
implemented tril_indices and respective tests (#12392)
mmcaulif2 Mar 15, 2023
0dd8df7
chaneg `_dim_scale_factor` to work with output size 1 when `align_cor…
sherry30 Mar 15, 2023
0914391
Add activation functions in jax.nn module
karalleyna Mar 15, 2023
a70d7c2
fix complex behaviour in ivy.divide (#12486)
MahmoudAshraf97 Mar 15, 2023
c19b5b9
Added the extra frameworks to our optional requirements (#12503)
fspyridakos Mar 15, 2023
8b5b422
Merge branch 'master' into jax-nn-experimental
karalleyna Mar 15, 2023
d16476f
Reformat activations.py
karalleyna Mar 15, 2023
e2cda2b
Reformat activations.py in JAX backend
karalleyna Mar 15, 2023
a5b6f17
Remove unnecessary comment
karalleyna Mar 21, 2023
43c9e26
Remove sigmoid
karalleyna Mar 21, 2023
91b7f5d
Remove softplus
karalleyna Mar 21, 2023
d5a83e5
Remove leaky_relu
karalleyna Mar 21, 2023
6c62bf1
Use out argument
karalleyna Mar 21, 2023
68c4c32
Remove tests for previously implemented fns
karalleyna Mar 21, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
43 changes: 43 additions & 0 deletions .devcontainer/build/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
// 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 (build)",

"build": {
"dockerfile": "../../docker/Dockerfile",
"context": "../.."
},

"customizations": {
"vscode": {
"extensions": [
"ms-python.python"
]
}
},

"postCreateCommand": "bash .devcontainer/post_create_commands.sh"

// 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"

// Uncomment to allow connection to JetBrians Gateway
// "features": {
// "ghcr.io/devcontainers/features/sshd:1": {
// "version": "latest"
// }
// }

}

34 changes: 34 additions & 0 deletions .devcontainer/build_gpu/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
{
"name": "Ivy GPU Development Environment (build)",

"build": {
"dockerfile": "../../docker/DockerfileGPU",
"context": "../.."
},

"runArgs": ["--gpus","all"],

"customizations": {
"vscode": {
"extensions": [
"ms-python.python"
]
}
},

"postCreateCommand": "bash .devcontainer/post_create_commands.sh"

// 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"
}
26 changes: 26 additions & 0 deletions .devcontainer/image/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"name": "Ivy Development Environment (image)",

"image": "unifyai/ivy:latest",
"customizations": {
"vscode": {
"extensions": [
"ms-python.python"
]
}
},

"postCreateCommand": "bash .devcontainer/post_create_commands.sh"

// Use 'forwardPorts' to make a list of ports inside the container available locally.
// "forwardPorts": [],

// 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"
}
29 changes: 29 additions & 0 deletions .devcontainer/image_gpu/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"name": "Ivy GPU Development Environment (image)",

"image": "unifyai/ivy:latest-gpu",
"customizations": {
"vscode": {
"extensions": [
"ms-python.vscode-pylance"
]
}
},

"runArgs": ["--gpus","all"],

"postCreateCommand": "bash .devcontainer/post_create_commands.sh"

// Use 'forwardPorts' to make a list of ports inside the container available locally.
// "forwardPorts": [],

// 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"

}
11 changes: 11 additions & 0 deletions .devcontainer/post_create_commands.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#!/bin/bash

git submodule update --init --recursive

python3 -m pip install --user -e .

python3 -m pip install pre-commit

git config --global --add safe.directory /workspaces/ivy

( cd /workspaces/ivy/ && pre-commit install)
9 changes: 9 additions & 0 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Ivy Framework
ivy/func_wrapper.py @VedPatwardhan
**/gradients.py @VedPatwardhan
ivy/utils/backend @VedPatwardhan @CatB1t
ivy/utils/backend/ast_helpers.py @CatB1t


# Ivy Testing
ivy_tests/test_ivy/helpers/ @CatB1t
52 changes: 52 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
name: 🐛 Bug Report
description: File a bug report.
title: "[Bug]: <TITLE>"
labels: "Bug Report"
body:
- type: textarea
id: explanation
attributes:
label: Bug Explanation
description: What is the bug, and what did you expect to happen?
placeholder: e.g. The TensorFlow frontend __add__ function is subtracting.
validations:
required: true
- type: textarea
id: reproduction
attributes:
label: Steps to Reproduce Bug
placeholder: "e.g. Run the following code:"
validations:
required: true
- type: textarea
id: environment
attributes:
label: Environment
description: What environment did you encounter the bug in?
placeholder: e.g. Windows 11 using PyCharm CE & Docker.
validations:
required: true
- type: input
id: ivy_version
attributes:
label: Ivy Version
description: Which version of Ivy are you using?
placeholder: ex. v1.1.9
validations:
required: true
- type: checkboxes
id: backend
attributes:
label: Backend
description: Is this bug backend specific (leave empty if not)?
options:
- label: NumPy
- label: TensorFlow
- label: PyTorch
- label: JAX
- type: input
id: device
attributes:
label: Device
description: What device did you encounter the bug on? Which GPU/CPU/TPU?
placeholder: "GPU: NVIDIA GeForce RTX 3090"
4 changes: 4 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
contact_links:
- name: 🤷🏻‍♀️ Questions
url: https://discord.gg/2zR6KhCBCJ
about: Interact with the Ivy community here by asking for help, discussing and more!
20 changes: 20 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
name: 🚀 Feature request
about: Suggest an idea for this project.
title: '[Feature Request]: <FEATURE_NAME>'
labels: Feature Request
assignees: ''

---

**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

**Describe the solution you'd like**
A clear and concise description of what you want to happen.

**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.

**Additional context**
Add any other context or screenshots about the feature request here.
19 changes: 19 additions & 0 deletions .github/ISSUE_TEMPLATE/missing_function.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
---
name: 🔍 Missing Function Suggestion
about: Request the implementation of a function in the Ivy functional API.
title: "ivy.<FUNC_NAME>"
labels: Ivy API, Ivy API Experimental, Next Release, Suggestion
assignees: ''

---

<!-- Information below is optional. -->

**Why should this be implemented?**
Because 3+ of the native frameworks have it, and it's a complex function.

**Links to native framework implementations**
- [Jax](<FUNC_URL_DOCS>)
- [PyTorch](<FUNC_URL_DOCS>)
- [TensorFlow](<FUNC_URL_DOCS>)
- [NumPy](<FUNC_URL_DOCS>)
8 changes: 8 additions & 0 deletions .github/ISSUE_TEMPLATE/sub-task.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
name: 🍰 Sub-Task
about: Reserve a sub-task from a ToDo list issue
title: "<Function_Name>"
labels: Sub Task
assignees: ''

---
40 changes: 40 additions & 0 deletions .github/workflows/checklist_actions.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: Comment-to-Checklist

on:
issue_comment:
types: [created]
jobs:
pr_commented:
name: PR comment
if: ${{ github.event.issue.pull_request && startsWith(github.event.comment.body, 'add_reformatting_checklist_') }}
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
path: ivy
persist-credentials: false

- name: Get Category Substring
uses: bhowell2/[email protected]
id: category
with:
value: ${{ github.event.comment.body }}
index_of_str: "add_reformatting_checklist_"

- name: Render template
id: template
uses: chuhlomin/[email protected]
with:
template: ivy/automation_tools/checklists/reformat_checklist.md
vars: |
category_name: ${{ steps.category.outputs.substring }}

- name: Update Comment
uses: peter-evans/[email protected]
with:
token: ${{ secrets.GITHUB_TOKEN }}
issue-number: ${{ github.event.issue.number }}
comment-id: ${{ github.event.comment.id }}
body: ${{ steps.template.outputs.result }}
edit-mode: replace
Loading