Skip to content

Commit 6b79efb

Browse files
committed
Highlight important packages
1 parent 826650b commit 6b79efb

File tree

8 files changed

+376
-5
lines changed

8 files changed

+376
-5
lines changed

docs/site/03-compatibility.md

Lines changed: 102 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,22 @@ layout: base
33
title: Compatibility
44
permalink: compatibility/
55
---
6+
7+
<style>
8+
img.pylogo {
9+
// background-color: #8ec9e6;
10+
// padding: 15px;
11+
// border-radius: 10px;
12+
width: 80px;
13+
height: 80px;
14+
}
15+
16+
.langbenefits__icon_pylogo {
17+
width: 80px;
18+
}
19+
</style>
20+
21+
622
<script src="{{ '/assets/js/check_compatibility_helpers.js' | relative_url }}"></script>
723
<script>
824
const default_version = 'v242';
@@ -362,7 +378,11 @@ permalink: compatibility/
362378
<div class="wrapper">
363379
<div>
364380
<div class="container">
365-
<h3 class="truffle__subtitle">GraalPy: Package Compatibility</h3>
381+
<h3 class="truffle__subtitle">GraalPy: Package Compatibility</h3>
382+
383+
GraalPy is compatible with many packages for Data Science and Machine Learning, including the popular PyTorch, NumPy, and Huggingface Transformers.
384+
To try a package, pick any version and only if you run into problems, consult our table below to see if there is a version that may work better.
385+
366386
<div class="compatibility_page-filter">
367387
<div class="compatibility__row">
368388
<p class="compatibility_page-item compatibility_page-module compatibility_page-active" data-filter="v242">GraalPy 24.2</p>
@@ -390,14 +410,91 @@ You can extend it with Python code or leverage packages from the Python ecosyste
390410
</div>
391411
</div>
392412
</section> -->
413+
<!-- Benefits -->
414+
415+
<section class="content-section">
416+
<div class="wrapper">
417+
<div class="langbenefits">
418+
<div class="container">
419+
<h3 class="langpage__title-02"></h3>
420+
<div class="langbenefits__row">
421+
<div class="langbenefits__card">
422+
<div class="langbenefits__icon langbenefits__icon_pylogo">
423+
<img class="pylogo" src='{{ "/assets/img/python/numpy.svg" | relative_url }}' alt="numpy icon">
424+
</div>
425+
<div class="langbenefits__title">
426+
<h4>Numeric Computing</h4>
427+
</div>
428+
<div class="langpage__benefits-text">
429+
<h5>We test <a href="https://numpy.org/">NumPy</a> across multiple versions and know of multiple deployments where it brings numeric computing to Java.</h5>
430+
</div>
431+
</div>
432+
<div class="langbenefits__card">
433+
<div class="langbenefits__icon langbenefits__icon_pylogo">
434+
<img class="pylogo" src='{{ "/assets/img/python/scipy.svg" | relative_url }}' alt="scipy icon">
435+
</div>
436+
<div class="langbenefits__title">
437+
<h4>Scientific Computing</h4>
438+
</div>
439+
<div class="langpage__benefits-text">
440+
<h5><a href="https://scipy.org/">SciPy</a>'s rich library for scientific computing is just a package download away.</h5>
441+
</div>
442+
</div>
443+
<div class="langbenefits__card">
444+
<div class="langbenefits__icon langbenefits__icon_pylogo">
445+
<img class="pylogo" src='{{ "/assets/img/python/pandas.svg" | relative_url }}' alt="pandas icon">
446+
</div>
447+
<div class="langbenefits__title">
448+
<h4>Data Processing</h4>
449+
</div>
450+
<div class="langpage__benefits-text">
451+
<h5>Thanks to Arrow, <a href="https://pandas.pydata.org/">Pandas</a> on GraalPy can run multi-threaded while avoiding unneccessary data copies.</h5>
452+
</div>
453+
</div>
454+
</div>
455+
<div class="langbenefits__row">
456+
<div class="langbenefits__card">
457+
<div class="langbenefits__icon langbenefits__icon_pylogo">
458+
<img class="pylogo" src='{{ "/assets/img/python/huggingface.svg" | relative_url }}' alt="huggingface icon">
459+
</div>
460+
<div class="langbenefits__title">
461+
<h4>Models for any Task</h4>
462+
</div>
463+
<div class="langpage__benefits-text">
464+
<h5>The <a href="https://huggingface.co/">Huggingface</a> transformers library works on GraalPy with its huge library of language, vision, and audio models.</h5>
465+
</div>
466+
</div>
467+
<div class="langbenefits__card">
468+
<div class="langbenefits__icon langbenefits__icon_pylogo">
469+
<img class="pylogo" src='{{ "/assets/img/python/pytorch.svg" | relative_url }}' alt="pytorch icon">
470+
</div>
471+
<div class="langbenefits__title">
472+
<h4>Training and Inference</h4>
473+
</div>
474+
<div class="langpage__benefits-text">
475+
<h5>Train models and run inference on GraalPy with <a href="https://pytorch.org/">PyTorch</a>, taking full advantage of the latest techniques and accellerator hardware.</h5>
476+
</div>
477+
</div>
478+
<div class="langbenefits__card">
479+
<div class="langbenefits__icon langbenefits__icon_pylogo">
480+
<img class="pylogo" src='{{ "/assets/img/python/autogen.svg" | relative_url }}' alt="pyautogen icon">
481+
</div>
482+
<div class="langbenefits__title">
483+
<h4>Agentic Workflows</h4>
484+
</div>
485+
<div class="langpage__benefits-text">
486+
<h5>With <a href="https://microsoft.github.io/autogen/stable/">Autogen</a> and GraalPy you can write agentic workflows and use Java code to create tools for AI Agents.</h5>
487+
</div>
488+
</div>
489+
</div>
490+
</div>
491+
</div>
492+
</div>
493+
</section>
393494
<section class="content-section">
394495
<div class="wrapper">
395496
<div class="compatibility">
396497
<div class="container">
397-
<h5 class="compatibility-text">Python PackagesGraalPy is compatible with many packages, including packages like
398-
PyTorch, NumPy, Huggingface Transformers and many more that are used for Data Science and
399-
Machine Learning. If you want to try a package, first just pick any version and only if you
400-
run into problems, consult the table below to see if there is a version that may work better.</h5>
401498
<h5 class="compatibility-text">To ensure GraalPy is compatible with common Python packages,
402499
the GraalPy team conducts compatibility testing and creates scripts to build and patch many
403500
of the top packages on PyPI plus some more that are of special interest to us, including
Lines changed: 4 additions & 0 deletions
Loading

docs/site/assets/img/python/huggingface.svg

Lines changed: 8 additions & 0 deletions
Loading

docs/site/assets/img/python/numpy.svg

Lines changed: 1 addition & 0 deletions
Loading
Lines changed: 111 additions & 0 deletions
Loading
Lines changed: 12 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)