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
parent 9b0cb37b7c
commit 001d1b6e35
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