Comments (7)
That's a lot of points 😅
from adaptive-scheduler.
Must be some string concat? Or unlucky unsigned integer?
from adaptive-scheduler.
Here's more :D
It is "78651020278296845758863217029700770326221603779977640765871788973614310400613279426033698870017979734910185675666927119788269706313682564536717660171807007783766186738624689387730793896417908717971868125777164901018876449284104385721655477357951619758806534705063716382740761857326818795477710649162477972728878141012567695641720763976908934176827793691378315926775972541014165657039591866446700102316918625710167777987787170627277498535682889137518725159511022977126462684168709541600171536460694072827105664271997527701084397469714366816621101496787594676818639728383897215750870595409804173438202703972341029173468941792868628648688784257510755070047964669010433940059149056998482568155740476807612823510960908698497798868891666935993778087847992079219397719210482789877427927773186587595830365679396930081887596949581557806939311807833186568172670177081191584838218117769093875673831109592578120812697098679754710079810581741052573117808952081781178887341198080987955699511128753699848017848768058000113199533904490878753118988065120678637855772947276785974599266821411036119161129977151071910476461023311739809684648845853382818826712881828399784476448631744191098024832280107890101779095751373998030727170267777811011067814682057630881011721822512052889991377789828411988922388286747882082046675741071987643100369640846811086657076298335700895757364734782001072982817437633176967060859271798951865359442289110411111079271050875317149696010324790068647476629595947039794096411087773377774102968343978882578530622681628304111397306811575631108672731085175768847768777007221776610914843184237468763284717576737683307176750166199255795472638636726372346194735661797485833284237647963563568371731871109698738010173836183497385783273488349755175137945711370436354758979717597691683767348747084647117745483358350741679387151101339585834181587391840584028122930279406258743387447582820952467618911781387946866467629004832072227365872483758374836074308049" :)
from adaptive-scheduler.
Finally ran into this, too. The underlying issue is that the npoints
value is quoted in the log files. It's hence parsed as a string, triggering string concatenation upon summing. Here is an example line from a log file:
{"event": "current status", "elapsed_time": "1:17:04.244039", "overhead": 4.308440128469426, "npoints": "112", "npoints/s": 0.02422145328719723, [...]}
Digging further, I think the root cause is that our custom learner class implicitly returns np.int64
numbers from its npoints
property. While a direct json.dumps
would immediately raise a TypeError for int64, structlog appears to "helpfully" mangle it into a string.
We'll fix the return type on our side of course, but it might also be a good idea to make the code here more robust - either by explicitly casting to int
in _get_log_entry
or by raising an error in parse_log_files
when encountering a non-numeric type?
from adaptive-scheduler.
What a dig, thanks! Do you think the date issue has the same origin?
from adaptive-scheduler.
What a dig, thanks! Do you think the date issue has the same origin?
No, the datetime fields are already explicitly converted as far as I can see. Also I haven't personally encountered that issue. While for small negative start times I might conjecture a clock sync issue, a >1 day mismatch seems unlikely, so I really have no idea where that would come from.
from adaptive-scheduler.
I just opened #226
from adaptive-scheduler.
Related Issues (20)
- add pathos backend
- Ideas 💡
- incompatible with python 3.8 HOT 2
- Add average node starting time to widget 💡 HOT 1
- Allow to only save only dataframes instead of both fnames and derived fnames
- save_dataframe does not write atomically
- Periodically call arbitrary callback HOT 4
- Flood of RuntimeErrors with latest adaptive-scheduler HOT 10
- Calls to scheduler are not asynchronous HOT 1
- log explorer looked in `old_logs/logs/logfile.out` instead of `old_logs/logfile.out`
- add helper functions to set SLURM options
- Unicode error on template writing HOT 1
- sorting is broken in the logging widget HOT 1
- forced --no-requeue HOT 1
- Early requeue of jobs HOT 1
- extra_script is missing in SLURM(BaseScheduler) HOT 6
- UnicodeDecodeError in _make_default_run_script HOT 1
- Add sequential 'strategy' for BalancingLearner
- Make show failed jobs the default in the log viewer
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from adaptive-scheduler.