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 outputs folder in Colab #11

Open
hocermanc opened this issue Jul 30, 2021 · 6 comments
Open

No outputs folder in Colab #11

hocermanc opened this issue Jul 30, 2021 · 6 comments

Comments

@hocermanc
Copy link

Using the simplified colab results in the code running properly (generating an image with the default parameters in 34s, though I don't have a reference as to if that's functioning properly or not) but the generated image does not appear. I'm not sure if "attempting to display results" means the image should appear in the colab output, but it does not in this case. No "outputs" folder is generated, and locating the directory through the code gives "Could not fetch /content/outputs/ from the backend". Creating an outputs folder still results in no image being saved there after refreshing.

Apologies if this is a rookie mistake, I'm fairly new with using Colabs

@rhinojosa
Copy link

rhinojosa commented Aug 1, 2021

I have the same issue.
AttributeError: module 'triton' has no attribute 'kernel'

If we look upstream to the DALLE-pytorch repo there was a commit to change to bind to a strict version.
triton version commit

$ pip install triton==0.4.2

@rhinojosa
Copy link

rhinojosa commented Aug 3, 2021

I was able to get it working by changing cell 1 in the notebook, but this is likely a hack. I just re-installed the single package after installing dalle-pytorch.

!nvidia-smi
!pip install git+https://github.com/afiaka87/CLIP.git
!pip install taming-transformers
!pip install dalle-pytorch
!pip install triton==0.4.2
...
%cd dalle-pytorch-pretrained

@hocermanc
Copy link
Author

How would I do this inside the colab notebook?

@rhinojosa
Copy link

How would I do this inside the colab notebook?

Quick walkthrough

@hocermanc
Copy link
Author

That worked, thanks. (Though the results are often incomprehensible and do not resemble the prompt, I'm assuming this is just because of the limited training in this model)

@johnpaulbin
Copy link
Contributor

Fixed, thanks! (sorry for the wait..)

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