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

No url printed in "Local development" #121

Open
Robin-Aschan opened this issue Aug 16, 2022 · 2 comments
Open

No url printed in "Local development" #121

Robin-Aschan opened this issue Aug 16, 2022 · 2 comments

Comments

@Robin-Aschan
Copy link

I am following the steps in "Local development" and I notice that no URL is printed when running the back-end URL. What could be the problem?

This is the prompt after running "python3 app.py --port 8000 --model_version mini"
...

x@x:~/git_environment/dalle-playground/backend$ python3 app.py --port 8000 --model_version mini
--> Starting DALL-E Server. This might take up to two minutes.
WARNING:absl:No GPU/TPU found, falling back to CPU. (Set TF_CPP_MIN_LOG_LEVEL=0 and rerun for more info.)
/usr/local/lib/python3.10/dist-packages/flax/core/lift.py:112: FutureWarning: jax.tree_flatten is deprecated, and will be removed in a future release. Use jax.tree_util.tree_flatten instead.
scopes, treedef = jax.tree_flatten(scope_tree)
/usr/local/lib/python3.10/dist-packages/flax/core/lift.py:724: FutureWarning: jax.tree_leaves is deprecated, and will be removed in a future release. Use jax.tree_util.tree_leaves instead.
lengths = set(jax.tree_leaves(lengths))
/usr/local/lib/python3.10/dist-packages/flax/core/axes_scan.py:131: FutureWarning: jax.tree_flatten is deprecated, and will be removed in a future release. Use jax.tree_util.tree_flatten instead.
in_avals, in_tree = jax.tree_flatten(input_avals)
/usr/local/lib/python3.10/dist-packages/flax/linen/transforms.py:247: FutureWarning: jax.tree_leaves is deprecated, and will be removed in a future release. Use jax.tree_util.tree_leaves instead.
jax.tree_leaves(tree)))
/usr/local/lib/python3.10/dist-packages/flax/core/axes_scan.py:143: FutureWarning: jax.tree_unflatten is deprecated, and will be removed in a future release. Use jax.tree_util.tree_unflatten instead.
broadcast_in, constants_out = jax.tree_unflatten(out_tree(), out_flat)
/usr/local/lib/python3.10/dist-packages/flax/core/lift.py:112: FutureWarning: jax.tree_flatten is deprecated, and will be removed in a future release. Use jax.tree_util.tree_flatten instead.
scopes, treedef = jax.tree_flatten(scope_tree)
/usr/local/lib/python3.10/dist-packages/flax/core/lift.py:724: FutureWarning: jax.tree_leaves is deprecated, and will be removed in a future release. Use jax.tree_util.tree_leaves instead.
lengths = set(jax.tree_leaves(lengths))
/usr/local/lib/python3.10/dist-packages/flax/core/axes_scan.py:131: FutureWarning: jax.tree_flatten is deprecated, and will be removed in a future release. Use jax.tree_util.tree_flatten instead.
in_avals, in_tree = jax.tree_flatten(input_avals)
/usr/local/lib/python3.10/dist-packages/flax/linen/transforms.py:247: FutureWarning: jax.tree_leaves is deprecated, and will be removed in a future release. Use jax.tree_util.tree_leaves instead.
jax.tree_leaves(tree)))
/usr/local/lib/python3.10/dist-packages/flax/core/axes_scan.py:143: FutureWarning: jax.tree_unflatten is deprecated, and will be removed in a future release. Use jax.tree_util.tree_unflatten instead.
broadcast_in, constants_out = jax.tree_unflatten(out_tree(), out_flat)
/usr/local/lib/python3.10/dist-packages/flax/core/scope.py:740: FutureWarning: jax.tree_leaves is deprecated, and will be removed in a future release. Use jax.tree_util.tree_leaves instead.
abs_value_flat = jax.tree_leaves(abs_value)
/usr/local/lib/python3.10/dist-packages/flax/core/scope.py:741: FutureWarning: jax.tree_leaves is deprecated, and will be removed in a future release. Use jax.tree_util.tree_leaves instead.
value_flat = jax.tree_leaves(value)
/usr/local/lib/python3.10/dist-packages/flax/core/scope.py:740: FutureWarning: jax.tree_leaves is deprecated, and will be removed in a future release. Use jax.tree_util.tree_leaves instead.
abs_value_flat = jax.tree_leaves(abs_value)
/usr/local/lib/python3.10/dist-packages/flax/core/scope.py:741: FutureWarning: jax.tree_leaves is deprecated, and will be removed in a future release. Use jax.tree_util.tree_leaves instead.
value_flat = jax.tree_leaves(value)
/usr/local/lib/python3.10/dist-packages/flax/core/lift.py:112: FutureWarning: jax.tree_flatten is deprecated, and will be removed in a future release. Use jax.tree_util.tree_flatten instead.
scopes, treedef = jax.tree_flatten(scope_tree)
/usr/local/lib/python3.10/dist-packages/flax/core/lift.py:724: FutureWarning: jax.tree_leaves is deprecated, and will be removed in a future release. Use jax.tree_util.tree_leaves instead.
lengths = set(jax.tree_leaves(lengths))
/usr/local/lib/python3.10/dist-packages/flax/core/axes_scan.py:131: FutureWarning: jax.tree_flatten is deprecated, and will be removed in a future release. Use jax.tree_util.tree_flatten instead.
in_avals, in_tree = jax.tree_flatten(input_avals)
/usr/local/lib/python3.10/dist-packages/flax/linen/transforms.py:247: FutureWarning: jax.tree_leaves is deprecated, and will be removed in a future release. Use jax.tree_util.tree_leaves instead.
jax.tree_leaves(tree)))
/usr/local/lib/python3.10/dist-packages/flax/core/axes_scan.py:143: FutureWarning: jax.tree_unflatten is deprecated, and will be removed in a future release. Use jax.tree_util.tree_unflatten instead.
broadcast_in, constants_out = jax.tree_unflatten(out_tree(), out_flat)
--> DALL-E Server is up and running!
--> Model selected - DALL-E ModelSize.MINI

  • Serving Flask app 'app' (lazy loading)
  • Environment: production
    WARNING: This is a development server. Do not use it in a production deployment.
    Use a production WSGI server instead.
  • Debug mode: off
    INFO:werkzeug:WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.
  • Running on all addresses (0.0.0.0)
  • Running on http://127.0.0.1:8000
  • Running on http://192.168.0.106:8000
    INFO:werkzeug:Press CTRL+C to quit
@CYLOL2019
Copy link
Contributor

I'm also looking forward to the answer to this question

@girof
Copy link

girof commented Feb 29, 2024

I'm also facing this problem

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

No branches or pull requests

3 participants