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

Mps backened support #235

Merged
merged 24 commits into from
Nov 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
1eaaded
bayesian functionalities updated to support MPS backend
jrzaurin Oct 5, 2024
69a1fab
Support for mps backend added. All unit test passing. Need to run som…
jrzaurin Oct 8, 2024
73894d4
The 1st version of the DINPreprocessor seems to work. Need to test it
jrzaurin Oct 11, 2024
45fce4d
first test added for the din preprocessor
jrzaurin Oct 14, 2024
ecc6ea0
ready to test the whole thing. I would have to add an extra text comb…
jrzaurin Oct 14, 2024
112d8c3
Added test for the full process. Ready to test the whole library
jrzaurin Oct 14, 2024
adc77d7
All test passed. Need to increase coverage a bit
jrzaurin Oct 15, 2024
f076867
Added tests for the new metrics. Still need to test the full function…
jrzaurin Oct 18, 2024
d32397a
Added explanation to the metrics and a bit of refactoring
jrzaurin Oct 19, 2024
f091194
First integration test run. I will have to adjust all examples contai…
jrzaurin Oct 19, 2024
62db3ca
All test passed. I need to update examples for the Imbalanced Data Lo…
jrzaurin Oct 21, 2024
808a7bb
remove unnecessary, legacy docs folder and modified figures path in R…
jrzaurin Oct 21, 2024
5e45588
remove unnecessary, legacy docs folder and modified figures path in R…
jrzaurin Oct 21, 2024
cb6c384
temporay restore docs dir
jrzaurin Oct 21, 2024
90710fd
update readthedocs yaml file to 3.10
jrzaurin Oct 21, 2024
1123355
removed docs again. Not sure why docs are not building. Needs fix
jrzaurin Oct 21, 2024
d2435c9
Added versions to some packages in the requirements file since it was…
jrzaurin Oct 21, 2024
5babda9
Added unused code to the datasets. Maybe used in the future
jrzaurin Oct 24, 2024
722f00c
Added a few rec algos
jrzaurin Oct 29, 2024
d26af14
All test passed. Docs added. Docs Need to be reviewed
jrzaurin Oct 31, 2024
3b603c9
Reviewed the docs. Tested installation for all supported python versi…
jrzaurin Nov 2, 2024
389d55e
comment out a type error (ill come back). Only thing left is to revie…
jrzaurin Nov 2, 2024
8f504b7
reviewed the examples and changed the multiprocessing approach of the…
jrzaurin Nov 6, 2024
278c72f
removed tmp file added by mistake
jrzaurin Nov 6, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .coveragerc
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@ omit =
pytorch_widedeep/bayesian_models/bayesian_nn/modules/*

[report]
exclude_lines =
pragma: no cover
def __repr__
class GroupWideDeepDataset
def group_collate_fn
exclude_also =
def __repr__
omit =
Expand Down
11 changes: 10 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -60,4 +60,13 @@ checkpoints

# wnb
wandb/
wandb_api.key
wandb_api.key

# pytest
pytest.ini

# code style
code_style.sh

# isort
.isort.cfg
4 changes: 0 additions & 4 deletions .isort.cfg

This file was deleted.

2 changes: 1 addition & 1 deletion .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ version: 2
build:
os: ubuntu-20.04
tools:
python: "3.9"
python: "3.10"

mkdocs:
configuration: mkdocs/mkdocs.yml
Expand Down
34 changes: 0 additions & 34 deletions .travis.yml

This file was deleted.

22 changes: 11 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

<p align="center">
<img width="300" src="docs/figures/widedeep_logo.png">
<img width="300" src="mkdocs/sources/docs/figures/widedeep_logo.png">
</p>

[![PyPI version](https://badge.fury.io/py/pytorch-widedeep.svg)](https://pypi.org/project/pytorch-widedeep/)
Expand Down Expand Up @@ -60,7 +60,7 @@ Figure below:


<p align="center">
<img width="750" src="docs/figures/widedeep_arch_new.png">
<img width="750" src="mkdocs/sources/docs/figures/widedeep_arch_new.png">
</p>


Expand All @@ -69,7 +69,7 @@ In math terms, and following the notation in the
without a ``deephead`` component can be formulated as:

<p align="center">
<img width="500" src="docs/figures/architecture_1_math.png">
<img width="500" src="mkdocs/sources/docs/figures/architecture_1_math.png">
</p>


Expand Down Expand Up @@ -164,7 +164,7 @@ Face models.


<p align="center">
<img width="400" src="docs/figures/arch_1.png">
<img width="400" src="mkdocs/sources/docs/figures/arch_1.png">
</p>


Expand Down Expand Up @@ -210,7 +210,7 @@ trainer.fit(
**2. Tabular and Text data**

<p align="center">
<img width="400" src="docs/figures/arch_2.png">
<img width="400" src="mkdocs/sources/docs/figures/arch_2.png">
</p>


Expand Down Expand Up @@ -262,7 +262,7 @@ trainer.fit(
in `WideDeep`**

<p align="center">
<img width="400" src="docs/figures/arch_3.png">
<img width="400" src="mkdocs/sources/docs/figures/arch_3.png">
</p>

```python
Expand Down Expand Up @@ -313,7 +313,7 @@ trainer.fit(
`WideDeep`**

<p align="center">
<img width="500" src="docs/figures/arch_4.png">
<img width="500" src="mkdocs/sources/docs/figures/arch_4.png">
</p>

```python
Expand Down Expand Up @@ -375,7 +375,7 @@ trainer.fit(
`ModelFuser` class**

<p align="center">
<img width="500" src="docs/figures/arch_5.png">
<img width="500" src="mkdocs/sources/docs/figures/arch_5.png">
</p>

```python
Expand Down Expand Up @@ -454,7 +454,7 @@ property and avoids some typing errors internally.


<p align="center">
<img width="600" src="docs/figures/arch_6.png">
<img width="600" src="mkdocs/sources/docs/figures/arch_6.png">
</p>


Expand Down Expand Up @@ -596,7 +596,7 @@ target). We can create a two-tower model where the user and item features are
passed through two separate models and then "fused" via a dot product.

<p align="center">
<img width="350" src="docs/figures/arch_7.png">
<img width="350" src="mkdocs/sources/docs/figures/arch_7.png">
</p>


Expand Down Expand Up @@ -692,7 +692,7 @@ This one is "a bonus" to illustrate the use of multi-target losses, more than
actually a different architecture.

<p align="center">
<img width="200" src="docs/figures/arch_8.png">
<img width="200" src="mkdocs/sources/docs/figures/arch_8.png">
</p>


Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.6.4
1.6.5
8 changes: 0 additions & 8 deletions code_style.sh

This file was deleted.

21 changes: 0 additions & 21 deletions docs/Makefile

This file was deleted.

45 changes: 0 additions & 45 deletions docs/_static/custom.css

This file was deleted.

Binary file removed docs/_static/img/widedeep_logo_docs.ico
Binary file not shown.
15 changes: 0 additions & 15 deletions docs/bayesian_models.rst

This file was deleted.

29 changes: 0 additions & 29 deletions docs/callbacks.rst

This file was deleted.

Loading