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 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Julia
星标
1.1k
派生
86
平均合并
1 天 22 小时
30 天内合并 PR
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 摘要。