Skip to content

Commit

Permalink
Merge pull request #235 from jrzaurin/mps_backened_support
Browse files Browse the repository at this point in the history
Mps backened support
  • Loading branch information
jrzaurin authored Nov 6, 2024
2 parents 9df6585 + 278c72f commit 0b285bd
Show file tree
Hide file tree
Showing 188 changed files with 51,888 additions and 20,991 deletions.
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

0 comments on commit 0b285bd

Please sign in to comment.