JuliaPy / JuliaPy/PythonCall.jl

PythonCall With Jax: Fast inference w/ numpy but does not work with jax.grad need jax.numpy, which is slow, for gradient

オープン
#272 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Julia
スター
1.1k
フォーク
86
平均マージ
1日 22時間
マージ済み PR(30日)
3

説明

I need Jax for something that Zygote cannot do well (meta-learning) and someone recommended PythonCall as a solution to some issues I was having with PyCall.

So far, PythonCall has been great. Things work and it is generally quite quick.

There is one pain point: jax.grad does not work with numpy.array

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

調査の方向性

Start by reproducing the reported difference between numpy.array and jax.numpy with PythonCall, focusing on the jax.grad entry point. Check the existing PythonCall interoperability behavior and record a minimal failing example. Done means jax.grad works with the numpy.array path without requiring the slower jax.numpy approach.

索引モデルが issue の本文から書いたものです。

評価

技術スタック
julia, numpy, python
領域
machine-learning
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
25/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。