Opened 9 months ago

Last modified 6 days ago

#32845 new enhancement

Add Pyjion JIT compiler

Reported by: mkoeppe Owned by:
Priority: major Milestone: sage-9.8
Component: packages: optional Keywords:
Cc: Merged in:
Authors: Matthias Koeppe Reviewers:
Report Upstream: N/A Work issues:
Branch: u/mkoeppe/add_pyjion_jit_compiler (Commits, GitHub, GitLab) Commit: b811ca7b04e1eb23342810797fd61af260ce0cc0
Dependencies: #30766 Stopgaps:

Status badges

Change History (15)

comment:1 Changed 8 months ago by mkoeppe

  • Milestone changed from sage-9.5 to sage-9.6

comment:2 Changed 6 months ago by mkoeppe

  • Branch set to u/mkoeppe/add_pyjion_jit_compiler

comment:3 Changed 6 months ago by git

  • Commit set to d8ff1b2c6414e2c223ba3c20250e409d2e4b843c

Branch pushed to git repo; I updated commit sha1. New commits:

d8ff1b2src/sage/cpython/__init__.py: Use pyjion.config(pgc=False)

comment:4 Changed 6 months ago by mkoeppe

  • Type changed from PLEASE CHANGE to enhancement

Even after using pyjion.config(pgc=False), running the test suite gives a number of errors like

    pyjion.PyjionUnboxingError: Optimizations are invalid. Pyjion PGC expected float, but 1 is a int. Try disabling PGC pyjion.config(pgc=False) or lowering the optimization level to avoid hitting this error.

comment:5 Changed 6 months ago by mkoeppe

Also

    sage.repl.rich_output.display_manager.RichReprWarning: Exception in _rich_repr_ while displaying object: new style getargs format but argument is not a tuple

comment:6 Changed 6 months ago by mkoeppe

  • Component changed from PLEASE CHANGE to packages: optional

comment:7 Changed 6 months ago by mkoeppe

  • Authors set to Matthias Koeppe
  • Description modified (diff)

comment:8 Changed 6 months ago by mkoeppe

  • Description modified (diff)

comment:9 Changed 6 months ago by mkoeppe

  • Description modified (diff)

comment:10 Changed 6 months ago by git

  • Commit changed from d8ff1b2c6414e2c223ba3c20250e409d2e4b843c to d7b76a12b609e2357b09925f7116d992c71b0903

Branch pushed to git repo; I updated commit sha1. New commits:

4571b67build/pkgs/pyjion: New
d7b76a1build/pkgs/dotnet/distros: Add fedora, arch

comment:11 Changed 6 months ago by git

  • Commit changed from d7b76a12b609e2357b09925f7116d992c71b0903 to fd95788f117844034c5dae360ebfb18830e08e98

Branch pushed to git repo; I updated commit sha1. New commits:

fd95788src/sage/cpython/__init__.py: Use pyjion.config(pgc=False, level=0)

comment:12 Changed 6 months ago by git

  • Commit changed from fd95788f117844034c5dae360ebfb18830e08e98 to b811ca7b04e1eb23342810797fd61af260ce0cc0

Branch pushed to git repo; I updated commit sha1. New commits:

b811ca7src/sage/cpython/__init__.py: Use warnings.warn instead of polluting stdout

comment:13 Changed 6 months ago by mkoeppe

Probably should only enable it if some environment variable is set (going through sage.env), and should note it in the banner instead of a warning.

comment:14 Changed 5 months ago by mkoeppe

  • Milestone changed from sage-9.6 to sage-9.7

comment:15 Changed 6 days ago by mkoeppe

  • Milestone changed from sage-9.7 to sage-9.8
Note: See TracTickets for help on using tickets.