<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Passion is like genius; a miracle.</title>
	<atom:link href="http://mkseo.pe.kr/blog/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://mkseo.pe.kr/blog</link>
	<description>Blog on Software, Statistics, and Quant</description>
	<lastBuildDate>Thu, 01 May 2025 02:38:58 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.8.1</generator>
<site xmlns="com-wordpress:feed-additions:1">216432333</site>	<item>
		<title>Using local llm (lmstudio) on cursor</title>
		<link>http://mkseo.pe.kr/blog/?p=5115</link>
					<comments>http://mkseo.pe.kr/blog/?p=5115#respond</comments>
		
		<dc:creator><![CDATA[Minkoo Seo]]></dc:creator>
		<pubDate>Thu, 01 May 2025 02:38:58 +0000</pubDate>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[llm]]></category>
		<category><![CDATA[software]]></category>
		<guid isPermaLink="false">https://mkseo.pe.kr/blog/?p=5115</guid>

					<description><![CDATA[If you&#8217;re looking for a way to use local llm for cursor, see this comment as it has all the essence. If I replicate the contents, but for lm studio, the steps are as below. First, add a model name. I added &#8216;lm-studio&#8217;. In lm studio, load a model of your choice, and go to [&#8230;]]]></description>
		
					<wfw:commentRss>http://mkseo.pe.kr/blog/?feed=rss2&#038;p=5115</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">5115</post-id>	</item>
		<item>
		<title>Solution for webui: cannot convert a mps tensor to float64 dtype as the mps framework doesn&#8217;t support float64&#8243;</title>
		<link>http://mkseo.pe.kr/blog/?p=5106</link>
					<comments>http://mkseo.pe.kr/blog/?p=5106#respond</comments>
		
		<dc:creator><![CDATA[Minkoo Seo]]></dc:creator>
		<pubDate>Sun, 06 Apr 2025 12:39:49 +0000</pubDate>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[stable_diffusion]]></category>
		<guid isPermaLink="false">https://mkseo.pe.kr/blog/?p=5106</guid>

					<description><![CDATA[Some people suggest to use CPU but it didn&#8217;t work for me, but one I found from a reddit post did, so I&#8217;m echoing the solution here. Open &#8220;modules/sd_disable_initialization.py&#8221;. At line 191, modify code as below. On the left is previous and on the right is after the fix, i.e., change &#8220;type=dtype&#8221; to &#8220;type=torch.float32&#8221;. That&#8217;s [&#8230;]]]></description>
		
					<wfw:commentRss>http://mkseo.pe.kr/blog/?feed=rss2&#038;p=5106</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">5106</post-id>	</item>
		<item>
		<title>Early stopping and timeout in optuna</title>
		<link>http://mkseo.pe.kr/blog/?p=5090</link>
					<comments>http://mkseo.pe.kr/blog/?p=5090#respond</comments>
		
		<dc:creator><![CDATA[Minkoo Seo]]></dc:creator>
		<pubDate>Sat, 15 Feb 2025 06:11:05 +0000</pubDate>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[deep learning]]></category>
		<category><![CDATA[machine learning]]></category>
		<guid isPermaLink="false">https://mkseo.pe.kr/blog/?p=5090</guid>

					<description><![CDATA[I have previously explained how to run optuna in parallel. Here, I&#8217;d like to explain how one can apply timeout and early stopping. First thing to understand is the use of Manager. It&#8217;s required to safely passing around variables in multiprocessing context. In the code below, success, pruneded, failure counters are passed so that multiprocessing [&#8230;]]]></description>
		
					<wfw:commentRss>http://mkseo.pe.kr/blog/?feed=rss2&#038;p=5090</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">5090</post-id>	</item>
		<item>
		<title>Using list of tuples or list of list in optuna</title>
		<link>http://mkseo.pe.kr/blog/?p=5086</link>
					<comments>http://mkseo.pe.kr/blog/?p=5086#respond</comments>
		
		<dc:creator><![CDATA[Minkoo Seo]]></dc:creator>
		<pubDate>Fri, 07 Feb 2025 13:54:26 +0000</pubDate>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[deep learning]]></category>
		<category><![CDATA[machine learning]]></category>
		<guid isPermaLink="false">https://mkseo.pe.kr/blog/?p=5086</guid>

					<description><![CDATA[Optuna, hyper paramerter tuning library, doesn&#8217;t allow non primitive (str, int, float, None) type of values in categorical proposal. See Support tuples for Categorical values #4893. The post there has a workaround, and here I&#8217;d like to write down a bit more generic approach. The idea is feeding string values of tuples, i.e., [&#8216;(1, 2, [&#8230;]]]></description>
		
					<wfw:commentRss>http://mkseo.pe.kr/blog/?feed=rss2&#038;p=5086</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">5086</post-id>	</item>
		<item>
		<title>Shutting down multi processing in python</title>
		<link>http://mkseo.pe.kr/blog/?p=5077</link>
					<comments>http://mkseo.pe.kr/blog/?p=5077#respond</comments>
		
		<dc:creator><![CDATA[Minkoo Seo]]></dc:creator>
		<pubDate>Thu, 05 Dec 2024 10:49:23 +0000</pubDate>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[software]]></category>
		<guid isPermaLink="false">https://mkseo.pe.kr/blog/?p=5077</guid>

					<description><![CDATA[When you want to shutdown multiprocessor pool, I find this way the best. I tried cancel_futures, and so on, but they all suffers some weird behaviors due to processes terminated forcefully. Instead, we let all workers finish gracefully First, define a stop latch: When submitting task, pass it: In your busy worker function, check the [&#8230;]]]></description>
		
					<wfw:commentRss>http://mkseo.pe.kr/blog/?feed=rss2&#038;p=5077</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">5077</post-id>	</item>
		<item>
		<title>Recommended config_dict for pydantic.BaseModel</title>
		<link>http://mkseo.pe.kr/blog/?p=5074</link>
					<comments>http://mkseo.pe.kr/blog/?p=5074#respond</comments>
		
		<dc:creator><![CDATA[Minkoo Seo]]></dc:creator>
		<pubDate>Wed, 16 Oct 2024 10:24:27 +0000</pubDate>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[software]]></category>
		<guid isPermaLink="false">https://mkseo.pe.kr/blog/?p=5074</guid>

					<description><![CDATA[It&#8217;s difficult to understand why the below is not the default of the pydantic.BaseModel since they look so basic, but anyhow, these are ones I found and keep using. extra=&#8221;forbid&#8221; prevents following from passing. protected_namespace=(&#8220;protected_&#8221;, ) makes it possible to use field name that starts with model_. Without it, model_name field causes a trouble.]]></description>
		
					<wfw:commentRss>http://mkseo.pe.kr/blog/?feed=rss2&#038;p=5074</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">5074</post-id>	</item>
		<item>
		<title>Finding all subclasses dynamically in python</title>
		<link>http://mkseo.pe.kr/blog/?p=5068</link>
					<comments>http://mkseo.pe.kr/blog/?p=5068#respond</comments>
		
		<dc:creator><![CDATA[Minkoo Seo]]></dc:creator>
		<pubDate>Tue, 08 Oct 2024 09:26:30 +0000</pubDate>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[software]]></category>
		<guid isPermaLink="false">https://mkseo.pe.kr/blog/?p=5068</guid>

					<description><![CDATA[Python provide __subclass__ to find all subclasses but it doesn&#8217;t find a class if it&#8217;s not imported yet. One solution is dynamically import subclass. Assuming that &#8216;impl&#8217; subdirectory contains subclasses, this is how one can do that. It&#8217;s dump of my current code, but you&#8217;ll get the idea.]]></description>
		
					<wfw:commentRss>http://mkseo.pe.kr/blog/?feed=rss2&#038;p=5068</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">5068</post-id>	</item>
		<item>
		<title>화면 캡쳐후 chatgpt에 질문 자동 실행 루틴</title>
		<link>http://mkseo.pe.kr/blog/?p=5062</link>
					<comments>http://mkseo.pe.kr/blog/?p=5062#respond</comments>
		
		<dc:creator><![CDATA[Minkoo Seo]]></dc:creator>
		<pubDate>Wed, 25 Sep 2024 02:06:33 +0000</pubDate>
				<category><![CDATA[Uncategorized]]></category>
		<guid isPermaLink="false">https://mkseo.pe.kr/blog/?p=5062</guid>

					<description><![CDATA[갤럭시 루틴입니다. 터치 매크로는 chatgpt 앱을 선택하고 녹화하면 되고 터치 시작 전에 delay를 1200ms 정도로 줍니다. 루틴을 빅스비 단축어에 연결합니다. 결과는 이렇습니다.]]></description>
		
					<wfw:commentRss>http://mkseo.pe.kr/blog/?feed=rss2&#038;p=5062</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		<enclosure url="https://mkseo.pe.kr/blog/../archives/1000023327.mp4" length="6286088" type="video/mp4" />

		<post-id xmlns="com-wordpress:feed-additions:1">5062</post-id>	</item>
		<item>
		<title>plotly and drawing multiple lines in a single figure</title>
		<link>http://mkseo.pe.kr/blog/?p=5043</link>
					<comments>http://mkseo.pe.kr/blog/?p=5043#respond</comments>
		
		<dc:creator><![CDATA[Minkoo Seo]]></dc:creator>
		<pubDate>Wed, 04 Sep 2024 17:09:33 +0000</pubDate>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[machine learning]]></category>
		<category><![CDATA[software]]></category>
		<guid isPermaLink="false">https://mkseo.pe.kr/blog/?p=5043</guid>

					<description><![CDATA[I started using plotly. It renders a nice looking chart by default and interactive. With some efforts, one can return json in the server to render it via js. Another benefit is that charts can be merged. It&#8217;s very useful in rendering two different lines, e.g., trainig data + test data in a single chart. [&#8230;]]]></description>
		
					<wfw:commentRss>http://mkseo.pe.kr/blog/?feed=rss2&#038;p=5043</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">5043</post-id>	</item>
		<item>
		<title>Interactive plotly charts on jinja2 + flask</title>
		<link>http://mkseo.pe.kr/blog/?p=5032</link>
					<comments>http://mkseo.pe.kr/blog/?p=5032#comments</comments>
		
		<dc:creator><![CDATA[Minkoo Seo]]></dc:creator>
		<pubDate>Sat, 17 Aug 2024 05:40:53 +0000</pubDate>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[web]]></category>
		<guid isPermaLink="false">https://mkseo.pe.kr/blog/?p=5032</guid>

					<description><![CDATA[It&#8217;s difficult to find explanation on how we can render plotly chart on flask + jinja, so I&#8217;m sharing my code snippets. First, in python, given a figure, turn that into json response of flask. The chart data will be served via /get_chart/&#60;chart_name> Prepare js code that can render the given json. Following code inserts [&#8230;]]]></description>
		
					<wfw:commentRss>http://mkseo.pe.kr/blog/?feed=rss2&#038;p=5032</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">5032</post-id>	</item>
	</channel>
</rss>
