Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support string arrays #2084

Closed
romanngg opened this issue Jan 27, 2020 · 4 comments
Closed

Support string arrays #2084

romanngg opened this issue Jan 27, 2020 · 4 comments
Labels
question Questions for the JAX team

Comments

@romanngg
Copy link
Contributor

Would it be realistic for JAX to support string arrays like numpy does?

@hawkinsp
Copy link
Collaborator

It seems unlikely because the underlying infrastructure (XLA) has no support for strings. It's not out of the question that this might change as the compiler infrastructure evolves.

@mattjj
Copy link
Collaborator

mattjj commented Jan 27, 2020

How about we close this issue for now, though, at least on the JAX issue tracker, since IIUC it's not on the horizon?

@mattjj mattjj closed this as completed Jan 27, 2020
@mattjj mattjj added the question Questions for the JAX team label Jan 27, 2020
@stromal
Copy link

stromal commented Nov 23, 2022

I agree with the questioner.
There should be a string support option.
Especially to load in data than encode string to numerical values to do ML is a pretty typical thing to do.

@jakevdp
Copy link
Collaborator

jakevdp commented Nov 27, 2022

I have a prototype of a string array implementation in #12329

I'm not sure whether that PR will go anywhere, but if you have some more concrete examples of potential uses it might motivate more work in that direction

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Questions for the JAX team
Projects
None yet
Development

No branches or pull requests

5 participants