Skip to content

MLIR V1 optimization pass is not enabled #67

@camilord

Description

@camilord

Hi,

trying the captcha to text lesson..

here's my installation..

pip install requests==2.31.0
pip install certifi==2021.10.8
pip install tensorflow==2.10
pip install tensorflow-cpu==2.10
pip install tensorrt==10.8.0.43
pip install matplotlib
pip install mltu==0.1.5
pip install tf2onnx==1.14.0

but i am getting this error:

Epoch 51: early stopping
2025-05-02 07:49:01.946222: I tensorflow/core/grappler/devices.cc:75] Number of eligible GPUs (core count >= 8, compute capability >= 0.0): 0 (Note: TensorFlow was not compiled with CUDA or ROCm support)
2025-05-02 07:49:01.946476: I tensorflow/core/grappler/clusters/single_machine.cc:358] Starting new session
2025-05-02 07:49:02.513559: I tensorflow/core/grappler/devices.cc:75] Number of eligible GPUs (core count >= 8, compute capability >= 0.0): 0 (Note: TensorFlow was not compiled with CUDA or ROCm support)
2025-05-02 07:49:02.513861: I tensorflow/core/grappler/clusters/single_machine.cc:358] Starting new session
2025-05-02 07:49:02.839954: I tensorflow/compiler/mlir/mlir_graph_optimization_pass.cc:354] MLIR V1 optimization pass is not enabled

anyone how i can fix the error? or if it fail, can it continue to the next epoch?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions