Instructions to use hectorruiz9/Lucifer with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use hectorruiz9/Lucifer with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("finetrainers/CogView4-6B-Edit-LoRA-v0", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("hectorruiz9/Lucifer") prompt = "-" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
Upload 7 files
Browse filesFiles changed (7)
- workflows/coverage.ymlAdded+29
- workflows/easy-cp.ymlAdded+87
- workflows/labeler.ymlAdded+22
- workflows/lock.yamlAdded+31
- workflows/minimal.ymlAdded+44
- workflows/mirror.ymlAdded+28
- workflows/no-response.yamlAdded+40
1234567891011121314151617181920212223242526272829# Copyright 2013 The Flutter Authors. All rights reserved.# Use of this source code is governed by a BSD-style license that can be# found in the LICENSE file.
name: coverage
on: push: branches: - master paths: - 'packages/flutter/**'
permissions: read-all
jobs: build: name: coverage runs-on: ubuntu-latest if: ${{ github.repository == 'flutter/flutter' }} steps: - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 - name: ./bin/flutter test --coverage run: pushd packages/flutter;../../bin/flutter test --coverage -j 1;popd - name: upload coverage uses: codecov/codecov-action@7f8b4b4bde536c465e797be725718b88c5d95e0e with: files: packages/flutter/coverage/lcov.info verbose: true123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687# Copyright 2023 The Flutter Authors. All rights reserved.# Use of this source code is governed by a BSD-style license that can be# found in the LICENSE file.
name: Cherry-pick Labeled PR to Release Branch
on: pull_request_target: branches: master types: [labeled]
permissions: write-all
jobs: cherrypick_to_release: name: cherrypick_to_release runs-on: ubuntu-latest if: | (github.event.label.name == format('cp{0} beta', ':') || github.event.label.name == format('cp{0} stable', ':')) && (github.event.pull_request.merged == true) steps: - name: Get Release Channel run: | echo "CHANNEL=$(echo ${{ github.event.label.name }} | cut -d ':' -f 2 | xargs)" >> $GITHUB_ENV - name: Get Release Candidate Branch run: | RELEASE_BRANCH=$(curl https://raw.githubusercontent.com/flutter/flutter/$CHANNEL/bin/internal/release-candidate-branch.version) echo "RELEASE_BRANCH=$(echo $RELEASE_BRANCH | tr -d '\n')" >> $GITHUB_ENV - name: Get Cherry Pick PR run: | echo "COMMIT_SHA=$(echo ${{ github.event.pull_request.merge_commit_sha }})" >> $GITHUB_ENV - name: Checkout Flutter Repo uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 with: repository: flutteractionsbot/flutter path: flutter ref: master persist-credentials: false # Checkout all history commits on master branch, so that the cp commit is a known object fetch-depth: 0 # use same name when checking out branch, since the marketplace action does a hard reset. - name: Attempt CP id: attempt-cp working-directory: ./flutter run: | git config user.name "GitHub Actions Bot" git config user.email "<>" git remote add upstream https://github.com/flutter/flutter.git git fetch upstream $RELEASE_BRANCH git fetch upstream master git checkout -b cp-${CHANNEL}-${COMMIT_SHA} --track upstream/$RELEASE_BRANCH git cherry-pick $COMMIT_SHA # TODO(xilaizhang): remove this step once the template is available on release branches. - name: Get CP Template run: | curl -o PULL_REQUEST_CP_TEMPLATE.md https://raw.githubusercontent.com/flutter/flutter/main/.github/PR_TEMPLATE/PULL_REQUEST_CP_TEMPLATE.md - name: Create PR on CP success if: ${{ steps.attempt-cp.conclusion == 'success' }} working-directory: ./flutter id: create-pr run: | git push https://${{ env.GITHUB_TOKEN }}@github.com/flutteractionsbot/flutter cp-${CHANNEL}-${COMMIT_SHA} { echo 'PR_URL<<EOF' gh pr create --title "[CP-${CHANNEL}]${PR_TITLE}" --body-file ../PULL_REQUEST_CP_TEMPLATE.md --base ${RELEASE_BRANCH} --label "cp: review" --repo flutter/flutter --head flutteractionsbot:cp-${CHANNEL}-${COMMIT_SHA} echo EOF } >> "$GITHUB_ENV" env: GITHUB_TOKEN: ${{ secrets.FLUTTERACTIONSBOT_CP_TOKEN }} PR_TITLE: ${{ github.event.pull_request.title }} - name: Leave Comment on CP success if: ${{ steps.create-pr.conclusion == 'success' }} run: | echo $PR_URL NEW_PR_NUMBER="${PR_URL##*/}" SUCCESS_MSG=" @${{ github.actor }} please fill out the PR description above, afterwards the release team will review this request." gh pr comment $NEW_PR_NUMBER -R flutter/flutter -b "${SUCCESS_MSG}" env: GITHUB_TOKEN: ${{ secrets.FLUTTERACTIONSBOT_CP_TOKEN }} - name: Leave Comment on CP failure if: ${{ failure() && steps.attempt-cp.conclusion == 'failure' }} run: | FAILURE_MSG="Failed to create CP due to merge conflicts.<br>" FAILURE_MSG+="You will need to create the PR manually. See [the cherrypick wiki](https://github.com/flutter/flutter/blob/main/docs/releases/Flutter-Cherrypick-Process.md) for more info." gh pr comment ${{ github.event.pull_request.number }} -R flutter/flutter -b "${FAILURE_MSG}" env: GITHUB_TOKEN: ${{ secrets.FLUTTERACTIONSBOT_CP_TOKEN }}12345678910111213141516171819202122# Copyright 2013 The Flutter Authors. All rights reserved.# Use of this source code is governed by a BSD-style license that can be# found in the LICENSE file.
name: "Pull Request Labeler"on:- pull_request_target
# Declare default permissions as read only.permissions: read-all
jobs: triage: if: ${{ github.repository == 'flutter/flutter' }} permissions: pull-requests: write runs-on: ubuntu-latest steps: # Source available at https://github.com/actions/labeler/blob/main/README.md - uses: actions/labeler@8558fd74291d67161a8a78ce36a881fa63b766a9 with: sync-labels: true12345678910111213141516171819202122232425262728293031# Configuration for Lock Threads - https://github.com/dessant/lock-threads
name: 'Lock Threads'
# By specifying the access of one of the scopes, all of those that are not# specified are set to 'none'.permissions: issues: write
on: schedule: - cron: '0 * * * *'
jobs: lock: permissions: issues: write runs-on: ubuntu-latest if: ${{ github.repository == 'flutter/flutter' }} steps: - uses: dessant/lock-threads@1bf7ec25051fe7c00bdd17e6a7cf3d7bfb7dc771 with: process-only: 'issues' github-token: ${{ github.token }} # Number of days of inactivity before a closed issue is locked. issue-inactive-days: '14' issue-comment: > This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of `flutter doctor -v` and a minimal reproduction of the issue.1234567891011121314151617181920212223242526272829303132333435363738394041424344# Copyright 2023 The Flutter Authors. All rights reserved.# Use of this source code is governed by a BSD-style license that can be# found in the LICENSE file.
name: Minimal workflow to test github action token
on: workflow_dispatch
permissions: write-all
jobs: minimal_token_test: name: minimal_token_test runs-on: ubuntu-latest permissions: contents: write pull-requests: write steps: - name: Checkout Flutter Repo uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 with: repository: flutter/flutter token: ${{ github.token }} path: flutter ref: master fetch-depth: 0 - name: Write a random file run: | cd flutter touch empty.json - name: Create Pull Request uses: peter-evans/create-pull-request@67ccf781d68cd99b580ae25a5c18a1cc84ffff1f with: path: flutter commit-message: blah committer: GitHub <noreply@github.com> token: ${{ secrets.FLUTTERACTIONSBOT_CP_TOKEN }} labels: | cp: review title: '[github actions] testing purposes' reviewers: - christopherfujino - jmagman12345678910111213141516171819202122232425262728# Copyright 2013 The Flutter Authors. All rights reserved.# Use of this source code is governed by a BSD-style license that can be# found in the LICENSE file.
# Mirror master to main branches in the flutter repository.on: push: branches: - 'master'
# Declare default permissions as read only.permissions: read-all
jobs: mirror_job: permissions: pull-requests: write runs-on: ubuntu-latest if: ${{ github.repository == 'flutter/flutter' }} name: Mirror master branch to main branch steps: - name: Mirror action step id: mirror uses: google/mirror-branch-action@30c52ee21f5d3bd7fb28b95501c11aae7f17eebb with: github-token: ${{ secrets.FLUTTERMIRRORINGBOT_TOKEN }} source: 'master' dest: 'main'12345678910111213141516171819202122232425262728293031323334353637383940name: No Response
# Both `issue_comment` and `scheduled` event types are required for this Action# to work properly.on: issue_comment: types: [created] schedule: # Schedule for five minutes after the hour, every hour - cron: '5 * * * *'
# By specifying the access of one of the scopes, all of those that are not# specified are set to 'none'.permissions: issues: write
jobs: noResponse: runs-on: ubuntu-latest if: ${{ github.repository == 'flutter/flutter' }} steps: - uses: godofredoc/no-response@0ce2dc0e63e1c7d2b87752ceed091f6d32c9df09 with: token: ${{ github.token }} # Comment to post when closing an Issue for lack of response. Set to `false` to disable closeComment: > Without additional information, we are unfortunately not sure how to resolve this issue. We are therefore reluctantly going to close this bug for now.
If you find this problem please file a new issue with the same description, what happens, logs and the output of 'flutter doctor -v'. All system setups can be slightly different so it's always better to open new issues and reference the related ones.
Thanks for your contribution. # Number of days of inactivity before an issue is closed for lack of response. daysUntilClose: 21 # Label requiring a response. responseRequiredLabel: "waiting for customer response"workflows/coverage.ymlAdded+29
workflows/easy-cp.ymlAdded+87
workflows/labeler.ymlAdded+22
workflows/lock.yamlAdded+31
workflows/minimal.ymlAdded+44
workflows/mirror.ymlAdded+28
workflows/no-response.yamlAdded+40