Attribute black-forest-labs/flux for much of the flux code

This commit is contained in:
Brandon Rising 2024-08-21 15:53:58 -04:00 committed by Brandon
parent ef093dde29
commit 94aba5892a
6 changed files with 12 additions and 0 deletions

View File

@ -1,3 +1,5 @@
# Initially pulled from https://github.com/black-forest-labs/flux
import torch
from einops import rearrange
from torch import Tensor

View File

@ -1,3 +1,5 @@
# Initially pulled from https://github.com/black-forest-labs/flux
from dataclasses import dataclass
import torch

View File

@ -1,3 +1,5 @@
# Initially pulled from https://github.com/black-forest-labs/flux
from dataclasses import dataclass
import torch

View File

@ -1,3 +1,5 @@
# Initially pulled from https://github.com/black-forest-labs/flux
from torch import Tensor, nn
from transformers import PreTrainedModel, PreTrainedTokenizer

View File

@ -1,3 +1,5 @@
# Initially pulled from https://github.com/black-forest-labs/flux
import math
from dataclasses import dataclass

View File

@ -1,3 +1,5 @@
# Initially pulled from https://github.com/black-forest-labs/flux
import math
from typing import Callable