2 分•作者: alcazar•9 天前
返回首页
最新
86 分•作者: gyan•9 天前
10 分•作者: ivanbelenky•9 天前
13 分•作者: voctor•9 天前
4 分•作者: adammiribyan•9 天前
1 分•作者: Mike-io•9 天前
1 分•作者: mengram-ai•9 天前
1 分•作者: dirk94018•9 天前
2 分•作者: Abberac•9 天前
1 分•作者: wespiser_2018•9 天前
1 分•作者: ogogmad•9 天前
1 分•作者: javatuts•9 天前
1 分•作者: mrbluecoat•9 天前
1 分•作者: MicheleLacorte•9 天前
1 分•作者: tanelpoder•9 天前
14 分•作者: adammiribyan•9 天前
我想看看,如果我不需要启动一个全新的虚拟机,一个隔离的代码沙盒能以多快的速度启动。<p>因此,我没有为每次执行都启动一个新的微型虚拟机,而是用已经加载了 Python 和 numpy 的方式启动一次 Firecracker,然后对整个虚拟机状态进行快照。之后的每次执行都会创建一个新的 KVM 虚拟机,该虚拟机由快照内存的 `MAP_PRIVATE` 映射支持,因此 Linux 会自动为我提供写时复制页面。<p>这意味着每个沙盒都从一个已经在真实虚拟机中运行的 Python 进程开始,运行代码,然后退出。<p>这些是真正的 KVM 虚拟机,而不是容器:独立的客户内核、独立的客户内存、独立的页表。当虚拟机写入内存时,它会获得该页面的私有副本。<p>困难的部分不是 CoW 本身。困难的部分是如何正确地恢复快照虚拟机。<p>Rust,Apache 2.0 协议。
1 分•作者: gneray•9 天前
I have tons of videos of my family and kids. I would like to be able to use AI to trim them. My 6 y/o son asked me to add effects to a video of him doing parkour, and I so badly wanted to try.<p>But all of the main LLM providers I tried denied my request because it was against their policy. I managed to get Runway to do a light video edit but it was limited to 8 seconds total :(<p>I completely get where these policies comes from, but I'm also wondering if there's something out there for people like me. I would love the ability to upload a video, give it a prompt for what to change, and voila -- has anyone found anything useful here?
1 分•作者: megacorp•9 天前
1 分•作者: speckx•9 天前
1 分•作者: ibobev•9 天前