transformers
Replace NumPy Operations with JAX NumPy Equivalents for JIT Compilation Compatibility
#23356
Merged

Replace NumPy Operations with JAX NumPy Equivalents for JIT Compilation Compatibility #23356

gojiteji
gojiteji Replace numpy operations with jax.numpy for JIT compatibility
96e9dd42
gojiteji rm numpy import
848f8df1
HuggingFaceDocBuilderDev
sanchit-gandhi
sanchit-gandhi approved these changes on 2023-05-15
sanchit-gandhi sanchit-gandhi requested a review from amyeroberts amyeroberts 2 years ago
gojiteji rm numpy import and fix np->jnp
175ab5dd
gojiteji
sanchit-gandhi
sanchit-gandhi commented on 2023-05-15
gojiteji fixed slices bug
d110c34d
amyeroberts
amyeroberts approved these changes on 2023-05-15
gojiteji fixed decoder_start_tokens -> decoder_start_token_id
f25d5881
amyeroberts
gojiteji fixed jnp in modleing mt5
c74abb81
gojiteji doc fix
33b5904e
gojiteji rm numpy import
b6b5e67b
gojiteji make
c90229e0
gojiteji gojiteji requested a review from amyeroberts amyeroberts 2 years ago
amyeroberts
amyeroberts approved these changes on 2023-05-16
amyeroberts
amyeroberts approved these changes on 2023-05-16
amyeroberts amyeroberts merged ba6815e8 into main 2 years ago

Login to write a write a comment.

Login via GitHub

Assignees
No one assigned
Labels
Milestone