Reworked the index.rst as requested in our meeting.
Made drawio background transparent.
Minor tweaks.
---------
Co-authored-by: Tristan Nolde <tristan.nolde@yahoo.de>
Bumps [mypy](https://github.com/python/mypy) from 1.7.1 to 1.8.0.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/python/mypy/blob/master/CHANGELOG.md">mypy's
changelog</a>.</em></p>
<blockquote>
<h1>Mypy Release Notes</h1>
<h2>Next release</h2>
<h2>Mypy 1.8</h2>
<p>We’ve just uploaded mypy 1.8 to the Python Package Index (<a
href="https://pypi.org/project/mypy/">PyPI</a>). Mypy is a static type
checker for Python. This release includes new features, performance
improvements and bug fixes. You can install it as follows:</p>
<pre><code>python3 -m pip install -U mypy
</code></pre>
<p>You can read the full documentation for this release on <a
href="http://mypy.readthedocs.io">Read the Docs</a>.</p>
<h4>Type-checking Improvements</h4>
<ul>
<li>Do not intersect types in isinstance checks if at least one is final
(Christoph Tyralla, PR <a
href="https://redirect.github.com/python/mypy/pull/16330">16330</a>)</li>
<li>Detect that <code>@final</code> class without <code>__bool__</code>
cannot have falsey instances (Ilya Priven, PR <a
href="https://redirect.github.com/python/mypy/pull/16566">16566</a>)</li>
<li>Do not allow <code>TypedDict</code> classes with extra keywords
(Nikita Sobolev, PR <a
href="https://redirect.github.com/python/mypy/pull/16438">16438</a>)</li>
<li>Do not allow class-level keywords for <code>NamedTuple</code>
(Nikita Sobolev, PR <a
href="https://redirect.github.com/python/mypy/pull/16526">16526</a>)</li>
<li>Make imprecise constraints handling more robust (Ivan Levkivskyi, PR
<a
href="https://redirect.github.com/python/mypy/pull/16502">16502</a>)</li>
<li>Fix strict-optional in extending generic TypedDict (Ivan Levkivskyi,
PR <a
href="https://redirect.github.com/python/mypy/pull/16398">16398</a>)</li>
<li>Allow type ignores of PEP 695 constructs (Shantanu, PR <a
href="https://redirect.github.com/python/mypy/pull/16608">16608</a>)</li>
<li>Enable <code>type_check_only</code> support for
<code>TypedDict</code> and <code>NamedTuple</code> (Nikita Sobolev, PR
<a
href="https://redirect.github.com/python/mypy/pull/16469">16469</a>)</li>
</ul>
<h4>Performance Improvements</h4>
<ul>
<li>Add fast path to analyzing special form assignments (Jukka
Lehtosalo, PR <a
href="https://redirect.github.com/python/mypy/pull/16561">16561</a>)</li>
</ul>
<h4>Improvements to Error Reporting</h4>
<ul>
<li>Don't show documentation links for plugin error codes (Ivan
Levkivskyi, PR <a
href="https://redirect.github.com/python/mypy/pull/16383">16383</a>)</li>
<li>Improve error messages for <code>super</code> checks and add more
tests (Nikita Sobolev, PR <a
href="https://redirect.github.com/python/mypy/pull/16393">16393</a>)</li>
<li>Add error code for mutable covariant override (Ivan Levkivskyi, PR
<a
href="https://redirect.github.com/python/mypy/pull/16399">16399</a>)</li>
</ul>
<h4>Stubgen Improvements</h4>
<ul>
<li>Preserve simple defaults in function signatures (Ali Hamdan, PR <a
href="https://redirect.github.com/python/mypy/pull/15355">15355</a>)</li>
<li>Include <code>__all__</code> in output (Jelle Zijlstra, PR <a
href="https://redirect.github.com/python/mypy/pull/16356">16356</a>)</li>
<li>Fix stubgen regressions with pybind11 and mypy 1.7 (Chad Dombrova,
PR <a
href="https://redirect.github.com/python/mypy/pull/16504">16504</a>)</li>
</ul>
<h4>Stubtest Improvements</h4>
<ul>
<li>Improve handling of unrepresentable defaults (Jelle Zijlstra, PR <a
href="https://redirect.github.com/python/mypy/pull/16433">16433</a>)</li>
<li>Print more helpful errors if a function is missing from stub (Alex
Waygood, PR <a
href="https://redirect.github.com/python/mypy/pull/16517">16517</a>)</li>
<li>Support <code>@type_check_only</code> decorator (Nikita Sobolev, PR
<a
href="https://redirect.github.com/python/mypy/pull/16422">16422</a>)</li>
<li>Warn about missing <code>__del__</code> (Shantanu, PR <a
href="https://redirect.github.com/python/mypy/pull/16456">16456</a>)</li>
<li>Fix crashes with some uses of <code>final</code> and
<code>deprecated</code> (Shantanu, PR <a
href="https://redirect.github.com/python/mypy/pull/16457">16457</a>)</li>
</ul>
<h4>Fixes to Crashes</h4>
<ul>
<li>Fix crash with type alias to <code>Callable[[Unpack[Tuple[Any,
...]]], Any]</code> (Alex Waygood, PR <a
href="https://redirect.github.com/python/mypy/pull/16541">16541</a>)</li>
<li>Fix crash on TypeGuard in <code>__call__</code> (Ivan Levkivskyi, PR
<a
href="https://redirect.github.com/python/mypy/pull/16516">16516</a>)</li>
<li>Fix crash on invalid enum in method (Ivan Levkivskyi, PR <a
href="https://redirect.github.com/python/mypy/pull/16511">16511</a>)</li>
<li>Fix crash on unimported Any in TypedDict (Ivan Levkivskyi, PR <a
href="https://redirect.github.com/python/mypy/pull/16510">16510</a>)</li>
</ul>
<h4>Documentation Updates</h4>
<ul>
<li>Update soft-error-limit default value to -1 (Sveinung Gundersen, PR
<a
href="https://redirect.github.com/python/mypy/pull/16542">16542</a>)</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="3b467509ee"><code>3b46750</code></a>
remove +dev suffix from version</li>
<li><a
href="c9bc833bc8"><code>c9bc833</code></a>
Fix tests broken by hatchling (<a
href="https://redirect.github.com/python/mypy/issues/16655">#16655</a>)</li>
<li><a
href="60d30e36c4"><code>60d30e3</code></a>
Fix crash with type alias to <code>Callable[[Unpack[Tuple[Any, ...]]],
Any]</code> (<a
href="https://redirect.github.com/python/mypy/issues/16541">#16541</a>)</li>
<li><a
href="f53f4222bb"><code>f53f422</code></a>
Allow type ignores of PEP 695 constructs (<a
href="https://redirect.github.com/python/mypy/issues/16608">#16608</a>)</li>
<li><a
href="7c33e7c034"><code>7c33e7c</code></a>
<a href="https://github.com/final"><code>@final</code></a> class
without <strong>bool</strong> cannot have falsey instances (<a
href="https://redirect.github.com/python/mypy/issues/16566">#16566</a>)</li>
<li><a
href="c224da5c7c"><code>c224da5</code></a>
Do not intersect types in isinstance checks if at least one is final (<a
href="https://redirect.github.com/python/mypy/issues/16330">#16330</a>)</li>
<li><a
href="d54cc35a93"><code>d54cc35</code></a>
Change example in test cases with no stubs available (<a
href="https://redirect.github.com/python/mypy/issues/16513">#16513</a>)</li>
<li><a
href="eb1ee97377"><code>eb1ee97</code></a>
Update hashes in <code>sync-typeshed.py</code> following recent typeshed
sync (<a
href="https://redirect.github.com/python/mypy/issues/16600">#16600</a>)</li>
<li><a
href="344298e3a7"><code>344298e</code></a>
Revert use of <code>ParamSpec</code> for
<code>functools.wraps</code></li>
<li><a
href="3e5d813372"><code>3e5d813</code></a>
Revert typeshed ctypes change</li>
<li>Additional commits viewable in <a
href="https://github.com/python/mypy/compare/v1.7.1...v1.8.0">compare
view</a></li>
</ul>
</details>
<br />
[](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
<details>
<summary>Dependabot commands and options</summary>
<br />
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)
</details>
Bumps
[actions/upload-pages-artifact](https://github.com/actions/upload-pages-artifact)
from 2 to 3.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/actions/upload-pages-artifact/releases">actions/upload-pages-artifact's
releases</a>.</em></p>
<blockquote>
<h2>v3.0.0</h2>
<h1>Changelog</h1>
<ul>
<li>Use <code>v4</code> upload-artifact tag <a
href="https://github.com/robherley"><code>@robherley</code></a> (<a
href="https://redirect.github.com/actions/upload-pages-artifact/issues/80">#80</a>)</li>
<li>Upload pages artifact with upload-artifact v4-beta <a
href="https://github.com/konradpabjan"><code>@konradpabjan</code></a>
(<a
href="https://redirect.github.com/actions/upload-pages-artifact/issues/78">#78</a>)</li>
</ul>
<p>To deploy a GitHub Pages site which has been uploaded with his
version of <code>actions/upload-pages-artifact</code>, you must also use
<code>actions/deploy-pages@v4</code> or newer.</p>
<p>See details of <a
href="https://github.com/actions/upload-pages-artifact/compare/v2.0.0...v3.0.0">all
code changes</a> since previous release.</p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="0252fc4ba7"><code>0252fc4</code></a>
Merge pull request <a
href="https://redirect.github.com/actions/upload-pages-artifact/issues/81">#81</a>
from actions/artifacts-next</li>
<li><a
href="2a5c144074"><code>2a5c144</code></a>
Use actions/download-artifact@v4 in test</li>
<li><a
href="7e3f6bb53b"><code>7e3f6bb</code></a>
Merge pull request <a
href="https://redirect.github.com/actions/upload-pages-artifact/issues/80">#80</a>
from robherley/patch-1</li>
<li><a
href="257e666c05"><code>257e666</code></a>
Use <code>v4</code> upload-artifact tag</li>
<li><a
href="0313a19afa"><code>0313a19</code></a>
Merge pull request <a
href="https://redirect.github.com/actions/upload-pages-artifact/issues/78">#78</a>
from konradpabjan/main</li>
<li><a
href="1228e65686"><code>1228e65</code></a>
Update action.yml</li>
<li><a
href="eb31309b6c"><code>eb31309</code></a>
Update artifact names in tests</li>
<li><a
href="241a975ec2"><code>241a975</code></a>
Correct artifact name during download</li>
<li><a
href="ef95519d72"><code>ef95519</code></a>
Unique artifact name per job</li>
<li><a
href="ecdd3edff7"><code>ecdd3ed</code></a>
Switch to using download@v4-beta</li>
<li>Additional commits viewable in <a
href="https://github.com/actions/upload-pages-artifact/compare/v2...v3">compare
view</a></li>
</ul>
</details>
<br />
[](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
<details>
<summary>Dependabot commands and options</summary>
<br />
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)
</details>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [transformers](https://github.com/huggingface/transformers) from
4.35.2 to 4.36.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/huggingface/transformers/releases">transformers's
releases</a>.</em></p>
<blockquote>
<h2>v4.36: Mixtral, Llava/BakLlava, SeamlessM4T v2, AMD ROCm, F.sdpa
wide-spread support</h2>
<h2>New model additions</h2>
<h3>Mixtral</h3>
<p>Mixtral is the new open-source model from Mistral AI announced by the
blogpost <a href="https://mistral.ai/news/mixtral-of-experts/">Mixtral
of Experts</a>. The model has been proven to have comparable
capabilities to Chat-GPT according to the benchmark results shared on
the release blogpost.</p>
<!-- raw HTML omitted -->
<p>The architecture is a sparse Mixture of Experts with Top-2 routing
strategy, similar as <code>NllbMoe</code> architecture in transformers.
You can use it through <code>AutoModelForCausalLM</code> interface:</p>
<pre lang="py"><code>>>> import torch
>>> from transformers import AutoModelForCausalLM,
AutoTokenizer
<p>>>> model =
AutoModelForCausalLM.from_pretrained("mistralai/Mixtral-8x7B",
torch_dtype=torch.float16, device_map="auto")
>>> tokenizer =
AutoTokenizer.from_pretrained("mistralai/Mistral-8x7B")</p>
<p>>>> prompt = "My favourite condiment is"</p>
<p>>>> model_inputs = tokenizer([prompt],
return_tensors="pt").to(device)
>>> model.to(device)</p>
<p>>>> generated_ids = model.generate(**model_inputs,
max_new_tokens=100, do_sample=True)
>>> tokenizer.batch_decode(generated_ids)[0]
</code></pre></p>
<p>The model is compatible with existing optimisation tools such Flash
Attention 2, <code>bitsandbytes</code> and PEFT library. The checkpoints
are release under <a
href="https://huggingface.co/mistralai"><code>mistralai</code></a>
organisation on the Hugging Face Hub.</p>
<h3>Llava / BakLlava</h3>
<p>Llava is an open-source chatbot trained by fine-tuning LlamA/Vicuna
on GPT-generated multimodal instruction-following data. It is an
auto-regressive language model, based on the transformer architecture.
In other words, it is an multi-modal version of LLMs fine-tuned for chat
/ instructions.</p>
<!-- raw HTML omitted -->
<p>The Llava model was proposed in <a
href="https://arxiv.org/pdf/2310.03744">Improved Baselines with Visual
Instruction Tuning</a> by Haotian Liu, Chunyuan Li, Yuheng Li and Yong
Jae Lee.</p>
<ul>
<li>[<code>Llava</code>] Add Llava to transformers by <a
href="https://github.com/younesbelkada"><code>@younesbelkada</code></a>
in <a
href="https://redirect.github.com/huggingface/transformers/issues/27662">#27662</a></li>
<li>[LLaVa] Some improvements by <a
href="https://github.com/NielsRogge"><code>@NielsRogge</code></a> in <a
href="https://redirect.github.com/huggingface/transformers/issues/27895">#27895</a></li>
</ul>
<p>The integration also includes <a
href="https://github.com/SkunkworksAI/BakLLaVA"><code>BakLlava</code></a>
which is a Llava model trained with Mistral backbone.</p>
<p>The mode is compatible with <code>"image-to-text"</code>
pipeline:</p>
<pre lang="py"><code>from transformers import pipeline
from PIL import Image
import requests
<p>model_id = "llava-hf/llava-1.5-7b-hf"
</tr></table>
</code></pre></p>
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="14666775a2"><code>1466677</code></a>
Release: v4.36.0</li>
<li><a
href="accccdd008"><code>accccdd</code></a>
[<code>Add Mixtral</code>] Adds support for the Mixtral MoE (<a
href="https://redirect.github.com/huggingface/transformers/issues/27942">#27942</a>)</li>
<li><a
href="0676d992a5"><code>0676d99</code></a>
[<code>from_pretrained</code>] Make from_pretrained fast again (<a
href="https://redirect.github.com/huggingface/transformers/issues/27709">#27709</a>)</li>
<li><a
href="9f18cc6df0"><code>9f18cc6</code></a>
Fix SDPA dispatch & make SDPA CI compatible with torch<2.1.1 (<a
href="https://redirect.github.com/huggingface/transformers/issues/27940">#27940</a>)</li>
<li><a
href="7ea21f1f03"><code>7ea21f1</code></a>
[LLaVa] Some improvements (<a
href="https://redirect.github.com/huggingface/transformers/issues/27895">#27895</a>)</li>
<li><a
href="5e620a92cf"><code>5e620a9</code></a>
Fix <code>SeamlessM4Tv2ModelIntegrationTest</code> (<a
href="https://redirect.github.com/huggingface/transformers/issues/27911">#27911</a>)</li>
<li><a
href="e96c1de191"><code>e96c1de</code></a>
Skip <code>UnivNetModelTest::test_multi_gpu_data_parallel_forward</code>
(<a
href="https://redirect.github.com/huggingface/transformers/issues/27912">#27912</a>)</li>
<li><a
href="8d8970efdd"><code>8d8970e</code></a>
[BEiT] Fix test (<a
href="https://redirect.github.com/huggingface/transformers/issues/27934">#27934</a>)</li>
<li><a
href="235be08569"><code>235be08</code></a>
[DETA] fix backbone freeze/unfreeze function (<a
href="https://redirect.github.com/huggingface/transformers/issues/27843">#27843</a>)</li>
<li><a
href="df5c5c62ae"><code>df5c5c6</code></a>
Fix typo (<a
href="https://redirect.github.com/huggingface/transformers/issues/27918">#27918</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/huggingface/transformers/compare/v4.35.2...v4.36.0">compare
view</a></li>
</ul>
</details>
<br />
[](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
<details>
<summary>Dependabot commands and options</summary>
<br />
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)
</details>