[RECORDING] Rachel: Contractions/General Flow of app

Recording from the main menu page navigating to a contractions slide deck, showing full functionality of clicking through the slides back and forth with sound effects if there are any. Should be 15-20 seconds. Please record highest quality as possible (min 720p).
Set Up:  Please record with the attached image set as your desktop Background or have the image opened up in the background covering all other applications on your computer. Please close all other applications except the emulator and optionally the android studio. (Leave android studio open if you wish to show the CLI output while the program is running if its relevant to your features.
Here is an example of what it should look close to: https://youtu.be/TgHwfl0f_7E https://youtu.be/TgHwfl0f_7E

Wallpaper Link: https://wallpapercave.com/wp/wp2237402.jpg

https://teams.microsoft.com/_#/mp4/viewer/teams/https:~2F~2Fgtvault.sharepoint.com~2Fsites~2FJDF-0357JuniorDesignGroup~2FShared Documents~2FGeneral~2FScripts~2F2021-04-02 17-58-37.mp4?threadId=19:8a278cd6bab148bdbe922989f8e7f8f7@thread.tacv2&baseUrl=https:~2F~2Fgtvault.sharepoint.com~2Fsites~2FJDF-0357JuniorDesignGroup&fileId=0a0bda14-683c-4107-a19f-a5627692820c&ctx=files&rootContext=items_view&viewerAction=view
(Couldn't upload file here since the quality was too high)


can't install R-integration into arcmap

Hey, I think it was already posted here on github, but without any response. So, Im sorry about doble posting, but I have the same issue.
I have student licence of arcgis 10.3.1 and latest R 3.2.3. I tried to run python scripts through arcmap folder connections but, I can't see any. The only thing I see is the basic structure of r-bridge-install-master, that I have on my desktop ("img", "rtools", "R Integration").
I tried to move this folder elsewhere, run arcmap as administrator, reloading the folder, nothing helped. Are there any ideas how to overcome this behaviour?
Thanks
Lukas

@KelLukas,
I've added a short video of installing in 10.3.1 that details the steps. There should be a PYT file, a Python toolbox that contains the tools and is usable from within the Catalog pane. If that doesn't show up, could you post a screenshot of what you're seeing instead?
Thanks,
Shaun

Hello, thank you for your effort. The video is pretty straight forward, as the installation should be. I followed your steps, I even put the extracted folder into downloads (:P) although it shoudn't matter at all.
Actually, what I have learned through the years with arcgis, for any data analysis and processing, it's always better to put shapefiles into folder which names don't have any diacritics . But that shouldn't be a problem here.
But as again, it doesn't work. When I want to expand the R Intgration .pyt file, it just shows a red cross like there is nothing in there, and the plus sign disappears. I am used to this behaviour with wms servers, not allowing me to connect to them, but a reload or double clicking it always helps.

Thanks in advance
Lukas

Lukas,
Thanks for the screenshots and your additional attempts. Yes, historically there were issues with non-ASCII characters in path names, though generally those to work well today.
From the Catalog View, could you right click on the "R Integration.pyt" toolbox, and select "Check Syntax", and paste or screenshot the message displayed? It looks like a parsing error, my guess is it relates to the metadata files that document the tools, and a installation specific trait that I need to track down.
Thanks,
Shaun

Hello Shaun,
thank you again. Looking at the syntax log, there is actually an acsii error of some kind. Don't know where did it come from :D

Lukas

Lukas,
Thanks for the screenshot, that helps. It looks like the issue is that when it generates the traceback, it wasn't written to handle non-ASCII characters, but came across an 'é'. I've updated it with a simple fix that should solve the issue, but if it doesn't, I have a more robust fix I can apply instead. Could you retest by downloading the zip file again and trying to open the toolbox? If it fails, could you again show the the error in "Check Syntax"? Thanks!
Cheers,
Shaun

Hello Shaun,
I am delighted that you take so much of your time to help me. I appreciate it. To be honest, worked like a charm. I just wonder, where did "é" come from. Not that I don't use it, but as I said, not when working with Arcgis :)

Now, is it normal that the "tools" file in catalog doesn't show any tools, while physically there is 10 compiled python files in the folder? Three of them reminds me of the pyt files in R Integration, I don't have any clue about those 7 remaining.

Thank you
Lukas

Hi Lukas,
Great! Yes, where the 'é' is coming from is unclear, it may be a directory name or something else, the full traceback contains a variety of information.
In terms of the additional files: how the Python toolbox stores its metadata for each tool (e.g. the help). You can view this help by opening a tool, then clicking 'Show Help' to get field-by-field help, or clicking 'Tool Help' to get the full documentation. If you uncheck "Hide extensions for known file types" at this location in File Explorer (Tools > Folder Options), you'll see that they are .xml files, and not actually a toolbox:

I agree it can be somewhat confusing when looking at the directory. I'll close this issue for now, but let us know if you need any further help linking up R and ArcGIS, and if you haven't already, you can see fully worked examples using the bridge in the r-sample-tools project.
Cheers,
Shaun


https://github.com/Qiskit/qiskit-aqua/issues/893

Iterative Grover Allows Custom Lambda

Parameter "lam" can be explicitly set in constructor, with default value 1.34, which is proved to be optimal in https://www.researchgate.net/publication/220133694_Grover's_Quantum_Algorithm_Applied_to_Global_Optimization.
Sequence of Grover rotation counts can be explicitly set in the constructor, e.g. rotation_counts = [ 0, 1, 3, 5, 9 ].

Summary
Details and comments

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.Miroslav Tomasik seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

Thanks for the contribution! I left some comments on the code above 🙂

@molar-volume I think you may have to close this PR and redo the changes where all the commits have your github email so that the CLA can be signed. I think some commits just have 'Miroslav Tomasik' and no email and hence are causing the issue with signing.

I see, 2 commits did not have my email.
I will do as you say @woodsp-ibm
thanks


Button component: onPress is not working on React Native 0.72.6

Current Behavior

I'm using nx mono repo, I created a new react native app and used tamagui to share components between web and mobile. I used Button but apparently onPress was not triggered, so I used onTouchEnd instead. Is this a bug?

I tried Pressable from 'react-native' and it worked fine.

Expected Behavior

onPress will be fired

Tamagui Version
"@tamagui/animations-css": "1.82.3",
"@tamagui/config": "1.82.3",
"@tamagui/core": "1.82.3",
"@tamagui/react-native-media-driver": "1.82.3",
"@tamagui/themes": "1.82.3",
"@tamagui/toast": "1.82.3",
"tamagui": "1.82.3",

Platform (Web, iOS, Android)
"react-native": "0.72.6",
"nx": "17.1.2",

Reproduction
import React, { useEffect } from 'react';
import { StatusBar, Pressable } from 'react-native';
import { TamaguiProvider, XStack, Checkbox, Button, useEvent, Text } from 'tamagui';
import { createAnimations } from '@tamagui/animations-react-native';

// Configuration
import { createTheme } from '../../tamagui.config';
import { animations } from '../constants/animations';

export const App = () => {
  const themesConfig = createTheme(createAnimations(animations), mobileBusinessTheme);

  return (
      <TamaguiProvider config={themesConfig}>
        <XStack marginTop={100} marginLeft={200}>
          <Button onPress={() => console.log("clicked)}>
            Click
          </Button>
          <Pressable onPress={() => console.log("clicked clicked")}>
            <Text>Click click</Text>
          </Pressable>
        </XStack>
      </TamaguiProvider>
  );
};

export default App;

System Info
No response

It worked, I updated the metro config ^^


output/pagetypeformats in config.yml

Describe the bug
The pagetypeformats element of config.yml only works additively - that is, you can add output types but not remove them.
In other words, you can add atom to the output formats of page, but you cannot remove atom from the output formats of section.
To reproduce

Create a new website with cecil.phar new:site
Edit config.yml to include

output:
  pagetypeformats:
    page: [html, atom]
    section: [html]

Use cecil.phar show:config to check resulting configuration.

Expected behavior
The page and section elements of the new configuration should reflect the above:
(other elements left out for clarity)
  pagetypeformats:
    page:
      - html
      - atom
    section:
      - html

Instead, it results in:
  pagetypeformats:
    page:
      - html
      - atom
    section:
      - html
      - atom

That is, the section element does not remove page types that are in the default configuration.
Version
7.43.0
Operating System
Ubuntu 20.04
Relevant log output
No response

Hello @ahnlak,
This is a known problem, or rather a limitation of the mechanics of merging the default configuration and the site configuration.
In the case indicated, if there is only one value, there is a workaround by indicating this value as a string instead of an array entry, for example:
output:
  pagetypeformats:
    page: [html, atom]
    section: html

I suspected it was around array merging; didn't cross my mind to specify it as a string instead! Thanks as always.


[pkg/networkdevice] Modularise SNMP profiles data model

What does this PR do? / Motivation

Move Profile Definition a separate module in order for external repository to import it.
Doesn't change existing behaviour
Add Name field to ProfileDefinition structure (needed in backend and will be used later in agent)
Add DeviceProfileRcConfig (used in the future to decode RC payload)

Additional Notes
https://github.com/DataDog/datadog-agent/blob/main/docs/dev/modules.md

Possible Drawbacks / Trade-offs

Describe how to test/QA your changes

Reviewer's Checklist

[ ] If known, an appropriate milestone has been selected; otherwise the Triage milestone is set.
[ ] Use the major_change label if your change either has a major impact on the code base, is impacting multiple teams or is changing important well-established internals of the Agent. This label will be use during QA to make sure each team pay extra attention to the changed behavior. For any customer facing change use a releasenote.
[ ] A release note has been added or the changelog/no-changelog label has been applied.
[ ] Changed code has automated tests for its functionality.
[ ] Adequate QA/testing plan information is provided if the qa/skip-qa label is not applied.
[ ] At least one team/.. label has been applied, indicating the team(s) that should QA this change.
[ ] If applicable, docs team has been notified or an issue has been opened on the documentation repo.
[ ] If applicable, the need-change/operator and need-change/helm labels have been applied.
[ ] If applicable, the k8s/<min-version> label, indicating the lowest Kubernetes version compatible with this feature.
[ ] If applicable, the config template has been updated.

Overall, LGTM

@DataDog/agent-platform Can I have a review for this PR? :)


Rewrite method names and documentation

Fixes #199

@rultor merge

@rultor merge

@rultor merge

@rultor merge

@suseika OK, I'll try to merge now. You can check the progress of the merge here

@rultor merge

@suseika Done! FYI, the full log is here (took me 3min)

@rultor merge

@suseika The pull request is closed already, so I can't merge it

@rultor merge

@suseika The pull request is closed already, so I can't merge it


Synthetics Info Header Support

Overview

Add support for new X-NewRelic-Synthetics-Info header.

Codecov Report

Merging #896 (9668440) into main (dc87bd3) will increase coverage by 0.02%.
The diff coverage is 80.88%.

@@            Coverage Diff             @@
##             main     #896      +/-   ##
==========================================
+ Coverage   81.52%   81.54%   +0.02%
==========================================
  Files         184      184
  Lines       18584    18651      +67
  Branches     3255     3273      +18
==========================================
+ Hits        15150    15209      +59
- Misses       2518     2521       +3
- Partials      916      921       +5

Files Changed
Coverage Δ

newrelic/common/encoding_utils.py
87.95% <52.38%> (-2.84%)
:arrow_down:

newrelic/core/transaction_node.py
96.81% <75.00%> (-0.64%)
:arrow_down:

newrelic/api/transaction.py
85.45% <91.66%> (+0.07%)
:arrow_up:

newrelic/api/cat_header_mixin.py
85.91% <100.00%> (+0.62%)
:arrow_up:

newrelic/api/message_trace.py
73.68% <100.00%> (+0.35%)
:arrow_up:

newrelic/api/web_transaction.py
74.61% <100.00%> (+1.13%)
:arrow_up:

... and 2 files with indirect coverage changes
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

It may be worth adding a test case where version is not 1. In that case, the agent should treat the request like a regular request and not synthetics request.

There is one, test_synthetics_event_unsupported_info_version is the name of that test. It sets the value to 0.


Pose Detection for Cyclist

Dear Community,
i am using mediapipe for detecting the body pose of a cyclist. Compared to mediapipes performance in other contexts, the offset of the predicted and the true leg-landmarks is quite high. Is there any plan to improve the model in this context?
Best regards
Nick

Hi @nickharmening Could you provide more details about platform.

Sure, i ran it with the colab notebook you provided: https://mediapipe.page.link/pose_py_colab

Hello @mgyong,
I am a team member of @nickharmening and can help here. :)
Our use case is that we want to analyze how well a bike is set up, in which we analyze for example the knee angles.
We have been able to get very good results with Mediapipe when a body is seen from the front, but from the side, the results are then worse.
Are there any tips on how we could possibly improve the detection?

Hi @flobaader, were you able to resolve it or did you use another tool instead? Having a similar situation here.

@nickharmening Please consider using the Heavy pose detection model for this use case, since it looks like the model is able to determine the pose almost accurately. By default, pose detection solution uses full model enumerated as "1". You can find all models in this section of the pose model documentation.
Since the details of the language you are using is not available, in Python, you can provide model complexity as
with mp_pose.Pose(static_image_mode=True, model_complexity=2) as pose:
...

In Javascript, it is done as:
pose.setOptions({modelComplexity: 1})

In C++, you can provide model_complexity as input_side_packet to the PoseLandmarkGpu calculator
input_side_packet: "MODEL_COMPLEXITY:model_complexity"


Add New Keyboard Symbol: Comma

Bind and add the comma symbol to the keyboard.

With the current implementation, we use either the string representation or a charCode of a key that has been pressed. For comma, it can be represented with "," orString.fromCharCode(44). However, the key events do not seem to trigger for commas.
(i.e. the following unexpectedly does not work)
key: [String.fromCharCode(44), true], fn: function() {
    svgCanvas.keyPressed(',');
}

or

key: [",", true], fn: function() {
    svgCanvas.keyPressed(',');
}


resolve #35

Implemented unit test for Repomd: #35

@Guseyn can you please use a bit more verbose PR descriptions and titles to understand the reason of PR without switching to code tab? E.g. "Implemented unit test for Repomd" would be enough. Also, it would be good to put a link for ticket in PR body - Github automatically creates a link in ticket to this PR.

Job gh:artipie/rpm-adapter#38 is not assigned, can't get performer

This pull request #38 is assigned to @dgarus/z, here is why; the budget is 15 minutes, see §4; please, read §27 and when you decide to accept the changes, inform @g4s8/z (the architect) right in this ticket; if you decide that this PR should not be accepted ever, also inform the architect; this blog post will help you understand what is expected from a code reviewer; there will be a monetary reward for this job

There is an unrecoverable failure on my side. Please, submit it here:
PID: 11@cbab2ca4a324, thread: PQ-CT2E6TK9B
com.zerocracy.claims.ClaimIn[214] java.lang.IllegalArgumentException: Parameter "age" not found in "Order was canceled" among: [reason, priority, job, cause, _parent_sig, flow, voluntarily, login]

0.51.12: CID: 52257a97-72ac-441b-a90b-c7a568af4ea3, Type: "Order was canceled"

@dgarus/z resigned from #38, since the job is not in scope anymore


not working in ensime anymore

:cry: I think I broke it at some point and didn't realise which commit did it. Can you please have a look and see if we're doing anything that might cause a problem?
https://github.com/ensime/ensime-emacs/blob/master/test/dotemacs_test.el
https://github.com/ensime/ensime-emacs/blob/master/ensime-test.el#L2039
we're doing (kill-emacs 1) with a kill hook to dump the stack of the exit point for debugging, that's the thing that makes me think we might have done something.
To run: install a Java 6 and put sbt on your PATH https://github.com/paulp/sbt-extras/blob/master/sbt
export JDK_HOME=/usr/lib/jvm/jdk-6-oracle-x64
export UNDERCOVER=t
test/run_emacs_tests.sh

@fommil Sure, I will take a look.

@fommil Is COVERALLS_REPO_TOKEN setted for test enviroment?

Yeah, but I don't tend to set it when running locally. Will undercover silently fail to produce the report if it is not set?

Oh actually, I guess it's not set for PRs. I can add it for that reason.

@fommil undercover.el will do nothing until TRAVIS=TRUE or COVERALLS_REPO_TOKEN is setted.

Quote  from README.md:
If you don't use Travis CI you need to set COVERALLS_REPO_TOKEN environment variable before running tests, for example:
$ COVERALLS_REPO_TOKEN=<your-coveralls-repo-token> cask exec ert-runner

ok, cool, that's likely it then! thanks :blush:


More cmsg cleanup

No semantic changes, just additional insurance against UB.

Switched to a compromise approach which allows explicit finishing of the encoding operation while preserving the static guarantee.

Looks okay to me once CI passes.

Should be ready.


wagtail_update_image_renditions(Fixed typo)

fixes #11646
As the issue details said, changing -purge-only  to --purge-only would resolve problem error: unrecognized arguments: -purge-only
I changed -purge-only to --purge-only in documentation.

yeah, I have changed it as you said.Sorry it was my mistake .

Well thank you for adding me into your contributors list.My name is Pranith but my surname is Beeram so I kept my username as Beeram12 it's fine with Pranith.

Thanks @Beeram12  - fixed in 287e5f9dedb39482fc65593a9b323f38f97d6b05


HBASE-26675 Data race on Compactor.writer

@BukrosSzabolcs @joshelser FYI.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
1m  0s
Docker mode activated.

Ping @joshelser

@Apache9 For our usecase it should not make a difference, the TTL check makes it a non issue. But you are right it should be fixed. Sorry I missed it.

@Apache9 For our usecase it should not make a difference, the TTL check makes it a non issue. But you are right it should be fixed. Sorry I missed it.

The current code could generate NPE since we reference the field every time instead of storing it to a local variable first. While the method execution we may complete the compaction and set the writer field to null...


_maintain function in hil.api doesn't do anything.

I was starting to pick at removing the legacy obm stuff, and came across this:
https://github.com/CCI-MOC/hil/blob/83c8f6df45252013f28f0ef832b934231bfc7aa2/hil/api.py#L1463
The _maintain function validates the config, aborts if a maintenance_project is specified but doesn't exist, and then just returns. The latter half of the function is dead code.
This also raises the concern that what it's supposed to be doing is a bit fiddly with the new structure: power_off just does a redirect now, and when _maintain gets run the obm will be disabled.
Obviously we should make the latter half of the function not-dead code, and we should probably write some integration tests for it. I'm half tempted to just not power off the node automatically; skipping this massively simplifies HIL, and it's functionality that can easily be implemented outside of HIL. It would also be good to be dogfooding this API; we clearly haven't actually been using it thus far :/.
Edit by naved: put the permalink for the line (since after merging #1034 the lines changed).

skipping this massively simplifies HIL, and it's functionality that can easily be implemented outside of HIL.

Yeah, I am fine with it since it can be implemented outside of HIL.

Ok. In that case I'll probably just drop the check as part of removing the legacy stuff, and we can do the rest of the fix for this separately.


Run tests by name

This PR build atop #1079 .
@richbrowne
This commit continues to iterate on the test refactor.   It includes the first running "named" test.
To test run:
cd f5-openstack-agent && pytest -vs --symbols ${BIGIPSYMBOLS}.json test/functional/neutronless/esd/test_esd.py::{test_setup_teardown,test_esd_two_irules}

@richbrowne I would merge #1079 first.


在docker内执行spi时出现[error] [server.cpp:BRPC:1068] Fail to listen <IP_ADDRESS>:29100报错

Issue Type
Others
Source
binary
Secretflow Version
1.9.0b2
OS Platform and Distribution
docker
Python version
3.10.13
Bazel version
No response
GCC/Compiler version
No response
What happend and What you expected to happen.
在一台服务器上用brige模式安装了两个secretflow服务，分别在两台服务器上执行spi时，出现报错
bash-4.4# python a.py
WARNING:root:Since the GPL-licensed package `unidecode` is not installed, using Python's `unicodedata` package which yields worse results.
/usr/local/lib/python3.10/subprocess.py:1796: RuntimeWarning: os.fork() was called. os.fork() is incompatible with multithreaded code, and JAX is multithreaded, so this will likely lead to a deadlock.
  self.pid = _posixsubprocess.fork_exec(
2024-10-25 01:21:44,810 WARNING services.py:1996 -- WARNING: The object store is using /tmp instead of /dev/shm because /dev/shm has only 67108864 bytes available. This will harm performance! You may be able to free up space by deleting files in /dev/shm. If you are inside a Docker container, you can increase /dev/shm size by passing '--shm-size=10.24gb' to 'docker run' (or add it to the run_options list in a Ray cluster config). Make sure to set this to more than 30% of available RAM.
2024-10-25 01:21:45,973 INFO worker.py:1724 -- Started a local Ray instance.
2024-10-25 01:21:47.319 INFO api.py:233 [alice] -- [Anonymous_job] Started rayfed with {'CLUSTER_ADDRESSES': {'alice': '<IP_ADDRESS>:29100', 'bob': '<IP_ADDRESS>:29200'}, 'CURRENT_PARTY_NAME': 'alice', 'TLS_CONFIG': {}}
2024-10-25 01:21:48.650 INFO barriers.py:284 [alice] -- [Anonymous_job] Succeeded to create receiver proxy actor.
(ReceiverProxyActor pid=6833) 2024-10-25 01:21:48.642 INFO grpc_proxy.py:359 [alice] -- [Anonymous_job] ReceiverProxy binding port 29100, options: (('grpc.enable_retries', 1), ('grpc.so_reuseport', 0), ('grpc.max_send_message_length', 524288000), ('grpc.max_receive_message_length', 524288000), ('grpc.service_config', '{"methodConfig": [{"name": [{"service": "GrpcService"}], "retryPolicy": {"maxAttempts": 5, "initialBackoff": "5s", "maxBackoff": "30s", "backoffMultiplier": 2, "retryableStatusCodes": ["UNAVAILABLE"]}}]}'))...
(ReceiverProxyActor pid=6833) 2024-10-25 01:21:48.648 INFO grpc_proxy.py:379 [alice] -- [Anonymous_job] Successfully start Grpc service without credentials.
2024-10-25 01:21:49.881 INFO barriers.py:333 [alice] -- [Anonymous_job] SenderProxyActor has successfully created.
2024-10-25 01:21:49.881 INFO barriers.py:520 [alice] -- [Anonymous_job] Try ping ['bob'] at 0 attemp, up to 3600 attemps.
(pid=7000) WARNING:root:Since the GPL-licensed package `unidecode` is not installed, using Python's `unicodedata` package which yields worse results.
(SPURuntime pid=7000) 2024-10-25 01:21:53.375 [error] [server.cpp:BRPC:1068] Fail to listen <IP_ADDRESS>:29100
(SPURuntime pid=7000) 2024-10-25 01:21:53.386 [warning] [channel.h:~Channel:163] Channel destructor is called before WaitLinkTaskFinish, try stop send thread
(raylet) Traceback (most recent call last):
  File "python/ray/_raylet.pyx", line 1807, in ray._raylet.execute_task
  File "python/ray/_raylet.pyx", line 1908, in ray._raylet.execute_task
  File "python/ray/_raylet.pyx", line 1813, in ray._raylet.execute_task
  File "python/ray/_raylet.pyx", line 1754, in ray._raylet.execute_task.function_executor
  File "/usr/local/lib/python3.10/site-packages/ray/_private/function_manager.py", line 726, in actor_method_executor
    return method(__ray_actor, *args, **kwargs)
  File "/usr/local/lib/python3.10/site-packages/ray/util/tracing/tracing_helper.py", line 467, in _resume_span
    return method(self, *_args, **_kwargs)
  File "/usr/local/lib/python3.10/site-packages/secretflow/device/device/spu.py", line 377, in __init__
    self.link = spu_link.create_brpc(desc, rank)
RuntimeError: what:
        [external/yacl/yacl/link/transport/brpc_link.cc:104] brpc server failed start
stacktrace:
#0 yacl::link::FactoryBrpc::CreateContext()+0x7f1352d964f4
#1 pybind11::cpp_function::initialize<>()::{lambda()#3}::_FUN()+0x7f13512f83e4
#2 pybind11::cpp_function::dispatcher()+0x7f13512cbb5e
#3 cfunction_call+0x4fc697

Reproduction code to reproduce the issue.
alice的容器里执行以下代码
import spu
import secretflow as sf
from pathlib import Path

cluster_config={
    'parties': {
        'alice': {
            'address': '<IP_ADDRESS>:29100',
            'listen_addr': '<IP_ADDRESS>:29100'
        },
        'bob': {
            'address': '<IP_ADDRESS>:29200',
            'listen_addr': '<IP_ADDRESS>:29200'
        }
    },
    'self_party': 'alice'
}
sf.shutdown()
sf.init(address='local',cluster_config=cluster_config)

cluster_def={
    'nodes': [
        {
            'party': 'alice',
            'address': '<IP_ADDRESS>:29100',
            'listen_addr': '<IP_ADDRESS>:29100'
        },
        {
            'party': 'bob',
            'address': '<IP_ADDRESS>:29200',
            'listen_addr': '<IP_ADDRESS>:29200'
        },
    ],
    'runtime_config': {
        'protocol': spu.spu_pb2.SEMI2K,
        'field': spu.spu_pb2.FM128,
        'sigmoid_mode': spu.spu_pb2.RuntimeConfig.SIGMOID_REAL,
    }
}

spu = sf.SPU(cluster_def=cluster_def)
spu.psi(
    keys={"alice":["name"],"bob":["name"]},
    input_path={"alice":f"{str(Path.home())}/alice_psi_input.csv","bob":f"{str(Path.home())}/bob_psi_input.csv"},
    output_path={"alice":f"{str(Path.home())}/alice_psi_output.csv","bob":f"{str(Path.home())}/bob_psi_output.csv"},
    receiver="alice",
    broadcast_result=True,
    protocol="PROTOCOL_ECDH",
    ecdh_curve="CURVE_25519"
)
bob执行以下代码：
import spu
import secretflow as sf
from pathlib import Path
cluster_config={
    'parties': {
        'alice': {
            'address': '<IP_ADDRESS>:29100',
            'listen_addr': '<IP_ADDRESS>:29100'
        },
        'bob': {
            'address': '<IP_ADDRESS>:29200',
            'listen_addr': '<IP_ADDRESS>:29200'
        }
    },
    'self_party': 'bob'
}
sf.shutdown()
sf.init(address='local',cluster_config=cluster_config)

cluster_def={
    'nodes': [
        {
            'party': 'alice',
            'address': '<IP_ADDRESS>:29100',
            'listen_addr': '<IP_ADDRESS>:29100'
        },
        {
            'party': 'bob',
            'address': '<IP_ADDRESS>:29200',
            'listen_addr': '<IP_ADDRESS>:29200'
        },
    ],
    'runtime_config': {
        'protocol': spu.spu_pb2.SEMI2K,
        'field': spu.spu_pb2.FM128,
        'sigmoid_mode': spu.spu_pb2.RuntimeConfig.SIGMOID_REAL,
    }
}

spu = sf.SPU(cluster_def=cluster_def)
spu.psi(
    keys={"alice":["name"],"bob":["name"]},
    input_path={"alice":f"{str(Path.home())}/alice_psi_input.csv","bob":f"{str(Path.home())}/bob_psi_input.csv"},
    output_path={"alice":f"{str(Path.home())}/alice_psi_output.csv","bob":f"{str(Path.home())}/bob_psi_output.csv"},
    receiver="alice",
    broadcast_result=True,
    protocol="PROTOCOL_ECDH",
    ecdh_curve="CURVE_25519"
)

address='local' 是单机仿真，在两个docker容器中需要使用生产模式：

首先在容器启动时，保证使用了--network host 来共享宿主机的网络；
分别在alice、bob容器启动ray；
分别使用ray的 ip + port 来填充 sf.init 的 address 参数；2、3可参考：https://www.secretflow.org.cn/zh-CN/docs/secretflow/v1.10.0b0/getting_started/deployment#setup-a-secretflow-cluster-crossing-silo

还是同样的报错：
bash-4.4# python a.py
WARNING:root:Since the GPL-licensed package unidecode is not installed, using Python's unicodedata package which yields worse results.
2024-10-25 02:26:47,683 INFO worker.py:1540 -- Connecting to existing Ray cluster at address: <IP_ADDRESS>:29998...
2024-10-25 02:26:47,726 INFO worker.py:1724 -- Connected to Ray cluster.
2024-10-25 02:26:47.833 INFO api.py:233 [bob] -- [Anonymous_job] Started rayfed with {'CLUSTER_ADDRESSES': {'alice': '<IP_ADDRESS>:29100', 'bob': '<IP_ADDRESS>:29200'}, 'CURRENT_PARTY_NAME': 'bob', 'TLS_CONFIG': {}}
2024-10-25 02:26:49.232 INFO barriers.py:284 [bob] -- [Anonymous_job] Succeeded to create receiver proxy actor.
(ReceiverProxyActor pid=2611) 2024-10-25 02:26:49.225 INFO grpc_proxy.py:359 [bob] -- [Anonymous_job] ReceiverProxy binding port 29200, options: (('grpc.enable_retries', 1), ('grpc.so_reuseport', 0), ('grpc.max_send_message_length', 524288000), ('grpc.max_receive_message_length', 524288000), ('grpc.service_config', '{"methodConfig": [{"name": [{"service": "GrpcService"}], "retryPolicy": {"maxAttempts": 5, "initialBackoff": "5s", "maxBackoff": "30s", "backoffMultiplier": 2, "retryableStatusCodes": ["UNAVAILABLE"]}}]}'))...
(ReceiverProxyActor pid=2611) 2024-10-25 02:26:49.230 INFO grpc_proxy.py:379 [bob] -- [Anonymous_job] Successfully start Grpc service without credentials.
2024-10-25 02:26:50.530 INFO barriers.py:333 [bob] -- [Anonymous_job] SenderProxyActor has successfully created.
2024-10-25 02:26:50.530 INFO barriers.py:520 [bob] -- [Anonymous_job] Try ping ['alice'] at 0 attemp, up to 3600 attemps.
(pid=2775) WARNING:root:Since the GPL-licensed package unidecode is not installed, using Python's unicodedata package which yields worse results.
(raylet) Traceback (most recent call last):
File "python/ray/_raylet.pyx", line 1807, in ray._raylet.execute_task
File "python/ray/_raylet.pyx", line 1908, in ray._raylet.execute_task
File "python/ray/_raylet.pyx", line 1813, in ray._raylet.execute_task
File "python/ray/_raylet.pyx", line 1754, in ray._raylet.execute_task.function_executor
File "/usr/local/lib/python3.10/site-packages/ray/_private/function_manager.py", line 726, in actor_method_executor
return method(__ray_actor, *args, **kwargs)
File "/usr/local/lib/python3.10/site-packages/ray/util/tracing/tracing_helper.py", line 467, in _resume_span
return method(self, *_args, **_kwargs)
File "/usr/local/lib/python3.10/site-packages/secretflow/device/device/spu.py", line 377, in init
self.link = spu_link.create_brpc(desc, rank)
RuntimeError: what:
[external/yacl/yacl/link/transport/brpc_link.cc:104] brpc server failed start
stacktrace:
#0 yacl::link::FactoryBrpc::CreateContext()+0x7fcb42d964f4
#1 pybind11::cpp_function::initialize<>()::{lambda()#3}::_FUN()+0x7fcb412f83e4
#2 pybind11::cpp_function::dispatcher()+0x7fcb412cbb5e
#3 cfunction_call+0x4fc697
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "python/ray/_raylet.pyx", line 2206, in ray._raylet.task_execution_handler
File "python/ray/_raylet.pyx", line 2102, in ray._raylet.execute_task_with_cancellation_handler
File "python/ray/_raylet.pyx", line 1756, in ray._raylet.execute_task
File "python/ray/_raylet.pyx", line 1757, in ray._raylet.execute_task
File "python/ray/_raylet.pyx", line 1995, in ray._raylet.execute_task
File "python/ray/_raylet.pyx", line 1055, in ray._raylet.store_task_errors
File "/usr/local/lib/python3.10/site-packages/ray/util/tracing/tracing_helper.py", line 467, in _resume_span
return method(self, *_args, **_kwargs)
File "/usr/local/lib/python3.10/site-packages/secretflow/device/device/spu.py", line 386, in repr
return f"SPURuntime(device_id={self.id}, party={self.party})"
AttributeError: 'SPURuntime' object has no attribute 'id'
An unexpected internal error occurred while the worker was executing a task.
(raylet) A worker died or was killed while executing a task by an unexpected system error. To troubleshoot the problem, check the logs for the dead worker. RayTask ID: ffffffffffffffff33bc8271baa7b4816130d19802000000 Worker ID: aa3e7d73369417164a4444b352bbbefa8b36ca7960522f09f464814a Node ID: 16ae499a62c4598e88d675dc12ba84562d23a128754cb1b4b48ffe08 Worker IP address: <IP_ADDRESS> Worker port: 10076 Worker PID: 2775 Worker exit type: SYSTEM_ERROR Worker exit detail: Worker exits unexpectedly. Worker exits with an exit code None. Traceback (most recent call last):
File "python/ray/_raylet.pyx", line 1807, in ray._raylet.execute_task
File "python/ray/_raylet.pyx", line 1908, in ray._raylet.execute_task
File "python/ray/_raylet.pyx", line 1813, in ray._raylet.execute_task
File "python/ray/_raylet.pyx", line 1754, in ray._raylet.execute_task.function_executor
File "/usr/local/lib/python3.10/site-packages/ray/_private/function_manager.py", line 726, in actor_method_executor
return method(__ray_actor, *args, **kwargs)

端口未被占用，报错还是提示无法监听端口

alice和bob的报错日志都提供看下

alice上代码：
import spu
import secretflow as sf
from pathlib import Path
cluster_config={
'parties': {
'alice': {
'address': '<IP_ADDRESS>:29100',
'listen_addr': '<IP_ADDRESS>:29100'
},
'bob': {
'address': '<IP_ADDRESS>:29200',
'listen_addr': '<IP_ADDRESS>:29200'
}
},
'self_party': 'alice'
}
sf.shutdown()
sf.init(address='<IP_ADDRESS>:29999',cluster_config=cluster_config)
cluster_def={
'nodes': [
{
'party': 'alice',
'address': '<IP_ADDRESS>:29100',
'listen_addr': '<IP_ADDRESS>:29100'
},
{
'party': 'bob',
'address': '<IP_ADDRESS>:29200',
'listen_addr': '<IP_ADDRESS>:29200'
},
],
'runtime_config': {
'protocol': spu.spu_pb2.SEMI2K,
'field': spu.spu_pb2.FM128,
'sigmoid_mode': spu.spu_pb2.RuntimeConfig.SIGMOID_REAL,
}
}
spu = sf.SPU(cluster_def=cluster_def)
spu.psi(
keys={"alice":["name"],"bob":["name"]},
input_path={"alice":f"{str(Path.home())}/alice_psi_input.csv","bob":f"{str(Path.home())}/bob_psi_input.csv"},
output_path={"alice":f"{str(Path.home())}/alice_psi_output.csv","bob":f"{str(Path.home())}/bob_psi_output.csv"},
receiver="alice",
broadcast_result=True,
protocol="PROTOCOL_ECDH",
ecdh_curve="CURVE_25519"
)
bob上代码：
import spu
import secretflow as sf
from pathlib import Path
cluster_config={
'parties': {
'alice': {
'address': '<IP_ADDRESS>:29100',
'listen_addr': '<IP_ADDRESS>:29100'
},
'bob': {
'address': '<IP_ADDRESS>:29200',
'listen_addr': '<IP_ADDRESS>:29200'
}
},
'self_party': 'bob'
}
sf.shutdown()
sf.init(address='<IP_ADDRESS>:29998',cluster_config=cluster_config)
cluster_def={
'nodes': [
{
'party': 'alice',
'address': '<IP_ADDRESS>:29100',
'listen_addr': '<IP_ADDRESS>:29100'
},
{
'party': 'bob',
'address': '<IP_ADDRESS>:29200',
'listen_addr': '<IP_ADDRESS>:29200'
},
],
'runtime_config': {
'protocol': spu.spu_pb2.SEMI2K,
'field': spu.spu_pb2.FM128,
'sigmoid_mode': spu.spu_pb2.RuntimeConfig.SIGMOID_REAL,
}
}
spu = sf.SPU(cluster_def=cluster_def)
spu.psi(
keys={"alice":["name"],"bob":["name"]},
input_path={"alice":f"{str(Path.home())}/alice_psi_input.csv","bob":f"{str(Path.home())}/bob_psi_input.csv"},
output_path={"alice":f"{str(Path.home())}/alice_psi_output.csv","bob":f"{str(Path.home())}/bob_psi_output.csv"},
receiver="alice",
broadcast_result=True,
protocol="PROTOCOL_ECDH",
ecdh_curve="CURVE_25519"
)
两方同时执行后：
alice方报错如下：
bash-4.4# python a.py
WARNING:root:Since the GPL-licensed package unidecode is not installed, using Python's unicodedata package which yields worse results.
2024-10-25 09:01:22,812 INFO worker.py:1540 -- Connecting to existing Ray cluster at address: <IP_ADDRESS>:29999...
2024-10-25 09:01:22,825 INFO worker.py:1724 -- Connected to Ray cluster.
2024-10-25 09:01:22.862 INFO api.py:233 [alice] -- [Anonymous_job] Started rayfed with {'CLUSTER_ADDRESSES': {'alice': '<IP_ADDRESS>:29100', 'bob': '<IP_ADDRESS>:29200'}, 'CURRENT_PARTY_NAME': 'alice', 'TLS_CONFIG': {}}
2024-10-25 09:01:24.373 INFO barriers.py:284 [alice] -- [Anonymous_job] Succeeded to create receiver proxy actor.
(ReceiverProxyActor pid=2370) 2024-10-25 09:01:24.366 INFO grpc_proxy.py:359 [alice] -- [Anonymous_job] ReceiverProxy binding port 29100, options: (('grpc.enable_retries', 1), ('grpc.so_reuseport', 0), ('grpc.max_send_message_length', 524288000), ('grpc.max_receive_message_length', 524288000), ('grpc.service_config', '{"methodConfig": [{"name": [{"service": "GrpcService"}], "retryPolicy": {"maxAttempts": 5, "initialBackoff": "5s", "maxBackoff": "30s", "backoffMultiplier": 2, "retryableStatusCodes": ["UNAVAILABLE"]}}]}'))...
(ReceiverProxyActor pid=2370) 2024-10-25 09:01:24.371 INFO grpc_proxy.py:379 [alice] -- [Anonymous_job] Successfully start Grpc service without credentials.
2024-10-25 09:01:25.777 INFO barriers.py:333 [alice] -- [Anonymous_job] SenderProxyActor has successfully created.
2024-10-25 09:01:25.778 INFO barriers.py:520 [alice] -- [Anonymous_job] Try ping ['bob'] at 0 attemp, up to 3600 attemps.
(raylet) [2024-10-25 09:01:27,710 E 249 287] (raylet) file_system_monitor.cc:111: /tmp/ray/session_2024-10-25_08-58-15_353929_112 is over 95% full, available space:<PHONE_NUMBER>8; capacity:<PHONE_NUMBER>16. Object creation will fail if spilling is required.
(pid=2534) WARNING:root:Since the GPL-licensed package unidecode is not installed, using Python's unicodedata package which yields worse results.
(raylet) Traceback (most recent call last):
File "python/ray/_raylet.pyx", line 1807, in ray._raylet.execute_task
File "python/ray/_raylet.pyx", line 1908, in ray._raylet.execute_task
File "python/ray/_raylet.pyx", line 1813, in ray._raylet.execute_task
File "python/ray/_raylet.pyx", line 1754, in ray._raylet.execute_task.function_executor
File "/usr/local/lib/python3.10/site-packages/ray/_private/function_manager.py", line 726, in actor_method_executor
return method(__ray_actor, *args, **kwargs)
File "/usr/local/lib/python3.10/site-packages/ray/util/tracing/tracing_helper.py", line 467, in _resume_span
return method(self, *_args, **_kwargs)
File "/usr/local/lib/python3.10/site-packages/secretflow/device/device/spu.py", line 377, in init
self.link = spu_link.create_brpc(desc, rank)
RuntimeError: what:
[external/yacl/yacl/link/transport/brpc_link.cc:104] brpc server failed start
stacktrace:
#0 yacl::link::FactoryBrpc::CreateContext()+0x7ff066d964f4
#1 pybind11::cpp_function::initialize<>()::{lambda()#3}::_FUN()+0x7ff0652f83e4
#2 pybind11::cpp_function::dispatcher()+0x7ff0652cbb5e
#3 cfunction_call+0x4fc697
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "python/ray/_raylet.pyx", line 2206, in ray._raylet.task_execution_handler
File "python/ray/_raylet.pyx", line 2102, in ray._raylet.execute_task_with_cancellation_handler
File "python/ray/_raylet.pyx", line 1756, in ray._raylet.execute_task
File "python/ray/_raylet.pyx", line 1757, in ray._raylet.execute_task
File "python/ray/_raylet.pyx", line 1995, in ray._raylet.execute_task
File "python/ray/_raylet.pyx", line 1055, in ray._raylet.store_task_errors
File "/usr/local/lib/python3.10/site-packages/ray/util/tracing/tracing_helper.py", line 467, in _resume_span
return method(self, *_args, **_kwargs)
File "/usr/local/lib/python3.10/site-packages/secretflow/device/device/spu.py", line 386, in repr
return f"SPURuntime(device_id={self.id}, party={self.party})"
AttributeError: 'SPURuntime' object has no attribute 'id'
An unexpected internal error occurred while the worker was executing a task.
(raylet) A worker died or was killed while executing a task by an unexpected system error. To troubleshoot the problem, check the logs for the dead worker. RayTask ID: ffffffffffffffffe59f3860550222eb31c6c73902000000 Worker ID: 9573ef2c39bbca34bf4b11b4f10913d80fc9e00e77ab88c025f9e1b6 Node ID: 7d2975cf5e4aa032819e1d7ccf34b3d3c9df9af2cfa3ae26f692a0ed Worker IP address: <IP_ADDRESS> Worker port: 10078 Worker PID: 2534 Worker exit type: SYSTEM_ERROR Worker exit detail: Worker exits unexpectedly. Worker exits with an exit code None. Traceback (most recent call last):
File "python/ray/_raylet.pyx", line 1807, in ray._raylet.execute_task
File "python/ray/_raylet.pyx", line 1908, in ray._raylet.execute_task
File "python/ray/_raylet.pyx", line 1813, in ray._raylet.execute_task
File "python/ray/_raylet.pyx", line 1754, in ray._raylet.execute_task.function_executor
File "/usr/local/lib/python3.10/site-packages/ray/_private/function_manager.py", line 726, in actor_method_executor
return method(__ray_actor, *args, **kwargs)
File "/usr/local/lib/python3.10/site-packages/ray/util/tracing/tracing_helper.py", line 467, in _resume_span
return method(self, *_args, **_kwargs)
File "/usr/local/lib/python3.10/site-packages/secretflow/device/device/spu.py", line 377, in init
self.link = spu_link.create_brpc(desc, rank)
RuntimeError: what:
[external/yacl/yacl/link/transport/brpc_link.cc:104] brpc server failed start
stacktrace:
#0 yacl::link::FactoryBrpc::CreateContext()+0x7ff066d964f4
#1 pybind11::cpp_function::initialize<>()::{lambda()#3}::_FUN()+0x7ff0652f83e4
#2 pybind11::cpp_function::dispatcher()+0x7ff0652cbb5e
#3 cfunction_call+0x4fc697
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "python/ray/_raylet.pyx", line 2206, in ray._raylet.task_execution_handler
File "python/ray/_raylet.pyx", line 2102, in ray._raylet.execute_task_with_cancellation_handler
File "python/ray/_raylet.pyx", line 1756, in ray._raylet.execute_task
File "python/ray/_raylet.pyx", line 1757, in ray._raylet.execute_task
File "python/ray/_raylet.pyx", line 1995, in ray._raylet.execute_task
File "python/ray/_raylet.pyx", line 1055, in ray._raylet.store_task_errors
File "/usr/local/lib/python3.10/site-packages/ray/util/tracing/tracing_helper.py", line 467, in _resume_span
return method(self, *_args, **_kwargs)
File "/usr/local/lib/python3.10/site-packages/secretflow/device/device/spu.py", line 386, in repr
return f"SPURuntime(device_id={self.id}, party={self.party})"
AttributeError: 'SPURuntime' object has no attribute 'id'
An unexpected internal error occurred while the worker was executing a task.
2024-10-25 09:01:29.779 WARNING cleanup.py:154 [alice] -- [Anonymous_job] Failed to send ObjectRef(0d12401e8fa9a71471680cf0d9d13781b35913710200000001000000) to bob, error: ray::SenderProxyActor.send() (pid=2452, ip=<IP_ADDRESS>, actor_id=71680cf0d9d13781b359137102000000, repr=<fed.proxy.barriers.SenderProxyActor object at 0x7fea003885b0>)
At least one of the input arguments for this task could not be computed:
ray.exceptions.RayActorError: The actor died unexpectedly before finishing this task.
class_name: SPURuntime
actor_id: e59f3860550222eb31c6c73902000000
pid: 2534
namespace: 1369ad43-dd8e-429b-9bb5-25938eea9048
ip: <IP_ADDRESS>
The actor is dead because its worker process has died. Worker exit type: SYSTEM_ERROR Worker exit detail: Worker exits unexpectedly. Worker exits with an exit code None. Traceback (most recent call last):
File "/usr/local/lib/python3.10/site-packages/secretflow/device/device/spu.py", line 377, in init
self.link = spu_link.create_brpc(desc, rank)
RuntimeError: what:
[external/yacl/yacl/link/transport/brpc_link.cc:104] brpc server failed start
stacktrace:
#0 yacl::link::FactoryBrpc::CreateContext()+0x7ff066d964f4
#1 pybind11::cpp_function::initialize<>()::{lambda()#3}::_FUN()+0x7ff0652f83e4
#2 pybind11::cpp_function::dispatcher()+0x7ff0652cbb5e
#3 cfunction_call+0x4fc697
During handling of the above exception, another exception occurred:
ray::SenderProxyActor.send() (pid=2452, ip=<IP_ADDRESS>, actor_id=71680cf0d9d13781b359137102000000, repr=<fed.proxy.barriers.SenderProxyActor object at 0x7fea003885b0>)
File "/usr/local/lib/python3.10/site-packages/secretflow/device/device/spu.py", line 386, in repr
return f"SPURuntime(device_id={self.id}, party={self.party})"
AttributeError: 'SPURuntime' object has no attribute 'id'
An unexpected internal error occurred while the worker was executing a task.,upstream_seq_id: 5#0, downstream_seq_id: 7.
2024-10-25 09:01:29.780 INFO cleanup.py:161 [alice] -- [Anonymous_job] Sending error The actor died unexpectedly before finishing this task.
class_name: SPURuntime
actor_id: e59f3860550222eb31c6c73902000000
pid: 2534
namespace: 1369ad43-dd8e-429b-9bb5-25938eea9048
ip: <IP_ADDRESS>
The actor is dead because its worker process has died. Worker exit type: SYSTEM_ERROR Worker exit detail: Worker exits unexpectedly. Worker exits with an exit code None. Traceback (most recent call last):
File "python/ray/_raylet.pyx", line 1807, in ray._raylet.execute_task
File "python/ray/_raylet.pyx", line 1908, in ray._raylet.execute_task
File "python/ray/_raylet.pyx", line 1813, in ray._raylet.execute_task
File "python/ray/_raylet.pyx", line 1754, in ray._raylet.execute_task.function_executor
File "/usr/local/lib/python3.10/site-packages/ray/_private/function_manager.py", line 726, in actor_method_executor
return method(__ray_actor, *args, **kwargs)
File "/usr/local/lib/python3.10/site-packages/ray/util/tracing/tracing_helper.py", line 467, in _resume_span
return method(self, *_args, **_kwargs)
File "/usr/local/lib/python3.10/site-packages/secretflow/device/device/spu.py", line 377, in init
self.link = spu_link.create_brpc(desc, rank)
RuntimeError: what:
[external/yacl/yacl/link/transport/brpc_link.cc:104] brpc server failed start
stacktrace:
#0 yacl::link::FactoryBrpc::CreateContext()+0x7ff066d964f4
#1 pybind11::cpp_function::initialize<>()::{lambda()#3}::_FUN()+0x7ff0652f83e4
#2 pybind11::cpp_function::dispatcher()+0x7ff0652cbb5e
#3 cfunction_call+0x4fc697
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "python/ray/_raylet.pyx", line 2206, in ray._raylet.task_execution_handler
File "python/ray/_raylet.pyx", line 2102, in ray._raylet.execute_task_with_cancellation_handler
File "python/ray/_raylet.pyx", line 1756, in ray._raylet.execute_task
File "python/ray/_raylet.pyx", line 1757, in ray._raylet.execute_task
File "python/ray/_raylet.pyx", line 1995, in ray._raylet.execute_task
File "python/ray/_raylet.pyx", line 1055, in ray._raylet.store_task_errors
File "/usr/local/lib/python3.10/site-packages/ray/util/tracing/tracing_helper.py", line 467, in _resume_span
return method(self, *_args, **_kwargs)
File "/usr/local/lib/python3.10/site-packages/secretflow/device/device/spu.py", line 386, in repr
return f"SPURuntime(device_id={self.id}, party={self.party})"
AttributeError: 'SPURuntime' object has no attribute 'id'
An unexpected internal error occurred while the worker was executing a task. to bob.
Traceback (most recent call last):
File "/root/a.py", line 42, in
spu.psi(
File "/usr/local/lib/python3.10/site-packages/secretflow/device/device/spu.py", line 2094, in psi
return dispatch(
File "/usr/local/lib/python3.10/site-packages/secretflow/device/device/register.py", line 111, in dispatch
return _registrar.dispatch(self.device_type, name, self, *args, **kwargs)
File "/usr/local/lib/python3.10/site-packages/secretflow/device/device/register.py", line 80, in dispatch
return self._ops[device_type][name](*args, **kwargs)
File "/usr/local/lib/python3.10/site-packages/secretflow/device/kernels/spu.py", line 615, in psi
return sfd.get(res)
File "/usr/local/lib/python3.10/site-packages/secretflow/distributed/primitive.py", line 156, in get
return fed.get(object_refs)
File "/usr/local/lib/python3.10/site-packages/fed/api.py", line 621, in get
values = ray.get(ray_refs)
File "/usr/local/lib/python3.10/site-packages/ray/_private/auto_init_hook.py", line 22, in auto_init_wrapper
return fn(*args, **kwargs)
File "/usr/local/lib/python3.10/site-packages/ray/_private/client_mode_hook.py", line 103, in wrapper
return func(*args, **kwargs)
File "/usr/local/lib/python3.10/site-packages/ray/_private/worker.py", line 2626, in get
raise value
ray.exceptions.RayActorError: The actor died unexpectedly before finishing this task.
class_name: SPURuntime
actor_id: e59f3860550222eb31c6c73902000000
pid: 2534
namespace: 1369ad43-dd8e-429b-9bb5-25938eea9048
ip: <IP_ADDRESS>
The actor is dead because its worker process has died. Worker exit type: SYSTEM_ERROR Worker exit detail: Worker exits unexpectedly. Worker exits with an exit code None. Traceback (most recent call last):
File "python/ray/_raylet.pyx", line 1807, in ray._raylet.execute_task
File "python/ray/_raylet.pyx", line 1908, in ray._raylet.execute_task
File "python/ray/_raylet.pyx", line 1813, in ray._raylet.execute_task
File "python/ray/_raylet.pyx", line 1754, in ray._raylet.execute_task.function_executor
File "/usr/local/lib/python3.10/site-packages/ray/_private/function_manager.py", line 726, in actor_method_executor
return method(__ray_actor, *args, **kwargs)
File "/usr/local/lib/python3.10/site-packages/ray/util/tracing/tracing_helper.py", line 467, in _resume_span
return method(self, *_args, **_kwargs)
File "/usr/local/lib/python3.10/site-packages/secretflow/device/device/spu.py", line 377, in init
self.link = spu_link.create_brpc(desc, rank)
RuntimeError: what:
[external/yacl/yacl/link/transport/brpc_link.cc:104] brpc server failed start
stacktrace:
#0 yacl::link::FactoryBrpc::CreateContext()+0x7ff066d964f4
#1 pybind11::cpp_function::initialize<>()::{lambda()#3}::_FUN()+0x7ff0652f83e4
#2 pybind11::cpp_function::dispatcher()+0x7ff0652cbb5e
#3 cfunction_call+0x4fc697
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "python/ray/_raylet.pyx", line 2206, in ray._raylet.task_execution_handler
File "python/ray/_raylet.pyx", line 2102, in ray._raylet.execute_task_with_cancellation_handler
File "python/ray/_raylet.pyx", line 1756, in ray._raylet.execute_task
File "python/ray/_raylet.pyx", line 1757, in ray._raylet.execute_task
File "python/ray/_raylet.pyx", line 1995, in ray._raylet.execute_task
File "python/ray/_raylet.pyx", line 1055, in ray._raylet.store_task_errors
File "/usr/local/lib/python3.10/site-packages/ray/util/tracing/tracing_helper.py", line 467, in _resume_span
return method(self, *_args, **_kwargs)
File "/usr/local/lib/python3.10/site-packages/secretflow/device/device/spu.py", line 386, in repr
return f"SPURuntime(device_id={self.id}, party={self.party})"
AttributeError: 'SPURuntime' object has no attribute 'id'
An unexpected internal error occurred while the worker was executing a task.
2024-10-25 09:01:29.787 WARNING cleanup.py:127 [alice] -- [Anonymous_job] Signal SIGINT to exit.
2024-10-25 09:01:29.788 WARNING api.py:60 [alice] -- [Anonymous_job] Stop signal received (e.g. via SIGINT/Ctrl+C), try to shutdown fed. Press CTRL+C (or send SIGINT/SIGKILL/SIGTERM) to skip.
2024-10-25 09:01:29.788 WARNING api.py:344 [alice] -- [Anonymous_job] Shutdowning rayfed unintendedly...
2024-10-25 09:01:29.788 ERROR api.py:349 [alice] -- [Anonymous_job] Cross-silo sending error occured. ray::SenderProxyActor.send() (pid=2452, ip=<IP_ADDRESS>, actor_id=71680cf0d9d13781b359137102000000, repr=<fed.proxy.barriers.SenderProxyActor object at 0x7fea003885b0>)
At least one of the input arguments for this task could not be computed:
ray.exceptions.RayActorError: The actor died unexpectedly before finishing this task.
class_name: SPURuntime
actor_id: e59f3860550222eb31c6c73902000000
pid: 2534
namespace: 1369ad43-dd8e-429b-9bb5-25938eea9048
ip: <IP_ADDRESS>
The actor is dead because its worker process has died. Worker exit type: SYSTEM_ERROR Worker exit detail: Worker exits unexpectedly. Worker exits with an exit code None. Traceback (most recent call last):
File "/usr/local/lib/python3.10/site-packages/secretflow/device/device/spu.py", line 377, in init
self.link = spu_link.create_brpc(desc, rank)
RuntimeError: what:
[external/yacl/yacl/link/transport/brpc_link.cc:104] brpc server failed start
stacktrace:
#0 yacl::link::FactoryBrpc::CreateContext()+0x7ff066d964f4
#1 pybind11::cpp_function::initialize<>()::{lambda()#3}::_FUN()+0x7ff0652f83e4
#2 pybind11::cpp_function::dispatcher()+0x7ff0652cbb5e
#3 cfunction_call+0x4fc697
During handling of the above exception, another exception occurred:
ray::SenderProxyActor.send() (pid=2452, ip=<IP_ADDRESS>, actor_id=71680cf0d9d13781b359137102000000, repr=<fed.proxy.barriers.SenderProxyActor object at 0x7fea003885b0>)
File "/usr/local/lib/python3.10/site-packages/secretflow/device/device/spu.py", line 386, in repr
return f"SPURuntime(device_id={self.id}, party={self.party})"
AttributeError: 'SPURuntime' object has no attribute 'id'
An unexpected internal error occurred while the worker was executing a task.
2024-10-25 09:01:29.788 INFO api.py:356 [alice] -- [Anonymous_job] No wait for data sending.
2024-10-25 09:01:29.791 INFO message_queue.py:72 [alice] -- [Anonymous_job] Notify message polling thread[ErrorSendingQueueThread] to exit.
2024-10-25 09:01:29.791 INFO api.py:371 [alice] -- [Anonymous_job] Shutdowned rayfed.
2024-10-25 09:01:29.791 CRITICAL api.py:375 [alice] -- [Anonymous_job] Exit now due to the previous error.
Exception ignored in atexit callback: <function shutdown at 0x7f068c263c70>
Traceback (most recent call last):
File "/usr/local/lib/python3.10/site-packages/ray/_private/client_mode_hook.py", line 103, in wrapper
return func(*args, **kwargs)
File "/usr/local/lib/python3.10/site-packages/ray/_private/worker.py", line 1788, in shutdown
time.sleep(0.5)
File "/usr/local/lib/python3.10/site-packages/fed/api.py", line 65, in _signal_handler
_shutdown(intended=False)
File "/usr/local/lib/python3.10/site-packages/fed/api.py", line 376, in _shutdown
sys.exit(1)
SystemExit: 1
bob方报错如下：
bash-4.4# python a.py
WARNING:root:Since the GPL-licensed package unidecode is not installed, using Python's unicodedata package which yields worse results.
2024-10-25 09:01:22,268 INFO worker.py:1540 -- Connecting to existing Ray cluster at address: <IP_ADDRESS>:29998...
2024-10-25 09:01:22,284 INFO worker.py:1724 -- Connected to Ray cluster.
2024-10-25 09:01:22.331 INFO api.py:233 [bob] -- [Anonymous_job] Started rayfed with {'CLUSTER_ADDRESSES': {'alice': '<IP_ADDRESS>:29100', 'bob': '<IP_ADDRESS>:29200'}, 'CURRENT_PARTY_NAME': 'bob', 'TLS_CONFIG': {}}
2024-10-25 09:01:23.837 INFO barriers.py:284 [bob] -- [Anonymous_job] Succeeded to create receiver proxy actor.
(ReceiverProxyActor pid=2563) 2024-10-25 09:01:23.830 INFO grpc_proxy.py:359 [bob] -- [Anonymous_job] ReceiverProxy binding port 29200, options: (('grpc.enable_retries', 1), ('grpc.so_reuseport', 0), ('grpc.max_send_message_length', 524288000), ('grpc.max_receive_message_length', 524288000), ('grpc.service_config', '{"methodConfig": [{"name": [{"service": "GrpcService"}], "retryPolicy": {"maxAttempts": 5, "initialBackoff": "5s", "maxBackoff": "30s", "backoffMultiplier": 2, "retryableStatusCodes": ["UNAVAILABLE"]}}]}'))...
(ReceiverProxyActor pid=2563) 2024-10-25 09:01:23.835 INFO grpc_proxy.py:379 [bob] -- [Anonymous_job] Successfully start Grpc service without credentials.
2024-10-25 09:01:25.518 INFO barriers.py:333 [bob] -- [Anonymous_job] SenderProxyActor has successfully created.
2024-10-25 09:01:25.518 INFO barriers.py:520 [bob] -- [Anonymous_job] Try ping ['alice'] at 0 attemp, up to 3600 attemps.
(pid=2727) WARNING:root:Since the GPL-licensed package unidecode is not installed, using Python's unicodedata package which yields worse results.
(raylet) [2024-10-25 09:01:29,049 E 248 286] (raylet) file_system_monitor.cc:111: /tmp/ray/session_2024-10-25_08-58-26_819892_111 is over 95% full, available space:<PHONE_NUMBER>8; capacity:<PHONE_NUMBER>16. Object creation will fail if spilling is required.
2024-10-25 09:01:29.799 WARNING api.py:626 [bob] -- [Anonymous_job] Encounter RemoteError happend in other parties, error message: FedRemoteError occurred at alice
Traceback (most recent call last):
File "/root/a.py", line 41, in
spu.psi(
File "/usr/local/lib/python3.10/site-packages/secretflow/device/device/spu.py", line 2094, in psi
return dispatch(
File "/usr/local/lib/python3.10/site-packages/secretflow/device/device/register.py", line 111, in dispatch
return _registrar.dispatch(self.device_type, name, self, *args, **kwargs)
File "/usr/local/lib/python3.10/site-packages/secretflow/device/device/register.py", line 80, in dispatch
return self._ops[device_type][name](*args, **kwargs)
File "/usr/local/lib/python3.10/site-packages/secretflow/device/kernels/spu.py", line 615, in psi
return sfd.get(res)
File "/usr/local/lib/python3.10/site-packages/secretflow/distributed/primitive.py", line 156, in get
return fed.get(object_refs)
File "/usr/local/lib/python3.10/site-packages/fed/api.py", line 632, in get
raise e
File "/usr/local/lib/python3.10/site-packages/fed/api.py", line 621, in get
values = ray.get(ray_refs)
File "/usr/local/lib/python3.10/site-packages/ray/_private/auto_init_hook.py", line 22, in auto_init_wrapper
return fn(*args, **kwargs)
File "/usr/local/lib/python3.10/site-packages/ray/_private/client_mode_hook.py", line 103, in wrapper
return func(*args, **kwargs)
File "/usr/local/lib/python3.10/site-packages/ray/_private/worker.py", line 2624, in get
raise value.as_instanceof_cause()
ray.exceptions.RayTaskError(FedRemoteError): ray::ReceiverProxyActor.get_data() (pid=2563, ip=<IP_ADDRESS>, actor_id=8c1dd4021fc0350158f1ef3502000000, repr=<fed.proxy.barriers.ReceiverProxyActor object at 0x7f6654614490>)
File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 458, in result
return self.__get_result()
File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 403, in __get_result
raise self._exception
File "/usr/local/lib/python3.10/site-packages/fed/proxy/barriers.py", line 236, in get_data
raise data
fed.exceptions.FedRemoteError: FedRemoteError occurred at alice
(raylet) Traceback (most recent call last):
File "python/ray/_raylet.pyx", line 1807, in ray._raylet.execute_task
File "python/ray/_raylet.pyx", line 1908, in ray._raylet.execute_task
File "python/ray/_raylet.pyx", line 1813, in ray._raylet.execute_task
File "python/ray/_raylet.pyx", line 1754, in ray._raylet.execute_task.function_executor
File "/usr/local/lib/python3.10/site-packages/ray/_private/function_manager.py", line 726, in actor_method_executor
return method(__ray_actor, *args, **kwargs)
File "/usr/local/lib/python3.10/site-packages/ray/util/tracing/tracing_helper.py", line 467, in _resume_span
return method(self, *_args, **_kwargs)
File "/usr/local/lib/python3.10/site-packages/secretflow/device/device/spu.py", line 377, in init
self.link = spu_link.create_brpc(desc, rank)
RuntimeError: what:
[external/yacl/yacl/link/transport/brpc_link.cc:104] brpc server failed start
stacktrace:
#0 yacl::link::FactoryBrpc::CreateContext()+0x7f4136d964f4
#1 pybind11::cpp_function::initialize<>()::{lambda()#3}::_FUN()+0x7f41352f83e4
#2 pybind11::cpp_function::dispatcher()+0x7f41352cbb5e
#3 cfunction_call+0x4fc697
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "python/ray/_raylet.pyx", line 2206, in ray._raylet.task_execution_handler
File "python/ray/_raylet.pyx", line 2102, in ray._raylet.execute_task_with_cancellation_handler
File "python/ray/_raylet.pyx", line 1756, in ray._raylet.execute_task
File "python/ray/_raylet.pyx", line 1757, in ray._raylet.execute_task
File "python/ray/_raylet.pyx", line 1995, in ray._raylet.execute_task
File "python/ray/_raylet.pyx", line 1055, in ray._raylet.store_task_errors
File "/usr/local/lib/python3.10/site-packages/ray/util/tracing/tracing_helper.py", line 467, in _resume_span
return method(self, *_args, **_kwargs)
File "/usr/local/lib/python3.10/site-packages/secretflow/device/device/spu.py", line 386, in repr
return f"SPURuntime(device_id={self.id}, party={self.party})"
AttributeError: 'SPURuntime' object has no attribute 'id'
An unexpected internal error occurred while the worker was executing a task.
(raylet) A worker died or was killed while executing a task by an unexpected system error. To troubleshoot the problem, check the logs for the dead worker. RayTask ID: ffffffffffffffffc04885a63ed7d41c91f4a54802000000 Worker ID: 7e6ae50c30031f1b07a628396a0880d5cbcf40415268f0763c6c806f Node ID: a02613a3e8690e57d6c70e88cf8653cb7384905cc16b0dd729f623d0 Worker IP address: <IP_ADDRESS> Worker port: 10077 Worker PID: 2727 Worker exit type: SYSTEM_ERROR Worker exit detail: Worker exits unexpectedly. Worker exits with an exit code None. Traceback (most recent call last):
File "python/ray/_raylet.pyx", line 1807, in ray._raylet.execute_task
File "python/ray/_raylet.pyx", line 1908, in ray._raylet.execute_task
File "python/ray/_raylet.pyx", line 1813, in ray._raylet.execute_task
File "python/ray/_raylet.pyx", line 1754, in ray._raylet.execute_task.function_executor
File "/usr/local/lib/python3.10/site-packages/ray/_private/function_manager.py", line 726, in actor_method_executor
return method(__ray_actor, *args, **kwargs)
File "/usr/local/lib/python3.10/site-packages/ray/util/tracing/tracing_helper.py", line 467, in _resume_span
return method(self, *_args, **_kwargs)
File "/usr/local/lib/python3.10/site-packages/secretflow/device/device/spu.py", line 377, in init
self.link = spu_link.create_brpc(desc, rank)
RuntimeError: what:
[external/yacl/yacl/link/transport/brpc_link.cc:104] brpc server failed start
stacktrace:
#0 yacl::link::FactoryBrpc::CreateContext()+0x7f4136d964f4
#1 pybind11::cpp_function::initialize<>()::{lambda()#3}::_FUN()+0x7f41352f83e4
#2 pybind11::cpp_function::dispatcher()+0x7f41352cbb5e
#3 cfunction_call+0x4fc697
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "python/ray/_raylet.pyx", line 2206, in ray._raylet.task_execution_handler
File "python/ray/_raylet.pyx", line 2102, in ray._raylet.execute_task_with_cancellation_handler
File "python/ray/_raylet.pyx", line 1756, in ray._raylet.execute_task
File "python/ray/_raylet.pyx", line 1757, in ray._raylet.execute_task
File "python/ray/_raylet.pyx", line 1995, in ray._raylet.execute_task
File "python/ray/_raylet.pyx", line 1055, in ray._raylet.store_task_errors
File "/usr/local/lib/python3.10/site-packages/ray/util/tracing/tracing_helper.py", line 467, in _resume_span
return method(self, *_args, **_kwargs)
File "/usr/local/lib/python3.10/site-packages/secretflow/device/device/spu.py", line 386, in repr
return f"SPURuntime(device_id={self.id}, party={self.party})"
AttributeError: 'SPURuntime' object has no attribute 'id'
An unexpected internal error occurred while the worker was executing a task.
2024-10-25 09:01:29.983 WARNING cleanup.py:154 [bob] -- [Anonymous_job] Failed to send ObjectRef(0021899358e75e3c889952394cab0806fdfd953b0200000001000000) to alice, error: ray::SenderProxyActor.send() (pid=2645, ip=<IP_ADDRESS>, actor_id=889952394cab0806fdfd953b02000000, repr=<fed.proxy.barriers.SenderProxyActor object at 0x7fd82050c6a0>)
At least one of the input arguments for this task could not be computed:
ray.exceptions.RayActorError: The actor died unexpectedly before finishing this task.
class_name: SPURuntime
actor_id: c04885a63ed7d41c91f4a54802000000
pid: 2727
namespace: 3dd6a3f0-b6d3-48e8-86f0-ac67697bcd88
ip: <IP_ADDRESS>
The actor is dead because its worker process has died. Worker exit type: SYSTEM_ERROR Worker exit detail: Worker exits unexpectedly. Worker exits with an exit code None. Traceback (most recent call last):
File "/usr/local/lib/python3.10/site-packages/secretflow/device/device/spu.py", line 377, in init
self.link = spu_link.create_brpc(desc, rank)
RuntimeError: what:
[external/yacl/yacl/link/transport/brpc_link.cc:104] brpc server failed start
stacktrace:
#0 yacl::link::FactoryBrpc::CreateContext()+0x7f4136d964f4
#1 pybind11::cpp_function::initialize<>()::{lambda()#3}::_FUN()+0x7f41352f83e4
#2 pybind11::cpp_function::dispatcher()+0x7f41352cbb5e
#3 cfunction_call+0x4fc697
During handling of the above exception, another exception occurred:
ray::SenderProxyActor.send() (pid=2645, ip=<IP_ADDRESS>, actor_id=889952394cab0806fdfd953b02000000, repr=<fed.proxy.barriers.SenderProxyActor object at 0x7fd82050c6a0>)
File "/usr/local/lib/python3.10/site-packages/secretflow/device/device/spu.py", line 386, in repr
return f"SPURuntime(device_id={self.id}, party={self.party})"
AttributeError: 'SPURuntime' object has no attribute 'id'
An unexpected internal error occurred while the worker was executing a task.,upstream_seq_id: 6#0, downstream_seq_id: 7.
2024-10-25 09:01:29.983 INFO cleanup.py:161 [bob] -- [Anonymous_job] Sending error The actor died unexpectedly before finishing this task.
class_name: SPURuntime
actor_id: c04885a63ed7d41c91f4a54802000000
pid: 2727
namespace: 3dd6a3f0-b6d3-48e8-86f0-ac67697bcd88
ip: <IP_ADDRESS>
The actor is dead because its worker process has died. Worker exit type: SYSTEM_ERROR Worker exit detail: Worker exits unexpectedly. Worker exits with an exit code None. Traceback (most recent call last):
File "python/ray/_raylet.pyx", line 1807, in ray._raylet.execute_task
File "python/ray/_raylet.pyx", line 1908, in ray._raylet.execute_task
File "python/ray/_raylet.pyx", line 1813, in ray._raylet.execute_task
File "python/ray/_raylet.pyx", line 1754, in ray._raylet.execute_task.function_executor
File "/usr/local/lib/python3.10/site-packages/ray/_private/function_manager.py", line 726, in actor_method_executor
return method(__ray_actor, *args, **kwargs)
File "/usr/local/lib/python3.10/site-packages/ray/util/tracing/tracing_helper.py", line 467, in _resume_span
return method(self, *_args, **_kwargs)
File "/usr/local/lib/python3.10/site-packages/secretflow/device/device/spu.py", line 377, in init
self.link = spu_link.create_brpc(desc, rank)
RuntimeError: what:
[external/yacl/yacl/link/transport/brpc_link.cc:104] brpc server failed start
stacktrace:
#0 yacl::link::FactoryBrpc::CreateContext()+0x7f4136d964f4
#1 pybind11::cpp_function::initialize<>()::{lambda()#3}::_FUN()+0x7f41352f83e4
#2 pybind11::cpp_function::dispatcher()+0x7f41352cbb5e
#3 cfunction_call+0x4fc697
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "python/ray/_raylet.pyx", line 2206, in ray._raylet.task_execution_handler
File "python/ray/_raylet.pyx", line 2102, in ray._raylet.execute_task_with_cancellation_handler
File "python/ray/_raylet.pyx", line 1756, in ray._raylet.execute_task
File "python/ray/_raylet.pyx", line 1757, in ray._raylet.execute_task
File "python/ray/_raylet.pyx", line 1995, in ray._raylet.execute_task
File "python/ray/_raylet.pyx", line 1055, in ray._raylet.store_task_errors
File "/usr/local/lib/python3.10/site-packages/ray/util/tracing/tracing_helper.py", line 467, in _resume_span
return method(self, *_args, **_kwargs)
File "/usr/local/lib/python3.10/site-packages/secretflow/device/device/spu.py", line 386, in repr
return f"SPURuntime(device_id={self.id}, party={self.party})"
AttributeError: 'SPURuntime' object has no attribute 'id'
An unexpected internal error occurred while the worker was executing a task. to alice.
2024-10-25 09:01:29.985 WARNING cleanup.py:127 [bob] -- [Anonymous_job] Signal SIGINT to exit.
2024-10-25 09:01:29.985 WARNING api.py:60 [bob] -- [Anonymous_job] Stop signal received (e.g. via SIGINT/Ctrl+C), try to shutdown fed. Press CTRL+C (or send SIGINT/SIGKILL/SIGTERM) to skip.
2024-10-25 09:01:29.986 WARNING api.py:344 [bob] -- [Anonymous_job] Shutdowning rayfed unintendedly...
2024-10-25 09:01:29.986 ERROR api.py:349 [bob] -- [Anonymous_job] Cross-silo sending error occured. ray::SenderProxyActor.send() (pid=2645, ip=<IP_ADDRESS>, actor_id=889952394cab0806fdfd953b02000000, repr=<fed.proxy.barriers.SenderProxyActor object at 0x7fd82050c6a0>)
At least one of the input arguments for this task could not be computed:
ray.exceptions.RayActorError: The actor died unexpectedly before finishing this task.
class_name: SPURuntime
actor_id: c04885a63ed7d41c91f4a54802000000
pid: 2727
namespace: 3dd6a3f0-b6d3-48e8-86f0-ac67697bcd88
ip: <IP_ADDRESS>
The actor is dead because its worker process has died. Worker exit type: SYSTEM_ERROR Worker exit detail: Worker exits unexpectedly. Worker exits with an exit code None. Traceback (most recent call last):
File "/usr/local/lib/python3.10/site-packages/secretflow/device/device/spu.py", line 377, in init
self.link = spu_link.create_brpc(desc, rank)
RuntimeError: what:
[external/yacl/yacl/link/transport/brpc_link.cc:104] brpc server failed start
stacktrace:
#0 yacl::link::FactoryBrpc::CreateContext()+0x7f4136d964f4
#1 pybind11::cpp_function::initialize<>()::{lambda()#3}::_FUN()+0x7f41352f83e4
#2 pybind11::cpp_function::dispatcher()+0x7f41352cbb5e
#3 cfunction_call+0x4fc697
During handling of the above exception, another exception occurred:
ray::SenderProxyActor.send() (pid=2645, ip=<IP_ADDRESS>, actor_id=889952394cab0806fdfd953b02000000, repr=<fed.proxy.barriers.SenderProxyActor object at 0x7fd82050c6a0>)
File "/usr/local/lib/python3.10/site-packages/secretflow/device/device/spu.py", line 386, in repr
return f"SPURuntime(device_id={self.id}, party={self.party})"
AttributeError: 'SPURuntime' object has no attribute 'id'
An unexpected internal error occurred while the worker was executing a task.
2024-10-25 09:01:29.986 INFO api.py:356 [bob] -- [Anonymous_job] No wait for data sending.
2024-10-25 09:01:29.991 INFO message_queue.py:72 [bob] -- [Anonymous_job] Notify message polling thread[ErrorSendingQueueThread] to exit.
2024-10-25 09:01:29.992 INFO api.py:371 [bob] -- [Anonymous_job] Shutdowned rayfed.
2024-10-25 09:01:29.993 CRITICAL api.py:375 [bob] -- [Anonymous_job] Exit now due to the previous error.
Exception ignored in atexit callback: <function shutdown at 0x7f65c3747c70>
Traceback (most recent call last):
File "/usr/local/lib/python3.10/site-packages/ray/_private/client_mode_hook.py", line 103, in wrapper
return func(*args, **kwargs)
File "/usr/local/lib/python3.10/site-packages/ray/_private/worker.py", line 1788, in shutdown
time.sleep(0.5)
File "/usr/local/lib/python3.10/site-packages/fed/api.py", line 65, in _signal_handler
_shutdown(intended=False)
File "/usr/local/lib/python3.10/site-packages/fed/api.py", line 376, in _shutdown
sys.exit(1)
SystemExit: 1

上述代码我在单机仿真的模式下，执行成功了

上述代码我在单机仿真的模式下，执行成功了

嗯，你的代码是正确的；从日志中看alice和bob之间，ray没有建立连接；

先检查alice和bob服务器中的ray是否正常 ray status;
检查alice和bob之间是否有防火墙，有的话需要端口加白；

docker起的两个容器，在同一网络段，没有端口问题。两个分别起的ray主节点，状态都正常，两个ray没有互相连接，通信不是通过spu设置的ip端口吗？

试下 docker run --network host --cap-add=NET_ADMIN 来启动两个容器

还是不行，是否是同一个机器host模式起两个容器spi无法同时工作

可以尝试运行下PSI v2 QuickStart


Pytest plugin with diagnostics

High-level description
Corresponding dcos-test-utils PR https://github.com/dcos/dcos-test-utils/pull/39
Corresponding DC/OS tickets (obligatory)
These DC/OS JIRA ticket(s) must be updated (ideally closed) in the moment this PR lands:
https://jira.mesosphere.com/browse/QUALITY-1819
Related tickets (optional)
Other tickets related to this change:
https://jira.mesosphere.com/browse/QUALITY-1883
Checklist for all PRs

[ ] Included a test which will fail if code is reverted but test is not. If there is no test please explain here:
[ ] Read the DC/OS contributing guidelines
[ ] Followed relevant code rules Rules for Packages and Systemd

Checklist for component/package updates:
If you are changing components or packages in DC/OS (e.g. you are bumping the sha or ref of anything underneath packages), then in addition to the above please also include:

[ ] Change log from the last version integrated (this should be a link to commits for easy verification and review): example
[ ] Test Results: [link to CI job test results for component]
[ ] Code Coverage (if available): [link to code coverage report]

PLEASE FILL IN THE TEMPLATE ABOVE / DO NOT REMOVE ANY SECTIONS ABOVE THIS LINE
Instructions and review process
What is the review process and when will my changes land?
All PRs require 2 approvals using GitHub's pull request reviews.
Reviewers should be:

Developers who understand the code being modified.
Developers responsible for code that interacts with or depends on the code being modified.

It is best to proactively ask for 2 reviews by @mentioning the candidate reviewers in the PR comments area. The responsibility is on the developer submitting the PR to follow-up with reviewers and make sure a PR is reviewed in a timely manner. Once a PR has 2 ship-it's, no red reviews, and all tests are green it will be included in the next train.

Closing this as we will not be able to merge this PR.


Add check for persisted? when using an ActiveRecord create method in Rails/SaveBang

This uses the VariableForce to ensure persisted? is called on a model returned from an ActiveRecord create method that doesn't raise an exception.
This makes the Rails/SaveBang cop act more like expected on bug https://github.com/bbatsov/rubocop/issues/3439
and is currently built on that bug fix https://github.com/bbatsov/rubocop/pull/3466

You'll also have to rebase this.

Addressed comments and made more changes to handle create and modify persistence methods differently when used on conditions in if/unless statements.


Improvement request: CTRL+1 and CTRL+2 shortcuts

In other git clients, these shortcuts are common:

CTRL+1 takes you to "changes"
CTRL+2 takes you to "histories"

Would be nice to have. thanks

Good suggestion. Perhaps a page that introduce all the hotkeys used in this app is needed also.

Having these shortcuts would be already great. Having a page somewhere with the list of shortcuts would be even better! Thanks for the work on this!


Data persistence

Hello,
From last time and today I kind of forgot how to launch ARA.
docker run -d -p 5000:5000 --name registry registry:2 docker login
From here, I was wrong so could you correct me :
in the ara_root/db
./manage-dh.sh start /c/jdd/ara_db
But there wasn't any container so I did :
./manage-dh.sh create/c/jdd/ara_db
I am pretty sure that I used the same path last time since I created for it, but I'm not sure.
But when I went to ARA_ROOT/docker :
make run-version COMMIT_REF=3.1.1 DOCKER_REGISTRY=registry
I was told that ara_db_1 couldn't be started, because the port was already in use, so I went back and stopped the previous ara_db container and relaunched the instruction and it did start the server but then the data was lost

Hi @Kyraze,
I guess you use Windows ? We have an issue on version 3.X.X which in some Windows version, the mout from your Windows to the Docker image can't be achieved (the bug is from Docker for Windows...).
Also you don't have to do the ./manage-db.sh create /c/jdd/ara_db everytime you start your ARA instance. Do it once when you install ARA locally, and then just use ./manage-db.sh stop to stop your ara instance and ./manage-db.sh start to start it (start and stop doesn't take any arguments).
In version 4.0.0 we decide to remove the data persistency for local installations, since local install is only designed to test the software and not actually run a dedicated ARA instance.
So I can suggest two things :
-> Upgrade to version 4.0.0 and do local testing on your Windows, but don't shutdown the server until the end of your test or you'll loose all your datas.
-> Install ARA on a dedicated instance (usually a GNU/Linux server) with a proper MySQL database connected to it to persist your datas.


[framework] Introduce rooch-nursery

Summary
Introduce the rooch-nursery framework to keep unstable move modules.

rooch-nursery use the address 0xa
rename ethereum_light_client to ethereum
Migrate brc20.move,bitseed.move,ethereum.move to rooch-nursery
Use WASMInstance to replace instance_id in wasm.move for security @steelgeek091

The upgrade function need upgrade to handle rooch nursery

I will refactor it when refactoring the chain ID.


Test Driven Development Project

TDD :test_tube:
Implemented Features
General requirements

[x] Make sure that you used the correct Gitflow.
[x] Make sure that you document your work in a professional way.
[x] Write unit tests using Rspec.
[x] Understand an existing codebase in a way that allows for adding tests.
[x] Write Rspec unit tests with mocks.
[x] Understand the TDD concept.

Project requirements

[x] Create a class called Solver.

[x] Create a method called factorial that takes one argument, an integer N, and returns the factorial for that number. The factorial is the multiplication of all integers from 1 to N and has the special case that the factorial of 0 is 1. This method only accepts 0 and positive integers, so if a negative integer is given it should raise an exception.

[x] Create a method called reverse that takes one argument, a string word, and returns word reversed (e.g. if word is "hello" it returns "olleh").

[x] Create a method called fizzbuzz that takes one argument, an integer N, and returns a string. The returned string is constructed following these rules:
When N is divisible by 3, return "fizz".
When N is divisible by 5, return "buzz".
When N is divisible by 3 and 5, return "fizzbuzz".
Any other case, return N as a string (e.g. say N is 7 then return "7").

[x] Remember to start with tests for all of the methods described above. Your commit history should prove that you have used TDD.

Changes ♻

[x] The correct name of the test file is solver_spec.rb instead of solver_spec_test.rb


squashctl sha256 check is broken

Looks like the squashctl team might've re-uploaded a new version of squashctl which broke existing shasums, as the binaries have changed. @scranton, would you mind taking a look into this?
See https://circleci.com/gh/fishworks/fish-food/440 for context.

will do... kicking off a new release of squash as the GitHub release shas
are out of sync with the binaries. expect an updated formula in an hour or
so. Thanks!!
BTW: enjoyed your helm 3 posts, and looking forward to helm 3 GA!
Scott Cranton
Solo.io https://www.solo.io/ | Customer Success
<EMAIL_ADDRESS>+1.781.929.0056
On Tue, May 14, 2019 at 1:01 PM Matthew Fisher<EMAIL_ADDRESS>wrote:

Looks like the squashctl team re-uploaded a new version of squashctl which
broke existing shasums, as the binaries have changed. @scranton
https://github.com/scranton, would you mind taking a look into this?
See https://circleci.com/gh/fishworks/fish-food/440 for context.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/fishworks/fish-food/issues/180?email_source=notifications&email_token=AADBMV2K45GPSPINQOC4Q43PVLV6HA5CNFSM4HM34UTKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4GTXJMFQ,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AADBMV6W6MYW6EHBLJE5QTTPVLV6HANCNFSM4HM34UTA
.

Fixed in #182. Thanks Scott for the follow-up and for the kind words :)


(Bug) GITHUB_TOKEN doesn’t works with protected branches

Setting email to<EMAIL_ADDRESS>in the 'Setup Git' action (to identify itself as techadmin user to be allowed pushing to the next)  doesn't solves the issue.
As a result, prod releases are broken now on both dapp & server
Please follow this thread https://github.community/t/how-to-push-to-protected-branches-in-a-github-action/16101/39
There are some solutions (workarounds mostly). One of them - is personal token usage (like it was before).
We need to discuss this.

@serdiukov-o-nordwhale @sirpy let's discuss this ASAP

ok just use a personal token like before.
do you have another solution?

ok just use a personal token like before. do you have another solution?

actually there're only 2 ways to solve the issue:

add to the action disable protection before push then enable protection after
use personal tokens as it was before

the most quick & simple way of course will be pt. 2 - as it was before

For now i reverted GITHUB_TOKEN usage change:
https://github.com/GoodDollar/GoodServer/commit/e0d4c3319953498ee4fcdc874c3e6441bd9f020f
https://github.com/GoodDollar/GoodDAPP/commit/066c69b7d4aa8df25d6def94ed048003e41c1aed

You need to update the secret for github token

You need to update the secret for github token

Do you mean "GIT_AUTH" secret ?
Could you please:

send it to me via Slack (for both dapp & server repo)
provide the same access level on server report as you provided for the dapp (for now i have just a few options available)

you can just create one under your account

you can just create one under your account

okay, thanks, will do that.
so just please give me accesses to manage secrets on GoodServer repository

@sirpy done


fix: extendedBaseConfig typos

Fix typos from extenedBaseConfig to extendedBaseConfig

Let me know if it should be extendBaseConfig instead of extendedBaseConfig

Hey @derekrsargent, Merging the PR. Thanks for working on it ❤.


refactor: Create a common method that should be called on stream, people, emoji onAutocomplete. Eliminate new function creation for every item of list.

StreamItem calls onPress with the stream name as parameter, so fit
that paramter in the common function which can be used for all stream
item autocomplete. Before, for every item a new function was created
at the time of rendering.
Create a function inside render should be avoided.
(https://codeburst.io/6-simple-ways-to-speed-up-your-react-native-app-d5b775ab3f16)
This is a expriemental change, if it goes goods then we should do this
at other similiar places too.

Good catch and good solution.
This is the exact reason I've been doing this so frequently.

Create a function inside render should be avoided.

That is true but not at all costs. Depends on how often a given object is rendered (one new function created per render).
In that case, since it is a loop of potentially lots of items, this is a very good to have fixed!

Thanks again @jainkuniya, and thanks for the revisions! Merged.
I made a few small adjustments to the branch, mainly to reorder the commits so that logically related changes were together; take a look.


long output is truncated

when printing large output, for example debuging json/body responses, the output width is limited to half the terminal width and scrolling to the top is truncated (may be my terminal issue). can there be an arg to not limit output width, or print raw like the stdlib print works? currently i have to comment out the rich import for testing

Can you add a screenshot of that?

If the width is truncated, check if you have a COLUMNS env var set, as this will override auto detection of the terminal width.
If you can’t scroll back far enough, then have a look in your terminal settings. There is usually a setting for that.

well... it must have been an issue on my end with the terminal, i cant reproduce it today. but weird that using the std print worked as expected. you can close for now and ill re-post with screenshots if i encounter it again

reopening as i was able to reproduce the issue. it happens when output is piped, i.e. through less or tee. screenshot attached

When you pipe the output, the Python code isn't connected to a terminal, so Rich can't detect the width of the terminal and defaults to 80 columns. That's why you are seeing the output not filling the full width of the terminal. Rich will also not render the control codes when its not connected to the terminal.
I'm not sure what your use case is, but Rich will insert new lines in order to word wrap text. The upshot of this is that you can't expect to print something like JSON with Rich and expect to parse the output as JSON. If you need that functionality, you can detect you are not writing to a terminal and instead write directly to the file. For example:
if console.is_terminal:
    console.print(my_json)
else:
    console.file.write(my_json)

that makes sense, and I didn't expect control codes to be rendered (as with std print) when detached from a terminal. the use case is this example is just debugging. but piping output to other scripts/files is a pretty standard convention in Linux, so I expected it to be a drop-in replacement for print. inserting unexpected newlines in output will break most piping scenarios, especially with structure data like json/csv.
is there a reason it can't just output the string untouched when width can't be determined, like the std print does? what is the use case for wrapping to 80 columns when the terminal will do that automatically?

is there a reason it can't just output the string untouched when width can't be determined, like the std print does?

That may fit your use case, but the next developer might want the text wrapping when piping to a file other other program.

what is the use case for wrapping to 80 columns when the terminal will do that automatically?

Rich does word wrapping, which the terminal won't do automatically. There is also a plethora of other options, such as justify, overflow, panels, tables, etc which simply don't make sense without a width. An exception for printing a plain string would break output for many applications.
It's just a safer default for Rich to be consistent and format the output the same way regardless if its in a terminal or not.
I'd suggest wrapping the snippet above in a function, if you want to write unformatted json.

fair enough. i guess i was misunderstanding that it was a drop-in replacement for print. ill close the issue; with this suggestion... it would be really nice to have it disable all control codes, formatting, lists, etc when output is not a terminal. a lot of people will have to import rich.print aliased and use both print functions depending on whether or not a particular output is meant for the terminal or meant to be redirected, as i mentioned this is a very common scenario. or even have a separate function that does this.
anyways, great package and i enjoy using it despite this quark


[Testerina] AssertEquals fails for table type

Description:
Please refer to the following sample codes.
type Employee record {
    int id;
    string name;
    float salary;
};

    table<Employee> tbEmployee = table {
        {key id, name, salary},
        [
            {1, "Mary", 300.5},
            {2, "John", 200.5},
            {3, "Jim", 330.5}
        ]
    };
    table<Employee> tbEmployee2 = table {
        {key id, name, salary},
        [
            {1, "Mary", 300.5},
            {2, "John", 200.5},
            {3, "Jim", 330.5}
        ]
    };
    test:assertEquals(tbEmployee, tbEmployee2);

Output:
            Assertion Failed!: expected 'id=1 name=Mary salary=300.5 id=2 name=John salary=200.5 id=3 name=Jim salary=330.5' but found 'id=1 name=Mary salary=300.5 id=2 name=John salary=200.5 id=3 name=Jim salary=330.5'
                at ballerina.test:createBallerinaError(assert.bal:41)
                ballerina.test:assertEquals(assert.bal:82)
                dilhashanazeer.test_comparison.tests.main_test:testFunction(tests/main_test.bal:40)

Steps to reproduce:
Affected Versions:
Ballerina 1.2.6
OS, DB, other environment details and versions:
Related Issues (optional):

Suggested Labels (optional):

Suggested Assignees (optional):

Equality operator '==' not yet supported for type 'table', so the 'assertEquals' function checks for exact equality using '==='.
So, the above behaviour is expected until equality operator is supported for table data type.
Hence, closing.


deno-fresh-demo not working

Deno 1.32.3
deno run -A -r https://fresh.deno.dev deno-fresh-demo
cd deno-fresh-demo
deno task start

An error occurred during route handling or page rendering. Error: Build failed with 1 error:
error: Module not downloaded yet.
    at failureErrorWithLog (https://deno.land/x/esbuild@v0.14.51/mod.js:1601:15)
    at https://deno.land/x/esbuild@v0.14.51/mod.js:1243:28
    at runOnEndCallbacks (https://deno.land/x/esbuild@v0.14.51/mod.js:1023:63)
    at buildResponseToResult (https://deno.land/x/esbuild@v0.14.51/mod.js:1241:7)
    at https://deno.land/x/esbuild@v0.14.51/mod.js:1354:14
    at https://deno.land/x/esbuild@v0.14.51/mod.js:655:9
    at handleIncomingPacket (https://deno.land/x/esbuild@v0.14.51/mod.js:752:9)
    at readFromStdout (https://deno.land/x/esbuild@v0.14.51/mod.js:621:7)
    at https://deno.land/x/esbuild@v0.14.51/mod.js:1880:11

Same problem
Watcher Process started.
The manifest has been generated for 3 routes and 1 islands.
Listening on http://localhost:8000/
✘ [ERROR] [plugin deno] Module not downloaded yet.

An error occurred during route handling or page rendering. Error: Build failed with 1 error:
error: Module not downloaded yet.
    at failureErrorWithLog (https://deno.land/x/esbuild@v0.14.51/mod.js:1601:15)
    at https://deno.land/x/esbuild@v0.14.51/mod.js:1243:28
    at runOnEndCallbacks (https://deno.land/x/esbuild@v0.14.51/mod.js:1023:63)
    at buildResponseToResult (https://deno.land/x/esbuild@v0.14.51/mod.js:1241:7)
    at https://deno.land/x/esbuild@v0.14.51/mod.js:1354:14
    at https://deno.land/x/esbuild@v0.14.51/mod.js:655:9
    at handleIncomingPacket (https://deno.land/x/esbuild@v0.14.51/mod.js:752:9)
    at readFromStdout (https://deno.land/x/esbuild@v0.14.51/mod.js:621:7)
    at https://deno.land/x/esbuild@v0.14.51/mod.js:1880:11```

I tried to run the same example and it returned the same thing

it still happens with the downgrade
~ $ deno --version

deno 1.32.2 (release, x86_64-unknown-linux-gnu)
v8 <IP_ADDRESS>
typescript 5.0.3

~ $ deno task start

Task start deno run -A --watch=static/,routes/ dev.ts
Watcher Process started.
The manifest has been generated for 3 routes and 1 islands.
Listening on http://localhost:8000/
✘ [ERROR] [plugin deno] Module not downloaded yet.

An error occurred during route handling or page rendering. Error: Build failed with 1 error:
error: Module not downloaded yet.
    at failureErrorWithLog (https://deno.land/x/esbuild@v0.14.51/mod.js:1601:15)
    at https://deno.land/x/esbuild@v0.14.51/mod.js:1243:28
    at runOnEndCallbacks (https://deno.land/x/esbuild@v0.14.51/mod.js:1023:63)
    at buildResponseToResult (https://deno.land/x/esbuild@v0.14.51/mod.js:1241:7)
    at https://deno.land/x/esbuild@v0.14.51/mod.js:1354:14
    at https://deno.land/x/esbuild@v0.14.51/mod.js:655:9
    at handleIncomingPacket (https://deno.land/x/esbuild@v0.14.51/mod.js:752:9)
    at readFromStdout (https://deno.land/x/esbuild@v0.14.51/mod.js:621:7)
    at https://deno.land/x/esbuild@v0.14.51/mod.js:1880:11

@JonatanAlcaraz maybe try downgrading to 1.32.1?
I'm using 1.32.2 with no issues - Windows 11, WSL2, Ubuntu.

Getting this error on MacOS 10.15 using Deno 1.32.3.
Output of deno --version
deno 1.32.3 (release, x86_64-apple-darwin)
v8 <IP_ADDRESS>
typescript 5.0.3

Tried to downgrade via deno upgrade --version 1.32.2, and got the same error.
Downgraded to 1.32.1 via deno upgrade --version 1.32.1 and the issue is resolved.
New output of deno --version
deno --version
deno 1.32.1 (release, x86_64-apple-darwin)
v8 <IP_ADDRESS>
typescript 5.0.2

Also worth noting, once downgraded to Deno 1.32.1, you can upgrade again to 1.32.3 and it still works. @JonatanAlcaraz , @kellenproctor
Some dep must get downloaded in Deno 1.32.1 that is a safe fallback version, so future Deno versions work after it is installed.
For future readers - workaround below:
deno upgrade --version 1.32.1

then
deno upgrade

Just as an fyi, I had to do a
deno upgrade --version 1.32.1
then
deno task start in the my project directory
then
deno upgrade

I had to uninstall the deno tool from my os package manager and install using the official curl bashing instructions so I could easily downgrade. Probably worth noting that on the official docs somewhere since minor point releases can still break things at this stage.

Does this still happen with latest deno?

I get this error with the latest version 1.39.1 with a different repo

@ooker777 That's great that you are on the latest Deno version. Have you also updated Fresh to 1.6.1? I recall having fixed that issue a while ago by upgrading esbuild. Looking at the trace in the linked issue it seems like you're on an older version of Fresh. Can you try upgrading to 1.6.1?

It works now thanks.
Updating Fresh | Fresh docs


Set specific csharp language version to use

By default code generator use 11.0. Can I specify specific version to use?

Hello @iverbitskiy Do you want to set the c# language used for codegen project?
I think you can set the  <LangVersion>***</LangVersion> in project file or Directory.Build.props which will apply for all projects in the solution.

Hello @iverbitskiy Do you want to set the c# language used for codegen project? I think you can set the <LangVersion>***</LangVersion> in project file which will set language version for this project or Directory.Build.props which will apply for all projects in the solution.

Same request here.
The new version of Microsoft.Azure.AutoRest.CSharp will generate code like this, which is a syntax of C# 11. That breaks our build because we have mixed .NET Core and .NET Framework projects, we can't set the whole language version to C# 11.


Drought map build trigger

We recently implemented a new GitHub Action to automate generation of our weekly drought map. The new drought map workflow is working, but its generated changes are not getting pushed to the live site. Where we expected completion of the drought map workflow to trigger the Eleventy Build Main workflow on push, it did not. The reasons for this are described by GitHub here.
This PR represents one solution to this problem. Here, we add a trigger to Eleventy Build Main to run whenever the drought map workflow completes.

Another option might involve creating a new GitHub Personal Access Token (PAT) with specific security scopes to allow triggering the build workflow from the drought map workflow. As described in the above-linked GitHub docs, these permissions are not included in the default GITHUB_TOKEN. Then we could implement the special PAT into the checkout step on the drought map workflow. In other words, with this option, we'd be editing the Generate Drought Map action instead of the Eleventy Build Main action.


[BLIP2]  How to perform stage 1 Vision-Language Representation bootstraping

I think that stage 1 learning, that means visual-language representation learning with those three objectives mentioned in the article is not yet implemented. Am I right?
Not implemented load_pretrained: False in pretrain_stage1.yaml, is only part of the problem.  LLM is connected so it's rather Generative Learning from stage 2. Is there currently any way to properly perform stage 1 Vision-Language Representation bootstraping?

You could run BLIP-2 stage 1 pre-training now with bash run_scripts/blip2/train/pretrain_stage1.sh.
Thank you.


fix(rpc): starknet_getClass block not found

with starknet_getClass if you try to call a blockNumber that is not found it will either return the class if it exists or classNotFound but it should return blockNotFound StarknetError

also check program and sierra program comparaison trought ditto

first prob solved here: https://github.com/KasarLabs/deoxys/pull/165


Missing release for v3.12.3

Describe the bug
Heya there 👋!
I was looking at the releases, and it seems like there is a mismatch: both on the Microsoft Marketplace and in package.json it is stated that the current version of the extension is 3.12.3, but the latest release is only available for https://github.com/microsoft/vscode-gradle/releases/tag/3.12.2.
cc @CsCherrYY

Added in https://github.com/microsoft/vscode-gradle/releases/tag/3.12.3. Thanks for reminding!


Set formatCode for chart datalabels

i am ideally looking to convert a 0.4 to 40% on a chart.  i guess instead i could have a separate template slide for percent
Originally posted by @jrking4 in https://github.com/singerla/pptx-automizer/issues/96#issuecomment-2012982700

For some of my projects, I even need the ability to set formatCode for a single data label of a chart. It would be great to have a modifier for this.
I could also imagine to extend ChartValueStyle type to have a basic implementation.

Thank you so much again for your contribution! I'm currently out of office and come back to this on 9.4.


Propose Version 0

Currently, the event data is sent successfully to an S3 bucket. While this information is retrieval, this can only be done via downloading it. This is not what I would want to expect.
This does serve as a proof of concept that data is able to be sent from source to destination. Further setup is needed for improved data organization.
Remember that the Kinesis -> S3 bucket is not the only option for starting a collection service on AWS. There are other options that might be better suited to solve this disorganization/inconvenience problem described above.
It may take a day for one team member to implement another AWS service, using the same process of adding a module to the codebase. Whoever reaches a solution for this and shows that it is easily retrievable by either a GET request from the API or just by it being visible on AWS in a better format, that should have strong consideration for having a version 0.0.1.

The client receives and sends data to a dynamodb instance on aws. Free tier for data under 25Gigs. Suggest that client backup data daily to offline storage or something else to avoid charges.

The front-end web application shows system status based off of the dynamodb metric data being streamed from the tables, as well as resource consumption metric data.


Switch from ghooks to husky

https://www.npmjs.com/package/husky

How is it better than ghooks?

By the way, I just found fastlint; https://github.com/mixu/fastlint that will only lint changed files, to speed up the process.

Kent Dodds recommended it on the latest episode of javascript air, I like that it looks at existing npm scripts as opposed to requiring a special ghooks config in package.json