arpowers
Repos
54
Followers
46
Following
92

[In development, please wait for updated public release] Next-generation JavaScript framework for JAMStack blogs, sites & apps.

1343
102

Blog content and code for Andrew Powers

3
1

Events

started
Created at 4 hours ago
opened issue
Are all models fully versioned and deterministic?

Hello everyone,

I wanted to ask about some issues that have been popping up in libraries that use diffusers as a dependency. Specifically, there have been some unexpected changes to the output (check out this video: https://www.youtube.com/watch?v=usgqmQ0Mq7g) and I've also encountered similar problems when using a separate script. The common thread seems to be diffusers, but I haven't been able to figure out the root cause.

I was wondering if diffusers is fully deterministic in terms of version number. Many calls to from_pretrained don't seem to have version information, so I'm assuming they just pull the latest version. Is it possible that unexpected changes could be coming from untracked changes to models in these cases?

Would it make sense to always require a version number when making calls to diffusers to avoid these issues?

Created at 5 days ago
Created at 5 days ago
Created at 6 days ago
[Bug]: A tensor with all NaNs was produced in Unet

@Jonseed it downloads lots of models, tokenizers, cli, etc. The models aren't versioned usually. Basically diffusers just downloads latest version.

Can't be sure yet, but This is why I think there is a problem, there is an untracked change occurring.

Created at 6 days ago
[Bug]: A tensor with all NaNs was produced in Unet

Has anyone looked at diffusers? Not to get into it but I believe the issues are coming from changes to that library.

IMO AI libs needs to do a better job of semver

Created at 1 week ago
[Bug]: A tensor with all NaNs was produced in Unet

https://youtu.be/usgqmQ0Mq7g

He discusses this issue

Created at 1 week ago
issue comment
CORS issue when attempting to embed gradio app through gradio.live

In our case the servers are short lived as well, so that time limit isn't a problem.

Created at 1 week ago
Created at 1 week ago

remove some unnecessary logging to javascript console

Merge branch 'AUTOMATIC1111:master' into master

Created at 1 week ago

remove some unnecessary logging to javascript console (#2)

Co-authored-by: AUTOMATIC 16777216c@gmail.com

Created at 1 week ago
pull request closed
remove some unnecessary logging to javascript console

Please read the contributing wiki page before submitting a pull request!

If you have a large change, pay special attention to this paragraph:

Before making changes, if you think that your feature will result in more than 100 lines changing, find me and talk to me about the feature you are proposing. It pains me to reject the hard work someone else did, but I won't add everything to the repo, and it's better if the rejection happens before you have to waste time working on the feature.

Otherwise, after making sure you're following the rules described in wiki page, remove this section and continue on.

Describe what this pull request is trying to achieve.

A clear and concise description of what you're trying to accomplish with this, so your intent doesn't have to be extracted from your code.

Additional notes and description of your changes

More technical discussion about your changes go here, plus anything that a maintainer might have to specifically take a look at, or be wary of.

Environment this was tested in

List the environment you have developed / tested this on. As per the contributing page, changes should be able to work on Windows out of the box.

  • OS: [e.g. Windows, Linux]
  • Browser: [e.g. chrome, safari]
  • Graphics card: [e.g. NVIDIA RTX 2080 8GB, AMD RX 6600 8GB]

Screenshots or videos of your changes

If applicable, screenshots or a video showing off your changes. If it edits an existing UI, it should ideally contain a comparison of what used to be there, before your changes were made.

This is required for anything that touches the user interface.

Created at 1 week ago
pull request opened
remove some unnecessary logging to javascript console

Please read the contributing wiki page before submitting a pull request!

If you have a large change, pay special attention to this paragraph:

Before making changes, if you think that your feature will result in more than 100 lines changing, find me and talk to me about the feature you are proposing. It pains me to reject the hard work someone else did, but I won't add everything to the repo, and it's better if the rejection happens before you have to waste time working on the feature.

Otherwise, after making sure you're following the rules described in wiki page, remove this section and continue on.

Describe what this pull request is trying to achieve.

A clear and concise description of what you're trying to accomplish with this, so your intent doesn't have to be extracted from your code.

Additional notes and description of your changes

More technical discussion about your changes go here, plus anything that a maintainer might have to specifically take a look at, or be wary of.

Environment this was tested in

List the environment you have developed / tested this on. As per the contributing page, changes should be able to work on Windows out of the box.

  • OS: [e.g. Windows, Linux]
  • Browser: [e.g. chrome, safari]
  • Graphics card: [e.g. NVIDIA RTX 2080 8GB, AMD RX 6600 8GB]

Screenshots or videos of your changes

If applicable, screenshots or a video showing off your changes. If it edits an existing UI, it should ideally contain a comparison of what used to be there, before your changes were made.

This is required for anything that touches the user interface.

Created at 1 week ago

remove some unnecessary logging to javascript console (#1)

Co-authored-by: AUTOMATIC 16777216c@gmail.com

Created at 1 week ago
pull request closed
remove some unnecessary logging to javascript console

Please read the contributing wiki page before submitting a pull request!

If you have a large change, pay special attention to this paragraph:

Before making changes, if you think that your feature will result in more than 100 lines changing, find me and talk to me about the feature you are proposing. It pains me to reject the hard work someone else did, but I won't add everything to the repo, and it's better if the rejection happens before you have to waste time working on the feature.

Otherwise, after making sure you're following the rules described in wiki page, remove this section and continue on.

Describe what this pull request is trying to achieve.

A clear and concise description of what you're trying to accomplish with this, so your intent doesn't have to be extracted from your code.

Additional notes and description of your changes

More technical discussion about your changes go here, plus anything that a maintainer might have to specifically take a look at, or be wary of.

Environment this was tested in

List the environment you have developed / tested this on. As per the contributing page, changes should be able to work on Windows out of the box.

  • OS: [e.g. Windows, Linux]
  • Browser: [e.g. chrome, safari]
  • Graphics card: [e.g. NVIDIA RTX 2080 8GB, AMD RX 6600 8GB]

Screenshots or videos of your changes

If applicable, screenshots or a video showing off your changes. If it edits an existing UI, it should ideally contain a comparison of what used to be there, before your changes were made.

This is required for anything that touches the user interface.

Created at 1 week ago
pull request opened
remove some unnecessary logging to javascript console

Please read the contributing wiki page before submitting a pull request!

If you have a large change, pay special attention to this paragraph:

Before making changes, if you think that your feature will result in more than 100 lines changing, find me and talk to me about the feature you are proposing. It pains me to reject the hard work someone else did, but I won't add everything to the repo, and it's better if the rejection happens before you have to waste time working on the feature.

Otherwise, after making sure you're following the rules described in wiki page, remove this section and continue on.

Describe what this pull request is trying to achieve.

A clear and concise description of what you're trying to accomplish with this, so your intent doesn't have to be extracted from your code.

Additional notes and description of your changes

More technical discussion about your changes go here, plus anything that a maintainer might have to specifically take a look at, or be wary of.

Environment this was tested in

List the environment you have developed / tested this on. As per the contributing page, changes should be able to work on Windows out of the box.

  • OS: [e.g. Windows, Linux]
  • Browser: [e.g. chrome, safari]
  • Graphics card: [e.g. NVIDIA RTX 2080 8GB, AMD RX 6600 8GB]

Screenshots or videos of your changes

If applicable, screenshots or a video showing off your changes. If it edits an existing UI, it should ideally contain a comparison of what used to be there, before your changes were made.

This is required for anything that touches the user interface.

Created at 1 week ago
[Bug]: A tensor with all NaNs was produced in Unet

@Jonseed which models are you using? and by junk output what do you mean?

the "black" output is the nan issue from xformers, but there is yet an even more dubious bug causing bad output as you mentioned... I suspect with one of the commonly used models, would be useful to know more.

Created at 1 week ago
closed issue
Method to retrieve Gradio Live URL or key/id

Is your feature request related to a problem? Please describe.
I'm trying to create a service that embeds the proxy gradio live links in an iframe. However, its not apparent there is a way to grab the URL from outside the gradio module itself. Is this exposed somewhere?

Describe the solution you'd like
A global variable or documented method to get the URL for the gradio UI.

Additional context
This is important for automation.

Created at 1 week ago
opened issue
Method to retrieve Gradio Live URL or key/id
  • [x ] I have searched to see if a similar issue already exists.

Is your feature request related to a problem? Please describe.
I'm trying to create a service that embeds the proxy gradio live links in an iframe. However, its not apparent there is a way to grab the URL from outside the gradio module itself. Is this exposed somewhere?

Describe the solution you'd like
A global variable or documented method to get the URL for the gradio UI.

Additional context
This is important for automation.

Created at 1 week ago
closed issue
CORS issue when attempting to embed gradio app through gradio.live

Describe the bug

Hey there, We are attempting to embed a gradio app running on gradio.live and its giving us some cors issues. I believe the API server itself is the one blocking the request. Whats the recommended course here? \

Is there an existing issue for this?

  • [X] I have searched the existing issues

Reproduction

n/a

Screenshot

No response

Logs

n/a

System Info

n/a

Severity

annoying

Created at 1 week ago
issue comment
CORS issue when attempting to embed gradio app through gradio.live

But ya, after looking again it looks like HF spaces is designed for a specific use case which I don't have. We are hosting a gradio UI in an ec2 instance (i'll spare you the details)... but ultimately, we need an embeddable URL for the app ... i suppose we should use our own rather than the reverse proxy you guys provide.

Created at 1 week ago
issue comment
CORS issue when attempting to embed gradio app through gradio.live

@abidlabs well, i started with the gradio link as thats what the CLI spits out and is straight forward. If you guys are migrating to a new url i suggest you change the CLI output.

Without reading the docs, its not clear how HF spaces is related. Gonna do that now.

Created at 1 week ago
[Bug]: A tensor with all NaNs was produced in Unet

yo guys, i think this is a bug in xformers: https://github.com/facebookresearch/xformers/issues/631

Created at 1 week ago
[doc] Hows the API work? (or does it..?)

WHAT API docs are missing. They should not be missing.

WHERE check out the readme.

HOW By writing the docs; or even briefly mentioning them.

WHEN yesterday... please.

Note. I really like your code though @d8ahazard; you do some excellent python wrangling...

Created at 1 week ago
Created at 1 week ago
started
Created at 1 week ago
opened issue
CORS issue when attempting to embed gradio app through gradio.live

Describe the bug

Hey there, We are attempting to embed a gradio app running on gradio.live and its giving us some cors issues. I believe the API server itself is the one blocking the request. Whats the recommended course here? \

Is there an existing issue for this?

  • [X] I have searched the existing issues

Reproduction

n/a

Screenshot

No response

Logs

n/a

System Info

n/a

Severity

annoying

Created at 1 week ago
Extention broken for the past week or so

This is one of the weirdest bugs i've seen. There is definitely a problem but Its likely the issue is related to a model dependency or something that is cached and not explicitly tracked as a dependency... which is making it so hard to identify...

next step in detective work is to review if something has changed in Huggingface Diffusers or to their actual service which serves many of the underlying models.

Created at 1 week ago