Request for support for Protobuf Java 4.x.x (specifically 4.32.1) in TensorFlow Java
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 25/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Ferma
- Ambito
- build-system, machine-learning
Direzione di ricerca
Inizia esaminando la configurazione delle dipendenze di TensorFlow Java e la sua compatibilità con la parte Python descritta nell’issue. Confronta il supporto attuale per protobuf Java 3.21.9 con il supporto richiesto per 4.32.1, incluso il comportamento relativo ai descrittori; il lavoro è completo quando la compatibilità per la configurazione ibrida Java/Python è documentata e funzionante.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Please make sure that this is a feature request. As per our GitHub Policy, we only address code/doc bugs, performance issues, feature requests and build/installation issues on GitHub. tag:feature_template
Hi Everyone 👋
I have a project where I am using a java/python hybrid of Tensorflow in a Machine Learning. My project was based on
System information
- TensorFlow version (you are using): 1.2.0-SNAPSHOT
- Are you willing to contribute it (Yes/No): No
Describe the feature and the current behavior/state.
In my project, I am working with a hybrid TensorFlow setup using both Python and Java. The Python side uses TensorFlow 2.15 and protobuf 3.20.3, while the Java side uses TensorFlow 0.5.0 and protobuf 3.21.7.
Due to a security vulnerability (CVE-2025-4565), I need to update the Python protobuf from 3.20.3 to 4.25.8. After upgrading, I encountered an intermittent issue stemming from descriptor changes between protobuf versions 3.x.x and 4.x.x. TensorFlow Python supports protobuf 4.25.8, but TensorFlow Java (1.2.0-SNAPSHOT) only supports protobuf Java 3.21.9.
Given that protobuf Java has since been updated (to version 4.32.1 as of this writing), I would like to request official support for protobuf Java 4.x.x, particularly 4.32.1, in TensorFlow Java to ensure compatibility with the updated Python side of my project.
Will this change the current api? How?
Yes, this change will require updating the dependencies in the TensorFlow Java ecosystem to include protobuf Java 4.x.x support. This update may involve changes to how descriptors and certain functions are handled, so users may need to adjust their code to accommodate those changes.
Who will benefit with this feature?
- Developers using TensorFlow in hybrid Python/Java environments.
- Developers who need to update to the latest protobuf versions for security (CVE-2025-4565) or compatibility with other libraries.
- Users facing compatibility issues due to mismatched versions of protobuf between Python and Java.
Any Other info.
The issue is critical as it directly impacts security and cross-platform compatibility. It would be beneficial if this update could be rolled into a future release of TensorFlow Java, or at least made available in a stable branch for users who rely on protobuf Java 4.x.x.
- Lingua principale
- Java
- Stelle
- 928
- Fork
- 227
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di tensorflow/java
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
tensorflow/java#653 · 1 commento · 4 reazioni ·
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
tensorflow/java#617 · 3 commenti ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 55/100
tensorflow/java#615 · 1 commento ·
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
tensorflow/java#614 · 1 commento ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 30/100
tensorflow/java#602 · 7 commenti ·
Tutte le issue di tensorflow/java
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 88/100
checkstyle/test-configs#263 ·
-
bug
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 90/100
apache/cloudstack#14222 ·
-
[BUG]茶杯方块在取茶时会引发崩溃 Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
-
Cannot differ own consent and managed consents in My Consents view and detailed consent view. Aperta1.0.0-alpha2 Type/Improvement
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
wso2/dpdp-accelerator#272 ·